From 0fb1fd1a4c879db53af374f99e7af017d3a05c7a Mon Sep 17 00:00:00 2001 From: Libin Lu Date: Sat, 3 Jun 2017 14:04:55 -0400 Subject: [PATCH] Update PushController.js --- Examples/simple-fcm-client/app/PushController.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Examples/simple-fcm-client/app/PushController.js b/Examples/simple-fcm-client/app/PushController.js index 404e517..f44cde8 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) -- 2.26.2