Last active
May 15, 2017 01:22
-
-
Save hugomosh/6746892873dc22bcf8eb5a09376ba6c0 to your computer and use it in GitHub Desktop.
Different port for react native bundler
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
... | |
#ifdef DEBUG | |
jsCodeLocation = [NSURL URLWithString:@"http://localhost:9988/index.ios.bundle?platform=ios&dev=true"]; | |
#else | |
jsCodeLocation = [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index.ios" fallbackResource:nil]; | |
#endif | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment