I am getting an error in react-native, This Browser is not supported
, in the iOS simulator, after running the following code:
const firebase = requi
Firebaser here
The new Firebase Authentication currently doesn't work in React Native due to a dependency on the window
object. We're looking if that's something we can improve, but no guarantees.
From Jacob's post on the firebase-talk list:
As a "workaround" if you don't need auth (unlikely, I know, but still worth mentioning), you should be able to do the following:
var app = require('firebase/app');
var database = require('firebase/database');