I was trying to add push notification on react-native app, so I used react-native-push-notification. The library configuration went well, but when receiving notification the APP crashes immediately saying "FirebaseApp is not initialized".
Crash report AndroidRuntime: java.lang.IllegalStateException: Default FirebaseApp is not initialized in this com.myapp. Make sure to call FirebaseApp.initializeApp(Context) first.
How do I initialize the FirebaseApp or fix this problem? Any help will be greatly appreciated.
For more information there is an opened Github issue https://github.com/zo0r/react-native-push-notification/issues/852