Commit 0fb1fd1a authored by Libin Lu's avatar Libin Lu Committed by GitHub

Update PushController.js

parent 24c29f39
...@@ -19,6 +19,10 @@ export default class PushController extends Component { ...@@ -19,6 +19,10 @@ export default class PushController extends Component {
this.props.onChangeToken(token); this.props.onChangeToken(token);
}); });
FCM.getAPNSToken().then(token => {
console.log("APNS TOKEN (getFCMToken)", token);
});
FCM.getInitialNotification().then(notif => { FCM.getInitialNotification().then(notif => {
console.log("INITIAL NOTIFICATION", notif) console.log("INITIAL NOTIFICATION", notif)
}); });
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment