diff --git a/README.md b/README.md index f97fe2a6e5802dd8e4e0a4517b16f24469c760fa..857ec061939ee735afbf9efcaddde4a902d1c015 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