... | ... | @@ -24,13 +24,13 @@ Next, add all the B4S dependencies and reference it's .AAR files in the main app |
|
|
dependencies {
|
|
|
compile 'nl.qbusict:cupboard:2.1.4'
|
|
|
compile 'de.greenrobot:eventbus:2.4.0'
|
|
|
compile 'com.squareup.retrofit:retrofit:2.0.0-beta2'
|
|
|
compile 'com.squareup.retrofit:converter-jackson:2.0.0-beta2'
|
|
|
compile 'com.google.android.gms:play-services-location:8.3.0'
|
|
|
compile 'com.google.android.gms:play-services-ads:8.3.0'
|
|
|
compile 'com.google.android.gms:play-services-gcm:8.3.0'
|
|
|
compile 'com.squareup.retrofit:retrofit:2.0.0-beta3'
|
|
|
compile 'com.squareup.retrofit:converter-jackson:2.0.0-beta3'
|
|
|
compile 'com.google.android.gms:play-services-location:8.4.0'
|
|
|
compile 'com.google.android.gms:play-services-ads:8.4.0'
|
|
|
compile 'com.google.android.gms:play-services-gcm:8.4.0'
|
|
|
compile (name:'b4s-android-sdk', ext:'aar')
|
|
|
compile (name:'b4s-android-sdk-playservices830', ext:'aar')
|
|
|
compile (name:'b4s-android-sdk-playservices840', ext:'aar')
|
|
|
}
|
|
|
```
|
|
|
**Important**: This example relies on the Play Services version 8.3 (v28), but the SDK is compatible with all versions of the Play Services. Simply refer to the desired `play-services-xxx` libraries as usual and select the corresponding `b4s-android-sdk-playservicesXXX` .AAR file. For example, if the Play Services 6.5 (v22) should be used instead:
|
... | ... | @@ -61,7 +61,7 @@ Finally, **copy the `b4s-android-sdk.aar`** and the **`b4s-android-sdk-playservi |
|
|
|
|
|
For push messaging support via the B4S SDK, ensure that the `play-services-gcm` library is properly specified in your `app/build.gradle` dependencies:
|
|
|
```groovy
|
|
|
compile 'com.google.android.gms:play-services-gcm:8.3.0'
|
|
|
compile 'com.google.android.gms:play-services-gcm:8.4.0'
|
|
|
}
|
|
|
```
|
|
|
|
... | ... | |