-
Notifications
You must be signed in to change notification settings - Fork 24.3k
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] Building from bundle #2703
Comments
I'm also interested in the location of the AppDelegate.m equivalent for Android. Thanks. |
MainActivity.java is the equivalent of the AppDelegate. |
@ngreenwood6 In |
Ok. I was looking for how to download the index.android.bundle over http from the android device. I'll wait 0.12 then! |
@sulliwane - oh, that works right now - see: https://facebook.github.io/react-native/docs/running-on-device-android.html#content |
@brentvatne AWSOME, thanks a lot. |
As a workaround you may have try the following:
|
In addition to @kmagiera's workaround, you may also want to pass in the query params to the packager for minifying / disabling dev: For the params available, see: https://github.com/facebook/react-native/blob/master/packager/README.md#pathtomodulenamemapbundle-query-params |
i got "index.android.bundle", and then what should i do to let it to be an apk file? |
You can drop that into |
Closing as this feature is already in the stable releases. |
How can i change localhost to my own server IP? please help!! Got ERROR
|
I have been working with react-native on iOS and found the bundling option in the
AppDelegate.m
file and it works great once you bundle it. However, I saw that Android was released today and I am not able to figure out how to do the same on Android. In iOS there is some code like this:Is there an equivalent way to do this in Android or am I missing something? I just want to bundle it on the device so I can use it without being near my computer.
The text was updated successfully, but these errors were encountered: