Newer Version Available

This content describes an older version of this product. View Latest

Clone and Import Gamification Mobile SDK for Android

Clone the GitHub repository to copy the code base and revision history of the repository to your local computer. After you clone the mobile SDK for Android repository, import Gamification Mobile Android SDK in Android Studio to automatically download and manage external dependencies.
Available in: all editions that have Loyalty Management enabled

  1. Go to the Gamification Mobile SDK Android repository.
  2. To copy the repository URL to your clipboard, click Code, and then click Copy to Clipboard icon on Git Hub.
  3. Open Terminal, and go to the directory where you want to clone the repository.
  4. Enter git clone https://github.com/loyaltysampleapp/GamificationMobileSDK-Android.
  5. Press Enter and wait for the repository to clone.
  6. Unzip the GamificationMobileSDK-Android package that you downloaded.
  7. Open Android Studio.
  8. Go to File | New | Import Project, and then select the GamificationMobileSDK-Android folder.
  9. Click Open.
  10. Open the SDK files and ensure that the files include the appropriate SDK packages.

    If the sync fails, disconnect the VPN to ensure there’s no blocker when downloading the dependencies, and then resync.

    Note

You can now use the classes and interfaces in the GamificationMobileSDK-Android module to manage and customize the gamification features in your application.