Skip to content

Commit 1c5c8dd

Browse files
committed
Fix example error
1 parent 34dbf1d commit 1c5c8dd

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

example/android/app/src/main/java/com/pushdemo/MainActivity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ protected void onCreate(Bundle savedInstanceState) {
4848

4949
@Override
5050
protected String getMainComponentName() {
51-
return "PushDemoApp";
51+
return "example";
5252
}
5353

5454
@Override

example/android/settings.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
rootProject.name = 'PushDemo'
1+
rootProject.name = 'example'
22
include ':app', ':jpush-react-native', ':jcore-react-native'
33
project(':jpush-react-native').projectDir = new File(rootProject.projectDir, '../node_modules/jpush-react-native/android')
44
project(':jcore-react-native').projectDir = new File(rootProject.projectDir, '../node_modules/jcore-react-native/android')

example/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ const PushDemoApp = StackNavigator({
1212
}
1313
})
1414

15-
AppRegistry.registerComponent('PushDemoApp', () => PushDemoApp)
15+
AppRegistry.registerComponent('example', () => PushDemoApp)

0 commit comments

Comments
 (0)