Closed listicos closed 6 years ago
Its part of that event but under the key registrationToken
In 1.5.0 we can expose a method to get the registrationToken/device token
The problem is, never firing the event once I get the permissions.
The device token does not need the permission prompt to generate starting with iOS 9 as long as you have background refresh enabled in your targets capabilities. The event probably already fired by that time.
Hello, I don't find a way to get the device token once I hace the permissions. I tried with this UrbanAirship.addListener('register', (event) => { console.log(event) }) In Objective C you can get the device token here didRegisterForRemoteNotificationsWithDeviceToken
Thanks