From aad9844d9b1da7f9e025736f98bb54b1cc7cc61b Mon Sep 17 00:00:00 2001 From: HuangMin Date: Mon, 17 Oct 2016 17:39:08 +0800 Subject: [PATCH] update fix demo bug --- example/index.ios.js | 6 +++--- example/ios-demo/PushDemo/AppDelegate.m | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/example/index.ios.js b/example/index.ios.js index c70118ce..8bdc7f46 100644 --- a/example/index.ios.js +++ b/example/index.ios.js @@ -4,9 +4,9 @@ import React from 'react'; import ReactNative from 'react-native'; -var PushActivity = require('./react-native-ios/push_activity.js'); -var SetActivity = require('./react-native-ios/set_activity'); -var LocalPushActivity = require('./react-native-ios/localPush_activity'); +var PushActivity = require('./react-native-iOS/push_activity.js'); +var SetActivity = require('./react-native-iOS/set_activity'); +var LocalPushActivity = require('./react-native-iOS/localPush_activity'); var { Text, diff --git a/example/ios-demo/PushDemo/AppDelegate.m b/example/ios-demo/PushDemo/AppDelegate.m index 4cab58f4..79b387c6 100644 --- a/example/ios-demo/PushDemo/AppDelegate.m +++ b/example/ios-demo/PushDemo/AppDelegate.m @@ -44,7 +44,7 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:( NSURL *jsCodeLocation; // jsCodeLocation = [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index.ios" fallbackResource:nil]; - jsCodeLocation = [NSURL URLWithString:@"http://192.168.9.212:8081/index.ios.bundle?platform=ios&dev=true"]; + jsCodeLocation = [NSURL URLWithString:@"http://192.168.100.102:8081/index.ios.bundle?platform=ios&dev=true"]; RCTRootView *rootView = [[RCTRootView alloc] initWithBundleURL:jsCodeLocation moduleName:@"PushDemo" initialProperties:nil