firebase-kotlin-sdk
firebase-kotlin-sdk copied to clipboard
DatabaseReference.setValue in JS throws "Uncaught ReferenceError"
trafficstars
Running setValue on any DatabaseReference triggers an error
Uncaught ReferenceError: $module$firebase_app is not defined
at database.kt:18
at Object.236 (jsapp.js:2)
at n (bootstrap:19)
at Object.553 (jsapp.js:2)
at n (bootstrap:19)
at startup:4
at jsapp.js:2
at universalModuleDefinition:9
at universalModuleDefinition:1
example:
Firebase.database.reference("test").setValue("Hello World")