-
Hello, I'm trying Kotlin/JS and I get this error I created an object val firebaseConfig = FirebaseOptions(
applicationId = "1:9**********7",
apiKey = "AI**********c",
projectId = "t**********f",
) and then in my fun main() {
initializeApp(firebaseConfig)
val auth = getAuth()
connectAuthEmulator(auth, "http://localhost:9099")
// ...
} Do you know what can be the cause of it ? is there other setup to do in gradle or something like that ? Kr, |
Beta Was this translation helpful? Give feedback.
Answered by
Thaerith
Feb 7, 2024
Replies: 1 comment
-
never mind, I got it 😅 Firebase.initialize(options = firebaseConfig)
Firebase.auth.useEmulator("http://localhost", 9099) |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Thaerith
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
never mind, I got it 😅