This is the Android SDK for the Push Notifications service.
The SDK is written in Kotlin, but aimed to be as Java-friendly as possible
Add the Google Services classpath to the dependencies section of your project-level build.gradle
:
buildscript {
...
dependencies {
// Add this line
classpath 'com.google.gms:google-services:3.1.0'
}
}
dependencies {
...
// Add these lines
implementation 'com.google.firebase:firebase-messaging:11.8.0'
implementation 'com.pusher:push-notifications-android:0.9.14'
}
// Add this line to the end of the file
apply plugin: 'com.google.gms.google-services'
You can find our up-to-date documentation in here.
- Found a bug? Please open an issue.
- Have a feature request. Please open an issue.
- If you want to contribute, please submit a pull request (preferably with some tests).
Push Notifications is owned and maintained by Pusher.
Push Notifications is released under the MIT license. See LICENSE for details.