We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 733b14d commit b4426d7Copy full SHA for b4426d7
App.js
@@ -1,8 +1,21 @@
1
import React, { Component } from "react";
2
import { AppRegistry, View, Text } from "react-native";
3
import { Header } from "./src/components/common";
4
+import firebase from "firebase";
5
6
export default class App extends Component {
7
+ componentWillMount() {
8
+ const config = {
9
+ apiKey: "AIzaSyB-7ErC1c7WAmNxm6ZTufAtJpK8HP57yi8",
10
+ authDomain: "auth-react-native-accbe.firebaseapp.com",
11
+ databaseURL: "https://auth-react-native-accbe.firebaseio.com",
12
+ projectId: "auth-react-native-accbe",
13
+ storageBucket: "auth-react-native-accbe.appspot.com",
14
+ messagingSenderId: "876070193723"
15
+ };
16
+ firebase.initializeApp(config);
17
+ }
18
+
19
render() {
20
return (
21
<View>
0 commit comments