Gameball referrals for Android apps rely on deep links generated by a provider such as Branch or Adjust. These links help identify the referring customer when a new user installs and opens the app.
Firebase Dynamic Links are no longer supported.
Use Branch or Adjust instead.
Use Branch or Adjust to generate referral links and manage deep/deferred linking.
2
Install SDK
Follow the official installation steps of your provider:
Copy
// Branch (in build.gradle)implementation 'io.branch.sdk.android:library:5.+'// Adjustimplementation 'com.adjust.sdk:adjust-android:4.+'
3
Configure Deep Linking
Set up deep linking using your provider’s documentation.
Ensure your app handles link routing and parameters correctly.
4
Connect Provider in Gameball Dashboard
Go to your Gameball dashboard:Settings → Admin Settings → Integration → Mobile Configuration → Dynamic Link ProviderSelect and connect Branch or Adjust.
Gameball automatically appends a referral identifier (e.g. ?referrerCode=SARAH123) to the referral links generated by your provider.
fun shareReferralLink(referralLink: String) { val shareIntent = Intent(Intent.ACTION_SEND).apply { putExtra(Intent.EXTRA_TEXT, "Join me on our app! Use my referral link: $referralLink") type = "text/plain" } startActivity(Intent.createChooser(shareIntent, "Share referral link"))}