Skip to content
This repository has been archived by the owner on Jun 26, 2020. It is now read-only.

[React Native][Android only] Standalone app doesn't work after 0.15.4 #476

Closed
jhen0409 opened this issue Jan 20, 2017 · 5 comments
Closed

Comments

@jhen0409
Copy link
Contributor

Use standalone app for React Native on Android, it still showing Connecting to React....

Just tracking for commits, I can confirm 0.15.3 works fine, it looks broken by 0.15.4 change. (Just one change: #415)

@jaredly
Copy link
Contributor

jaredly commented Jan 23, 2017

Thanks for tracking this down! It looks like the standalone app will connect fine if you're debugging js remotely, but not if the js is running in-app (at least that's what I see w/ the ios simulator). I'll investigate

@jaredly
Copy link
Contributor

jaredly commented Jan 23, 2017

Hmm so I'm seeing it working for me, both in android & iOS. If you reload the standalone app while the react-native app is running, does it start working for you @jhen0409?

@jhen0409
Copy link
Contributor Author

If you reload the standalone app while the react-native app is running, does it start working for you?

I tried again, looks like it only can be reproduce when I start app with debug remotely mode, otherwise it works fine:

screenshot

@jhen0409 jhen0409 changed the title [React Native][Android] Standalone app doesn't work after 0.15.4 [React Native][Android only] Standalone app doesn't work after 0.15.4 Feb 10, 2017
@jhen0409
Copy link
Contributor Author

I'm tracking for this, looks like the problem is related to requestIdleCallback, the callback never invoked in debugger worker, need to know why the worker has no idle time. :\

@jhen0409
Copy link
Contributor Author

There may be some potential problems in RN for Android, not here, sorry for wasted your time @jaredly. 😅

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants