Commit 84a36c0d authored by Libin Lu's avatar Libin Lu Committed by GitHub

Update README.md

parent 3d94f3b9
[![Join the chat at https://gitter.im/evollu/react-native-fcm](https://badges.gitter.im/evollu/react-native-fcm.svg)](https://gitter.im/evollu/react-native-fcm?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) [![Join the chat at https://gitter.im/evollu/react-native-fcm](https://badges.gitter.im/evollu/react-native-fcm.svg)](https://gitter.im/evollu/react-native-fcm?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
## NOTE: If you are running RN < 0.30.0, you need to use react-native-fcm@1.0.15
## Installation ## Installation
- Run `npm install react-native-fcm --save` - Run `npm install react-native-fcm --save`
- Run `react-native link react-native-fcm` (RN 0.29.1+, otherwise `rnpm link react-native-fcm`) - Run `react-native link react-native-fcm` (RN 0.29.1+, otherwise `rnpm link react-native-fcm`)
- NOTE: If you are running RN < 0.30.0, you need to use react-native-fcm@1.0.15
## Android Configuration ## Android Configuration
- Edit `android/build.gradle`: - Edit `android/build.gradle`:
...@@ -75,7 +75,7 @@ Notes: ...@@ -75,7 +75,7 @@ Notes:
If you are using RN<0.30.0 and react-native-fcm < 1.0.16, pass intent into package, edit `MainActivity.java`: If you are using RN<0.30.0 and react-native-fcm < 1.0.16, pass intent into package, edit `MainActivity.java`:
- RN 0.28+: - RN 0.28:
```diff ```diff
import com.facebook.react.ReactActivity; import com.facebook.react.ReactActivity;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment