Android Setup
To integrate your plugin into the Android part of your app, follow these steps (from the firebase messaging plugin):
Using the Firebase Console add an Android app to your project: Follow the assistant, download the generated
google-services.json
file and place it insideandroid/app
.Add the classpath to the
[project]/android/build.gradle
file.
3. Add the apply plugin to the [project]/android/app/build.gradle
file.
If this section is not completed you will get an error like this:
When you are debugging on Android, use a device or AVD with Google Play services. Otherwise you will not be able to authenticate.When you are debugging on Android, use a device or AVD with Google Play services. Otherwise you will not be able to authenticate.
Last updated