diff --git a/README.md b/README.md index bab458bcb3a49c63b66392b05c79312994f0b04a..8ed4ae7b5540c5010cefbcb5f74cc30658ab3745 100644 --- a/README.md +++ b/README.md @@ -96,6 +96,30 @@ If you are using RN < 0.30.0 and react-native-fcm < 1.0.16, pass intent into pac + } ``` +You will also need to add these to the list of packages in `MainApplication.java` + +Edit `MainApplication.java` + +```diff +import android.app.application +... ++import com.evollu.react.fcm.FIRMessagingPackage; +``` +.... +```diff + @Override + protected List getPackages() { + return Arrays.asList( + new MainReactPackage(), + new VectorIconsPackage(), ++ new FIRMessagingPackage(), + new RNDeviceInfo(), + ); + } + ``` + + + - RN <= 0.27: ```diff