To use the Cloud Functions 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-functions library
implementation 'com.google.firebase:firebase-functions-ktx:$VERSION'Kotlin
val functions = FirebaseFunctions.getInstance()Kotlin + KTX
val functions = Firebase.functionsKotlin
val functions = FirebaseFunctions.getInstance(region)Kotlin + KTX
val functions = Firebase.functions(region)Kotlin
val functions = FirebaseFunctions.getInstance(app)Kotlin + KTX
val functions = Firebase.functions(app)Kotlin
val functions = FirebaseFunctions.getInstance(app, region)Kotlin + KTX
val functions = Firebase.functions(app, region)