Open JuanDeLeon opened 5 years ago
did you ever solve this? I have the same problem
Not really, but as a workaround I save and use only the APNS token. I do a fixed length comparison, since FCM tokens are longer.
just to update: I solved the issue by removing nativescript-facebook and instead authenticate users through firebase fb. It was conflicting with nativescript-firebase
Experienced same problem, push notification on iOS wasn't working. As soon as I deleted nativescript-facebook plugin, it started to work. Even though I was seeing message coming in, in the callback.
i faced same issue, but i didn't use "nativescript-facebook" anybody know how to fix it in my case?
Hi, I'm running on iOS device (NS/iOS 5.2). The onPushTokenReceivedCallback is returning 2 different tokens on init, one for APNS and another one for FCM.
If I use the Pusher tool on Mac, and use the APNS token, I do get the notification on device.
However if I use the FCM token, the curl returns a success which means the device token is actually registered, but I do not get any notifications at all.
Any ideas of what could be wrong? This is the CURL (taken from example files) and my config file: