Skip to content

Commit 0466d4a

Browse files
committed
udpate demo
1 parent ee65a33 commit 0466d4a

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

example/App.js

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

231229
JPushModule.addReceiveCustomMsgListener(map => {

0 commit comments

Comments
 (0)