firebase - This Browser is not supported in iOS simulator -
i getting error in react-native, this browser not supported
, in ios simulator, after running following code:
const firebase = require('firebase') const firebaseconfig = require('./firebase-config') firebase.initializeapp(firebaseconfig) firebase.database().ref('test').set('hello')
firebase-config contains databaseurl.
why?
firebaser here
the new firebase authentication doesn't work in react native due dependency on window
object. we're looking if that's can improve, no guarantees.
from jacob's post on firebase-talk list:
as "workaround" if don't need auth (unlikely, know, still worth mentioning), should able following:
var app = require('firebase/app'); var database = require('firebase/database');
Comments
Post a Comment