b8ne / react-native-pusher-push-notifications

Manage pusher interest subscriptions and notification events in Javascript.
MIT License
96 stars 85 forks source link

[Android] App showing white blank screen when quit app with hardware back button #107

Open anniewey opened 1 year ago

anniewey commented 1 year ago

After launching app from tapping on push notification, app is showing white blank screen when quit app with hardware back button. The blank screen doesn’t have bottom tab, seem to be not related to navigation. I've tried to log react navigation stack but showing only 1 route in the stack. Seems to be native side issue.

I've also tried with all types of launchMode in AndroidManifest.xml but still getting same behaviour. When launch app normally, this issue doesn't happen.

Update: Suspect it's due to additional OpenNotificationActivity attached before MainActivity after checking out logcat. But still not sure how to disable/bypass the notification activity from push-notifications-android @b8ne can u help on this? i cant get it to work, even tried force close with RNExitApp