We have a requirement to use APNS for some special messages that won't go through FCM. Anyone know if there is a way to get the APNS token as well as the FCM device id so we can store both?
I've had to quick hack for now due to time pressures. For anyone else looking for this, I've handled the didRegisterForRemoteNotificationsWithDeviceToken callback in AppDelegate+FirebasePlugin.m and fire that APNS token back from the plugin when it arrives.
If anyone else needs this functionality, I have a fork at https://github.com/poernahi/cordova-plugin-firebase/tree/twilio-integration that implements getAPNSToken
Thanks @poernahi , that's just what I needed.
Most helpful comment
If anyone else needs this functionality, I have a fork at https://github.com/poernahi/cordova-plugin-firebase/tree/twilio-integration that implements
getAPNSToken