gcm vs fcm endpoint selection

Asked by At

i am trying to understand how browser chooses endpoint for push notification.

i think it selects based on browser but if i so then why sometimes it selects


and sometimes https://android.googleapis.com/gcm/send/

here is link


when we allow notification we can see that it chooses android.googleapis.com but in there javascript i could not find anywhere android.googleapis.com but it shows in form data sent by browser. i want to move to latest one fcm.googleapis.com

direct me in right direction guys

0 Answers