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