Appearance
Android SDK
Include the engage-sdk Kotlin library (sdks/android) and configure Firebase (google-services.json). Manifest:
xml
<service android:name="com.wingblaze.sdk.WingBlazeMessagingService" android:exported="false">
<intent-filter><action android:name="com.google.firebase.MESSAGING_EVENT"/></intent-filter>
</service>kotlin
// Application.onCreate
WingBlaze.init(this, appId = "…", apiUrl = "https://api…", ingestUrl = "https://ingest…")
// after POST_NOTIFICATIONS permission (Android 13+)
WingBlaze.enablePush { ids -> /* registered */ }
WingBlaze.login("user-123")
WingBlaze.addTags(mapOf("plan" to "pro"))
WingBlaze.trackEvent("purchase", mapOf("amount" to 42))
// launcher activity onCreate/onNewIntent — click beacon + deep link
WingBlaze.handleNotificationOpen(intent)?.let { deepLink -> open(deepLink) }WingBlaze sends data-only FCM messages: WingBlazeMessagingService renders every notification (its own channel, launch-intent attribution extras) and beacons confirmed delivery — so delivery stats are real even when the app is backgrounded.