Content-Length: 251292 | pFad | http://github.com/facebook/react-native/issues/453

AD how to pack the app for production · Issue #453 · facebook/react-native · GitHub
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

how to pack the app for production #453

Closed
cmnstmntmn opened this issue Mar 29, 2015 · 5 comments
Closed

how to pack the app for production #453

cmnstmntmn opened this issue Mar 29, 2015 · 5 comments
Labels
Resolution: Locked This issue was locked by the bot.

Comments

@cmnstmntmn
Copy link

i'm new to mobile programming, and there's something i could not get,
how can i use the app, after i put it on my mobile?

everything works fine, untill i remove the usb cable from phone,
then i get the red screen

red_screen

@nav
Copy link

nav commented Mar 29, 2015

You will need to change the ip address in AppDelegate.m from localhost to your private ip.

Example:

From:
jsCodeLocation = [NSURL URLWithString:@"http://localhost:8081/index.ios.bundle"];

To:
jsCodeLocation = [NSURL URLWithString:@"http://192.168.1.10:8081/index.ios.bundle"];

@cmnstmntmn
Copy link
Author

@nav i know that, and it works, by changing the IP
but the problem i am facing with, occurs after i unplug the phone from computer

@glenjamin
Copy link

See #240.

If there's a way of doing this with a compile-time flag, that would be much neater.

@boopathi
Copy link
Contributor

@glenjamin , you can have a User Defined build setting in xcode, and use this flag to choose between http url or file location.

@frantic
Copy link
Contributor

frantic commented Mar 30, 2015

Closing in favor of #240

@frantic frantic closed this as completed Mar 30, 2015
@facebook facebook locked as resolved and limited conversation to collaborators May 29, 2018
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Jul 23, 2018
ayushjainrksh referenced this issue in MLH-Fellowship/react-native Jul 2, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests

6 participants








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/facebook/react-native/issues/453

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy