title: React Native and Firebase 3
body: <p>I am trying to integrate React Native and Firebase 3 Authentication. My code.</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><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();</code></pre>
  </div>
  </div>
  
   the config</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>module.exports = {
    FIREBASE_CONFIG: {
      apiKey: "long string from firebase",
      authDomain: "xxxxx.firebaseapp.com",
      databaseURL: "https://xxxxx.firebaseio.com",
      storageBucket: "xxxxx.appspot.com"
    }
  }</code></pre>
  </div>
  </div>
  </p>
  
  <p>But...
  <a href="https://i.stack.imgur.com/EDvZi.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/EDvZi.png" alt="Error from adding Firebase 3 Auth to react"></a></p>
  
  <p>I'm I missing something? If I am, can you point me in the right direction
  config</p>
  
  <ul>
  <li>React Native 0.26.2</li>
  <li>Firebase 3.0.2</li>
  </ul>