Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Blank screen on android before multitasking #2180

Closed
alexmbp opened this issue Nov 17, 2017 · 6 comments
Closed

Blank screen on android before multitasking #2180

alexmbp opened this issue Nov 17, 2017 · 6 comments

Comments

@alexmbp
Copy link

alexmbp commented Nov 17, 2017

Issue Description

I've followed the guide for android. My App is possible to build and navigation is working.
With one issue - on Android I see an app only after I go to multitasking and back.

Here is an video:
http://take.ms/8ODDUw


Environment

  • React Native Navigation version: 0.50.2
  • React Native version: 1.1.273
  • Platform(s) (iOS, Android, or both?): Android
  • Device info (Simulator/Device? OS version? Debug/Release?): Debug, Android 7
@Noitidart
Copy link

Noitidart commented Mar 21, 2018

Yes!! This is what was getting me. My gosh took days to figure this out!!! Everytime I set it up and got this blank screen then gave up on RNN v1. Then I come back weeks later try again same. This third time I really struggled with it. And this is what it was.

I am on Android 6.

I didn't know what "multitasking" meant, but I fond this solution like this:
When you see the blank screen on startup in android:

  1. hit the "square" button to show all open apps
  2. Then press on your app
  3. voila it renders

Here is screenshots of steps:

@alexmbp
Copy link
Author

alexmbp commented Mar 22, 2018

@Noitidart Yes! That's it! Honestly - I moved off from react-native-navigation for now and using react-navigation.
And yes - that was my issue and I was fixing it the same way. I just worry that it can be reproduced in production.

@ppozniak
Copy link
Contributor

ppozniak commented Apr 6, 2018

Oh, didn't know this gets "fixed" by entering open applications mode. I also get white screen if I exit and then relaunch application. Do you guys know if this happens only on emulator?

@Noitidart
Copy link

@ppozniak I didn't test on emulator. I only tested on device. But I only tested in dev mode. It probably doesnt happen in production mode, its probably due to the timing issue on Android dev mode similar to - facebook/react-native#14101 facebook/react-native#18372 facebook/react-native#12830

Android's debug mode is a mess: timeouts regularly desynchronize and scroll events are fired with some lag. On Android, you will experience issues when JS Dev Mode is enabled, and you might have trouble with unreliable callbacks and loop mode when it isn't.

@stale
Copy link

stale bot commented Jun 2, 2018

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.

@stale stale bot added the 🏚 stale label Jun 2, 2018
@stale
Copy link

stale bot commented Jun 9, 2018

The issue has been closed for inactivity.

@stale stale bot closed this as completed Jun 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants