You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yes I solved it but I don't remember what was it exactly. I attached relevant files so you can compare it with yours myapp.zip
. Let me know if this solve the problem for you.
PendingNotifications.getInitialNotification() works fine in dev mode (react-native run-android) but returns null if I install my project's apk (gradlew assembleRelease) and the app is in background/killed and I tap on a notification.
I use NotificationsAndroid.localNotification to create the notification which is triggered by a websocket call (I don't know if it matters).
I don't use Firebase.
There is also a splash screen created by this tutorial: https://medium.com/handlebar-labs/how-to-add-a-splash-screen-to-a-react-native-app-ios-and-android-30a3cec835ae.
I'm googling for many days but can't get it work.
I tried (with others) these answers:
invertase/react-native-firebase#1331
#326 (comment)
crazycodeboy/react-native-splash-screen#289 (comment)
react-native: 0.60.4
React.version: 16.8.6
MainActivity.java.txt
MainApplication.java.txt
SplashActivity.java.txt
AndroidManifest.xml.txt
Have somebody any idea?
Thank you
The text was updated successfully, but these errors were encountered: