Prerequisites
- An Android platform with FCM credentials in Pushctl
- A Client application token
- Firebase configured for the Android package, including
google-services.json google()andmavenCentral()in dependency repositories
1
Add the SDK
2
Apply Google Services
Apply the Google Services Gradle plugin to the app module and place the Firebase
google-services.json in that module.3
Initialize once
Application class in the app manifest if your project does not already use one.4
Request permission at the right time
Activity. Android 13+ shows the system prompt; earlier versions synchronize the current state.5
Wait for confirmed registration
The SDK manifest merges the notification permission, Firebase messaging service, open activity, and dismissal receiver. Do not add a separate
FirebaseMessagingService for Pushctl.