ionic-team / capacitor-docs

https://capacitorjs.com/docs
Apache License 2.0
26 stars 231 forks source link

Incorrect information in the Android push message setup guide #316

Closed Pentadome closed 2 months ago

Pentadome commented 5 months ago

URL https://capacitorjs.com/docs/guides/push-notifications-firebase#download-and-use-the-google-servicesjson-file

What is missing or inaccurate about the content on this page?

We don't need to add any dependencies to our project because Capacitor projects automatically include a version of firebase-messaging in it's build.gradle file.

This is not true, you need to add the firebase sdk or it doesn't work.

jcesarmobile commented 2 months ago

I've just follow the guide and it works without adding the SDK. By installing @capacitor/push-notifications you get the dependency.