Groups
Groups
Sign in
Groups
Groups
Firebase Google Group
Conversations
About
Send feedback
Help
Convert APN Push token to FCM Push token
1,417 views
Skip to first unread message
Viktor B
unread,
Sep 6, 2023, 12:31:51 AM
9/6/23
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Firebase Google Group
Hello,
I read in Google Cloud documentation 'Create registration tokens for APNs tokens'
https://developers.google.com/instance-id/reference/server#create_registration_tokens_for_apns_tokens
That I can convert APN Push token to FCM Push token.
It works with the Legacy API call, where I used the header 'Authrorization: key=xyz', but with OAuth2 I get '401 Error code'.
I used these scopes in the OAuth2 request:
https://www.googleapis.com/auth/firebase.messaging
https://www.googleapis.com/auth/cloud-platform
What can be the problem?
Thank you for your support!
Best Regards,
Viktor
Reply all
Reply to author
Forward
0 new messages