Skip to content

Commit 6b70629

Browse files
committed
updae package
1 parent 4dbf9dc commit 6b70629

File tree

3 files changed

+6
-15
lines changed

3 files changed

+6
-15
lines changed

example/index.ios.js

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@ import UpdateMyInfoPage from './app/routes/UpdateMyInfo/index.js';
1616
import GroupsPage from './app/routes/Groups/index.js';
1717
import FriendInfoPage from './app/routes/FriendInfo/index.js';
1818

19-
import CardStackStyleInterpolator from 'react-navigation/src/views/CardStackStyleInterpolator';
20-
2119
const ReactJChat = StackNavigator({
2220
Launch: { screen: LaunchPage },
2321
Home: {
@@ -54,11 +52,4 @@ const ReactJChat = StackNavigator({
5452
}
5553
});
5654

57-
// ,{
58-
// headerMode: 'screen',
59-
// transitionConfig:() => ({
60-
// screenInterpolator:CardStackStyleInterpolator.forInitial,
61-
// })
62-
// }
63-
6455
AppRegistry.registerComponent('ReactJChat', () => ReactJChat);

example/ios/JMessageDemo/AppDelegate.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
1818
{
1919
NSURL *jsCodeLocation;
2020

21-
// jsCodeLocation = [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index.ios" fallbackResource:nil];
22-
jsCodeLocation = [NSURL URLWithString:@"http://192.168.9.113:8081/index.ios.bundle?platform=ios&dev=true"];
21+
jsCodeLocation = [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index.ios" fallbackResource:nil];
22+
// jsCodeLocation = [NSURL URLWithString:@"http://192.168.9.113:8081/index.ios.bundle?platform=ios&dev=true"];
2323
RCTRootView *rootView = [[RCTRootView alloc] initWithBundleURL:jsCodeLocation
2424
moduleName:@"ReactJChat"
2525
initialProperties:nil

example/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55
"start": "node node_modules/react-native/local-cli/cli.js start"
66
},
77
"dependencies": {
8-
"aurora-imui-react-native": "^0.4.14",
8+
"aurora-imui-react-native": "^0.5.6",
99
"jcore-react-native": "^1.1.8-beta",
1010
"jmessage-react-plugin": "^2.1.0",
11-
"react": "16.0.0-alpha.12",
12-
"react-native": "^0.47.1",
11+
"react": "16.0.0",
12+
"react-native": "^0.50.0",
1313
"react-native-fs": "^2.8.3",
1414
"react-navigation": "^1.0.0-beta.11",
1515
"react-timer-mixin": "^0.13.3"
@@ -21,4 +21,4 @@
2121
"jest": "20.0.4",
2222
"react-test-renderer": "16.0.0-alpha.12"
2323
}
24-
}
24+
}

0 commit comments

Comments
 (0)