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

Update PushController.js

parent 24c29f39
...@@ -18,6 +18,10 @@ export default class PushController extends Component { ...@@ -18,6 +18,10 @@ export default class PushController extends Component {
console.log("TOKEN (getFCMToken)", token); console.log("TOKEN (getFCMToken)", token);
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