/pushe-android-studio-sample

This is a sample application powered by Pushe.co which is build with Android Studio.

Primary LanguageJavaApache License 2.0Apache-2.0

Pushe for Android native

Simple implementation of Pushe SDK using Android studio and Java.

Run the example

  • Install git if you don't have it.
  • Run: git clone https://github.com/pusheco/android-studio-sample.git
  • Open it with Android studio and run it on your device.

Installation on your project

Stable:

dependencies {
   implementation 'co.pushe.plus:base:2.0.5' // Or compile for lower gradles
}

Latest features:

allprojects {
    repositories {
        maven { url 'https://dl.bintray.com/pushe/preview' }
        // ...
    }
}
implementation "co.pushe.plus:base:2.1.0-beta05"

AndroidManifest.xml

In order to run this application follow bellow steps:

  1. Signup to Pushe Console
  2. Create application
  3. Get the manifest content and add it to your project AndroidManifest.xml

The manifest content will be a tag like this:

<meta-data android:name="pushe_token"
            android:value="PUSHE_TOKEN" />

If you need location-based features, add Location permissions to the manifest as well.

More features

All features are added to the sample. You can check them out.

Now run and install your app on a device or emulator that has google-play-service installed. Pushe needs minimum android api=15 and google-play-service version >= 3 to run.

More Info

For detailed documentations visit https://pushe.co/docs/android-studio/

Contribution

Feel free to add anything you think is suitable to be in this sample.
It does not follow any specific code style. So just read the code a little bit and send a pull request at anytime. We'll be happy :D.

Support

Email:

If you have any problem, please contact us using this email, we will get back to you right away: support [at] pushe.co