Open bpowell15 opened 5 years ago
As of version 2.0.0 the SENDER_ID parameter has been removed at install time. Instead you put your google-services.json (Android) and/or GoogleService-Info.plist in the root folder of your project and then add the following lines into your config.xml.
Which part of that exactly is unclear?
My issue had to do with setting voip true, turns out the code path does not allow for setting up voip and fcm at the same time
But also to show you why its confusing....
@macdonst can we remove those mentions of SENDER_ID
? Or are they still valid for ionic on 2.+?
@fredgalvao I'm pretty sure we can remove that now.
The docs are in horrible shape... always have been. Even now (as a for instance), you say things in the plugin docs (i.e. data vs notification) where you specify one behavior and the FCM docs specify another behavior. I've been screwing around with custom sounds for days and still can't get it to work but had it working on 1.8x and GCM just fine.
I have updated my push notification article on my site using phonegap-plugin-push. You can check my tutorial here: Phonegap Push Notification Tutorial
Expected Behaviour
for the docs to make sense
Actual Behaviour
they are unclear in areas