Skip to content

Commit 60e3799

Browse files
Merge pull request #437 from jpush/dev
fix ios demo
2 parents 111b602 + 019fc80 commit 60e3799

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

example/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { AppRegistry } from 'react-native'
22
import { StackNavigator } from 'react-navigation'
3-
import Second from './Second'
3+
import Second from './second'
44
import App from './App'
55

66
const PushDemo = StackNavigator({

example/ios/PushDemo/AppDelegate.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
3232

3333
jsCodeLocation = [NSURL URLWithString:@"http://192.168.10.155:8081/index.bundle?platform=ios&dev=true"];
3434
RCTRootView *rootView = [[RCTRootView alloc] initWithBundleURL:jsCodeLocation
35-
moduleName:@"PushDemoApp"
35+
moduleName:@"PushDemo"
3636
initialProperties:nil
3737
launchOptions:launchOptions];
3838
rootView.backgroundColor = [[UIColor alloc] initWithRed:1.0f green:1.0f blue:1.0f alpha:1];

0 commit comments

Comments
 (0)