Open Janskiproducer opened 3 years ago
Same here in the emulator
JS: ERROR TypeError: g.init is not a function
Any solution?
no solution for this error? now i've seen this issue, i've posted also here, sorry https://github.com/EddyVerbruggen/nativescript-plugin-firebase/issues/1700
I have migrated a project to NS7, and getting this error when trying to run in simulator (iOS): Uncaught TypeError: firebase.init is not a function.
In app.js: var firebase = require("@nativescript/firebase");
firebase.init({ // Optionally pass in properties for database, authentication and cloud messaging, // see their respective docs.
}).then( function () { console.log("firebase.init done"); }, function (error) { console.log("firebase.init error: " + error); } );