This is the Android SDK for the Pusher Beams 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:4.0.1'
}
}
dependencies {
...
// Add these lines
implementation 'com.google.firebase:firebase-core:16.0.1'
implementation 'com.google.firebase:firebase-messaging:17.1.0'
implementation 'com.pusher:push-notifications-android:1.4.0'
}
// 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).
Pusher Beams is owned and maintained by Pusher.
Pusher Beams is released under the MIT license. See LICENSE for details.