Skip to content

Commit e381e4b

Browse files
committed
udpate demo
1 parent aee613f commit e381e4b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

example/App.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,10 @@ export default class App extends Component {
222222
if (resultCode === 0) {
223223
}
224224
})
225+
226+
if (Platform.OS === 'ios') {
227+
JPushModule.setupPush()
228+
}
225229
}
226230

227231
JPushModule.addReceiveCustomMsgListener(map => {

0 commit comments

Comments
 (0)