Q:

React Native and Firebase 3

I am trying to integrate React Native and Firebase 3 Authentication. My code.

import { FIREBASE_CONFIG } from '../config';
import firebase from 'firebase/app';
import firebaseDatabase from 'firebase/database';
import firebaseAuth from 'firebase/auth';

firebase.initializeApp(FIREBASE_CONFIG);

export const rootRef = firebase.database();
export const authRef = firebase.auth();



 the config

module.exports = {
  FIREBASE_CONFIG: {
    apiKey: "long string from firebase",
    authDomain: "xxxxx.firebaseapp.com",
    databaseURL: "https://xxxxx.firebaseio.com",
    storageBucket: "xxxxx.appspot.com"
  }
}

But...

I'm I missing something? If I am, can you point me in the right direction
config

React Native 0.26.2
Firebase 3.0.2

A:

The new release of firebase Javascript SDK 3.1.0 has React Native compatibility.
https://firebase.google.com/support/release-notes/js#3.1.0

