You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Let me first ask you a question about your current situation.
Is it correct that the registration_id is not from FirebaseMessaging but from the deviceToken obtained in application(_:didRegisterForRemoteNotificationsWithDeviceToken:) method of the UIApplicationDelegate? FCM tokens and APNs tokens are completely different and you cannot use FCM tokens as registration_id here.
Or are you specifying sandbox environment and production environment by mistake?
Can you check if the device token is correct from the command line from the documentation?
It keeps saying "Bad device registration token". However, when sending the exact same thing directly from Firebase it works well. here's what I do:
Hope you can point me in the right direction. Thanks.
The text was updated successfully, but these errors were encountered: