Open uselessai opened 7 years ago
I'm having the same problem, it works fine on ios9, but on ios10 it's returning null
Could it have to do with lag time between when the user selects "allow" on the push notification permission popup, and when the plugin attempts to get a token? I've noticed if i wait a couple seconds after allowing the app to have push permission before executing the getToken function it seems to work sometimes
I have the same problem
+1 - the same problem
same here >.<
I'm having the same issues with iOS 10. Has anyone found a solution?
Looking at the code it seems like none of required changes for iOS 10 is implemented. See FCM docs (from "Register for remote notifications" section).
I fixed it by using local storage set time interval to get token till it not null and save in local storage then process what it want.
At least It works I have a problem with the certification, file .p12, that I upload to the firebase console.
Notifications works when the app is in background or closed.. but if a reset the device notifications doesn't work.. i have to open the app at least once..
I am extremely confused here. The maintainer claimed this plugin is iOS10 ready in 10/10/2016. But we still have problem in here. And this repo has not been updated since Jul except 2 pull request and bumping up the version. The 2 pull request does not seems to relate to iOS10 anyway according to the pull request author. Is anyone even reading the tickets??! I already experienced a few bugs which are already filed, but neglected...
any news ?
Maybe we should move to another plugin... any suggestions? @fechanique please wake up, your project needs you :-)
Did you guys manage to get it to work on iOS 10? The "Allow push notifications" confirmation does not pop-up for iOS 10 devices. Push notifications for iOS 9 devices work though.
When I use this plugin with a device with IOS 10.. Function GetToken always is null..
And it works perfectly with Android devices and simulators devices in IOS..