Get up and running in under two minutes. Three simple steps.
Add the FlairCraft SDK to your app-level build.gradle file:
// app/build.gradle dependencies { implementation 'net.flair-craft:android-sdk:1.0.2' }
The SDK is hosted on Maven Central. No additional repositories needed.
Call FlairCraft.init() in your Application's onCreate method:
class MyApp : Application() { override fun onCreate() { super.onCreate() FlairCraft.init(this) } }
android:name=".MyApp"Build and run your app. Check Logcat for the initialization message:
FlairCraft SDK v1.0.2 initialized successfully
That's it. The SDK handles everything else automatically. It only uses bandwidth on WiFi and pauses on low battery. No additional configuration required.
Need help? Reach out at hey@flair-craft.net or visit the main site to get in touch.