Skip to content

Documentation #253

Closed Answered by Thaerith
natanfudge asked this question in Q&A
Discussion options

You must be logged in to vote

All you need to know, you can use official documentation for general behaviour. There are no major differences, except that firebase kotlin makes life easier (in the asynchronous context) by using suspendable methods (so no more callbacks -- I'm from Android world, I used a bit firebase in JS/Typescript but I don't remember how it works).

The main difference is how you have to initialise the Firebase App.

For android

  1. place you google-services.json where official documentation required it (next to build.gradle.kts in you app module -- yes yes, even if your module is a KMP module, it doesn't matter).
  2. call with in you Application class:
import dev.gitlive.firebase.Firebase
... other imports

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by nbransby
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants