Android Push Notifications Setup
Configure your Android Gradle build files to provision Google Play Services inside your Flutter application. Learn how to inject dependency classpaths and mount plugin identifiers.
- In your root-level (project-level) gradle file (
project_name/build.gradle), add the Google services plugin as a dependency:
dependencies {
...
classpath 'com.google.gms:google-services:4.3.15'
...
}- In your module (app-level) gradle file (usually
project_name/app_name/build.gradle), add the Google services plugin:
plugins {
...
id 'com.google.gms.google-services'
...
}