diff --git a/Examples/simple-fcm-client/app/PushController.js b/Examples/simple-fcm-client/app/PushController.js index 404e517d8ffb81d80f80ed217df27474cac7d6b7..f44cde879c052315d9ad7b62d84ab3d0efd65600 100644 --- a/Examples/simple-fcm-client/app/PushController.js +++ b/Examples/simple-fcm-client/app/PushController.js @@ -18,6 +18,10 @@ export default class PushController extends Component { console.log("TOKEN (getFCMToken)", token); this.props.onChangeToken(token); }); + + FCM.getAPNSToken().then(token => { + console.log("APNS TOKEN (getFCMToken)", token); + }); FCM.getInitialNotification().then(notif => { console.log("INITIAL NOTIFICATION", notif)