Install
- Android
- iOS
Requirements: minSdk 21, AndroidX. Kotlin and Java are both supported —
every entry point is @JvmStatic.
Add the Flyy Maven repository. It is public and needs no credentials.
dependencyResolutionManagement {
repositories {
google()
mavenCentral()
maven { url = uri("https://cdn.flyyx.in/maven") }
}
}
Add the dependency:
dependencies {
implementation("com.theflyy:flyy:2.1.0")
// Jetpack Compose apps only — FlyyEmbed, FlyySlot, FlyyTarget:
implementation("com.theflyy:flyy-compose:2.1.0")
}
| Artifact | Contents |
|---|---|
com.theflyy:flyy | The SDK. AndroidX only — no AppCompat, no Compose. |
com.theflyy:flyy-compose | Optional Compose bindings. View-based apps never pull Compose in. |
No manifest changes, no Application subclass, no ProGuard rules — the AAR
ships its own consumer rules. Firebase Messaging is optional; the SDK detects
it at runtime.Using Groovy
build.gradle?
Requirements: iOS 14+, Xcode 16.4 or newer. Swift and Objective-C are both supported.
platform :ios, '14.0'
use_frameworks!
target 'YourApp' do
pod 'FlyyFramework', '~> 3.0'
end
pod install --repo-update
FlyyFramework 3.x keeps the v1 pod and module name, so import FlyyFramework
and #import "FlyyFramework/FlyyFramework.h" keep compiling.
The pod ships a prebuilt FlyyFramework.xcframework (device + simulator), so
there is nothing to compile and no source checkout.
Info.plist
Nothing is required. Two optional keys:
| Key | When |
|---|---|
NSUserTrackingUsageDescription | Only if your app already asks for App Tracking Transparency. The SDK never shows the prompt itself; with permission it sends the IDFA, otherwise zeros. |
UIAppFonts | Already set if you bundle custom fonts. The SDK serves those fonts to the rewards UI so it matches your app. |
Building from source
Testing a change to the SDK itself? Point your app at a local checkout. The coordinates stay the same.
- Android
- iOS
includeBuild("../flyy-kotlin")
Xcode → Add Package Dependencies… → Add Local… and choose the flyy-swift folder
(product FlyySDK, import FlyySDK). Flyy team only — it needs repository access.