-
Notifications
You must be signed in to change notification settings - Fork 24.4k
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
android cannot load latest bundle from url with RN 0.57.3 #21811
Comments
Same issue, In Android, it cannot load js bundle from Dev reload button with RN 0.56+, but it works perfectly well with RN 0.55. |
@haipengz I tried to "react-native init Demo", android can load js bundle. Demo project is "react": "16.6.0-alpha.8af6728" and "react-native": "0.57.3", it works perfect! Now i confuse about the broblem very much. Maybe not related to the RN version. |
Maybe this issue #18962 can help you. specifically : this comment |
@jonatslab it already has "babel-preset-react-native": "4.0.0". |
Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may also label this issue as "For Discussion" or "Good first issue" and I will leave it open. Thank you for your contributions. |
it seems has been fixed, although i don't know why.@Stale |
I am glad your issue is resolved @sunny635533. Reproducing brownfield setups (integration into native apps) isn't something we can easily make. |
Environment
React Native Environment Info:
System:
OS: macOS High Sierra 10.13.3
Binaries:
Node: 10.4.1 - /usr/local/bin/node
Yarn: 1.7.0 - /usr/local/bin/yarn
npm: 6.4.1 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
IDEs:
Android Studio: 3.2 AI-181.5540.7.32.5014246
Xcode: 9.4.1/9F2000 - /usr/bin/xcodebuild
npmPackages:
react: 16.6.0-alpha.8af6728
react-native: 0.57.3
Description
i have a native app need to intergrate RN in it. I update RN version to 0.57.3, i cannot load bundle from url when i press Dev's reload button. It didnt load any view. Like this:
Wait a long time, it still didnt show anything.But it can load latest bundle when press R in IOS , only android didnt. I tried to set my host ip in Simulator ,also didnt work.
In android, i see some log at logcat :
my package.json:
So I decided to reduce my RN's version to 0.55.4.
All is normal! Android can load bundle from Dev's reload button. I guess the problem only occurs in RN 0.57. I hope to know why I cannot load bundle in android. Please tell me.
The text was updated successfully, but these errors were encountered: