mirror of
https://github.com/zhigang1992/react-native-code-push.git
synced 2026-06-11 08:04:23 +08:00
removed deployment key and serverurl from info.plist
This commit is contained in:
@@ -33,7 +33,7 @@
|
||||
* on the same Wi-Fi network.
|
||||
*/
|
||||
|
||||
jsCodeLocation = [NSURL URLWithString:@"http://localhost:8081/index.ios.bundle"];
|
||||
//jsCodeLocation = [NSURL URLWithString:@"http://localhost:8081/index.ios.bundle"];
|
||||
|
||||
/**
|
||||
* OPTION 2
|
||||
@@ -45,7 +45,7 @@
|
||||
* see http://facebook.github.io/react-native/docs/runningondevice.html
|
||||
*/
|
||||
|
||||
//jsCodeLocation = [HybridMobileDeploy getBundleUrl];
|
||||
jsCodeLocation = [HybridMobileDeploy getBundleUrl];
|
||||
|
||||
RCTRootView *rootView = [[RCTRootView alloc] initWithBundleURL:jsCodeLocation
|
||||
moduleName:@"HybridMobileDeployCompanion"
|
||||
|
||||
@@ -39,8 +39,8 @@
|
||||
<key>NSLocationWhenInUseUsageDescription</key>
|
||||
<string></string>
|
||||
<key>CodePushDeploymentKey</key>
|
||||
<string>b6883b8f-3e7b-4e48-98b1-ec509dc22aaa</string>
|
||||
<string>deployment-key-here</string>
|
||||
<key>CodePushServerUrl</key>
|
||||
<string>http://ryuyu-test.azurewebsites.net/</string>
|
||||
<string>server-url-here</string>
|
||||
</dict>
|
||||
</plist>
|
||||
|
||||
Reference in New Issue
Block a user