To use the Firebase In-App Messaging Display Android SDK with Kotlin Extensions, add the following
to your app's build.gradle
file:
// See maven.google.com for the latest versions
// This library transitively includes the firebase-inappmessaging-display library
implementation 'com.google.firebase:firebase-inappmessaging-display-ktx:$VERSION'
Kotlin
val fiamUI = FirebaseInAppMessagingDisplay.getInstance()
Kotlin + KTX
val fiamUI = Firebase.inAppMessagingDisplay