Import the Android SDK (Android Studio or Gradle)

Add the library to your project by editing your build.gradle file in your app module as described below:

1. In your app's build.gradle file, add the Xtremepush maven repository

repositories {
    maven {
        url ''

2. Add the XtremePush library to the dependencies section as shown below:

compile 'ie.imobile.extremepush:XtremePush_lib:5.0.0'

3. Add the latest version of Android Support Version for example

compile ''

4. Also add the latest version of Google play services 10.0+ as a dependency if not included for example:

compile ''

If you only want to use the required APIs to keep size down or stay within the multi-dexing limit then use:

compile ''
// If not using location the location dependency below can be omitted compile ''

5. Add the following dependencies

compile ''
compile ''
compile 'com.squareup:otto:1.3.8'
// If not using beacon the final dependency below can be omitted 
compile 'org.altbeacon:android-beacon-library:2.9.2'

6. Sync the project with the gradle file.

Have more questions? Submit a request


Article is closed for comments.