React-native-navigation: White Blank screen when app opened from notification center

Created on 24 Jan 2018  ·  8Comments  ·  Source: wix/react-native-navigation

Issue Description

On android platform if the app is in background and opened from the notification center app gets stuck on a white blank screen

Steps to Reproduce / Code Snippets / Screenshots

Navigation.isAppLaunched()
  .then(appLaunched => {
    if (appLaunched) {
      startApp();
    }
    new NativeEventsReceiver().appLaunched(startApp);
  });

Environment

  • React Native Navigation version: 1.1.222
  • React Native version: 0.48.2
  • Platform(s) (iOS, Android, or both?): Android
  • Device info (Simulator/Device? OS version? Debug/Release?): Both simulator & Device and Debug & Release modes
🏚 stale

Most helpful comment

the issue is that app gets stuck there or crash when opened from Notification Center. I'm using react-native-push-notification for the push notifications

All 8 comments

Try placing this in main activity:

    @Override
    public View createSplashLayout() {
        View view = new View(this);
        view.setBackgroundColor(Color.TRANSPARENT);
        return view;
    }

the issue is that app gets stuck there or crash when opened from Notification Center. I'm using react-native-push-notification for the push notifications

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
If you believe the issue is still relevant, please test on the latest version and report back. Thank you for your contributions.

The issue has been closed for inactivity.

+1

@MounirDhahri why do you breath?

@Mubashirkhan did you manage to resolve your issue?

+1

Was this page helpful?
0 / 5 - 0 ratings

Related issues

bdrobinson picture bdrobinson  ·  3Comments

edcs picture edcs  ·  3Comments

no23reason picture no23reason  ·  3Comments

charlesluo2014 picture charlesluo2014  ·  3Comments

yedidyak picture yedidyak  ·  3Comments