How can I use multiple gcm_sender_id for web push notification with firebase in a single project
up vote
0
down vote
favorite
Trying to create web push notification with firebase and need to add two gcm_sender_id in manifest.json(same file) but it accepts only one id and in string only.
Need to add these two gcm_sender_id. So that I can migrate all my subscribers from another platform to FCM.
"gcm_sender_id": "9***********",
"gcm_sender_id": "103953800507"
If I use gcm_sender_id of FCM then I am unable to send web push notification from the old platform. On the other hand If I use the sender ID of old platform instead of FCM then my Token is not getting generated. Else everything is working fine.
Unable to find anything. Is there any solution?
firebase push-notification firebase-cloud-messaging manifest web-push
add a comment |
up vote
0
down vote
favorite
Trying to create web push notification with firebase and need to add two gcm_sender_id in manifest.json(same file) but it accepts only one id and in string only.
Need to add these two gcm_sender_id. So that I can migrate all my subscribers from another platform to FCM.
"gcm_sender_id": "9***********",
"gcm_sender_id": "103953800507"
If I use gcm_sender_id of FCM then I am unable to send web push notification from the old platform. On the other hand If I use the sender ID of old platform instead of FCM then my Token is not getting generated. Else everything is working fine.
Unable to find anything. Is there any solution?
firebase push-notification firebase-cloud-messaging manifest web-push
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
Trying to create web push notification with firebase and need to add two gcm_sender_id in manifest.json(same file) but it accepts only one id and in string only.
Need to add these two gcm_sender_id. So that I can migrate all my subscribers from another platform to FCM.
"gcm_sender_id": "9***********",
"gcm_sender_id": "103953800507"
If I use gcm_sender_id of FCM then I am unable to send web push notification from the old platform. On the other hand If I use the sender ID of old platform instead of FCM then my Token is not getting generated. Else everything is working fine.
Unable to find anything. Is there any solution?
firebase push-notification firebase-cloud-messaging manifest web-push
Trying to create web push notification with firebase and need to add two gcm_sender_id in manifest.json(same file) but it accepts only one id and in string only.
Need to add these two gcm_sender_id. So that I can migrate all my subscribers from another platform to FCM.
"gcm_sender_id": "9***********",
"gcm_sender_id": "103953800507"
If I use gcm_sender_id of FCM then I am unable to send web push notification from the old platform. On the other hand If I use the sender ID of old platform instead of FCM then my Token is not getting generated. Else everything is working fine.
Unable to find anything. Is there any solution?
firebase push-notification firebase-cloud-messaging manifest web-push
firebase push-notification firebase-cloud-messaging manifest web-push
edited Nov 11 at 8:25
asked Nov 8 at 17:27
Nehe
13
13
add a comment |
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53213141%2fhow-can-i-use-multiple-gcm-sender-id-for-web-push-notification-with-firebase-in%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown