You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Declares Android Firebase Messaging dependency as api to allow it to be accessed from the app
An app shouldn’t have to define the the Firebase Messaging dependency in order to access it, as it’s already included within this plugin. By declaring it as an `api` dependency, this allows the app to access it and removes an extra step from the setup.
Copy file name to clipboardExpand all lines: packages/firebase_messaging/README.md
-12Lines changed: 0 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -61,18 +61,6 @@ for more.
61
61
62
62
By default background messaging is not enabled. To handle messages in the background:
63
63
64
-
1. Add the `com.google.firebase:firebase-messaging` dependency in your app-level `build.gradle` file that is typically located at `<app-name>/android/app/build.gradle`.
Note: you can find out what the latest version of the plugin is [here ("Cloud Messaging")](https://firebase.google.com/support/release-notes/android#latest_sdk_versions).
75
-
76
64
1. Add an `Application.java` class to your app in the same directory as your `MainActivity.java`. This is typically found in `<app-name>/android/app/src/main/java/<app-organization-path>/`.
0 commit comments