Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • B B4S-Android-SDK
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Francois Reboursier
  • B4S-Android-SDK
  • Wiki
  • Installation with Gradle

Installation with Gradle · Changes

Page history
Updated Installation with Gradle (markdown) authored Feb 17, 2016 by Eric Kok's avatar Eric Kok
Hide whitespace changes
Inline Side-by-side
Installation-with-Gradle.md
View page @ 8789e7c5
......@@ -24,7 +24,6 @@ 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.retrofit2:retrofit:2.0.0-beta3'
compile 'com.squareup.retrofit2: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'
......@@ -57,6 +56,14 @@ See [the `sample-gradle` app module's `app/build.gradle` file](https://github.co
Finally, **copy the `b4s-android-sdk.aar`** and the **`b4s-android-sdk-playservicesXXX.aar`** version of your choice from the [`/sdk/aar` release folder](https://github.com/ezeeworld/B4S-Android-SDK/tree/master/sdk/aar) to your `app/libs` directory.
## Minimum SDK level support
As Android 4.3 introduced support for Bluetooth LE, API level 18 is the minimum API level requirement for the SDK to work with beacons. However, it is safe to include the library in application that support older Android versions. You can simply have Gradle ignore the B4S minimum SDK level by adding to your `AndroidManifest.xml`:
```xml
<uses-sdk tools:overrideLibrary="com.ezeeworld.b4s.android.sdk, com.ezeeworld.b4s.android.sdk.playservices" />
```
## Push messaging dependency
For push messaging support via the B4S SDK, ensure that the `play-services-gcm` library is properly specified in your `app/build.gradle` dependencies:
......
Clone repository
  • Home
  • Installation with Eclipse Ant
  • Installation with Gradle
  • Integration guide
  • Migration guide