Firebase has bindings (API) for Java/Kotlin/Android, JS, and iOS last time I checked so you would use those bindings on the relevant platforms you are targeting. It is still early days for Kotlin multiplatform but a Firebase example will be appear soon, I have no doubt. I plan on having an app in late Q1 2019 that does just that and I am rooting for someone to beat me to it. 🙂