Clone and Import Referral Mobile SDK for Android
Clone the GitHub repository for the Referral Mobile Android SDK to copy the code base
and revision history of the repository to your local computer. After you clone the repository,
import the Referral Mobile Android SDK in Android Studio to automatically download and manage
external dependencies.
Available in: all editions that have Referral Marketing enabled |
- Go to the Referral Mobile SDK Android repository.
-
To copy the repository URL to your clipboard, click Code, and then
click
.
- Open Terminal, and go to the directory where you want to clone the repository.
- Enter git clone https://github.com/loyaltysampleapp/ReferralMobileSDK-Android.
- Press Enter and wait for the repository to clone.
- Unzip the ReferralMobileSDK-Android package that you downloaded.
- Open Android Studio.
- Go to ReferralMobileSDK-Android folder. , and then select the
- Click Open.
-
Open the SDK files and ensure that the files include the appropriate SDK packages.
You can now use the classes and interfaces in the ReferralMobileSDK-Android module to manage and customize the referral program feature
in your application.