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

Popular posts from this blog

ios - RestKit 0.20 — CoreData: error: Failed to call designated initializer on NSManagedObject class (again) -

laravel - PDOException in Connector.php line 55: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES) -

java - Digest auth with Spring Security using javaconfig -