Skip to content

Commit

Permalink
update fix demo bug
Browse files Browse the repository at this point in the history
  • Loading branch information
huangminlinux committed Oct 17, 2016
1 parent 3ba1707 commit aad9844
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions example/index.ios.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion example/ios-demo/PushDemo/AppDelegate.m
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit aad9844

Please sign in to comment.