https://kotlinlang.org logo
#android
Title
# android
d

David Whittaker

07/08/2022, 1:44 AM
I'm experimenting with using Firebase Functions in Android. Is using JavaScript really the only option here? I'm surprised Kotlin isn't supported, but I've found no documentation other than using regular Google Cloud Functions (those do support JVM) and making a regular http request.
😶 2
t

tseisel

07/08/2022, 6:09 PM
Yes, Firebase Functions themselves could be written in JavaScript only. But you could write them in KotlinJS and transpile the code to JavaScript. With Kotlin Multiplatform, you may even share some model definitions between your mobile app and Cloud Functions.
👍 2