Android SDK for Pusher Beams
Clone or download
luismfonseca Merge pull request #66 from pusher/document-local-lib-usage
Document how to use a local copy of this library in another project
Latest commit 7c3c922 Jan 17, 2019

README.md

Push Notifications Android

Build Status Twitter

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

Installation

Update your project level gradle config

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'
    }
}

Update your app level gradle config

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.1.0'
}

// Add this line to the end of the file
apply plugin: 'com.google.gms.google-services'

Documentation

You can find our up-to-date documentation in here.

Communication

  • 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).

Credits

Pusher Beams is owned and maintained by Pusher.

License

Pusher Beams is released under the MIT license. See LICENSE for details.