eduardo-santin преди 2 години
родител
ревизия
0b91e0ef97
променени са 3 файла, в които са добавени 3973 реда и са изтрити 2221 реда
  1. 20
    0
      App.js
  2. 3952
    2221
      package-lock.json
  3. 1
    0
      package.json

+ 20
- 0
App.js Целия файл

@@ -12,6 +12,26 @@ export default function App() {
12 12
   );
13 13
 }
14 14
 
15
+
16
+// Import the functions you need from the SDKs you need
17
+import { initializeApp } from "firebase/app";
18
+// TODO: Add SDKs for Firebase products that you want to use
19
+// https://firebase.google.com/docs/web/setup#available-libraries
20
+
21
+// Your web app's Firebase configuration
22
+const firebaseConfig = {
23
+  apiKey: "AIzaSyDW-ABAQ3r_WR7C7WC_3VprL77NcAoitJI",
24
+  authDomain: "freehand-d8ecd.firebaseapp.com",
25
+  projectId: "freehand-d8ecd",
26
+  storageBucket: "freehand-d8ecd.appspot.com",
27
+  messagingSenderId: "48371388186",
28
+  appId: "1:48371388186:web:9a5a4bf1218e17ac6326a3"
29
+};
30
+
31
+// Initialize Firebase
32
+const app = initializeApp(firebaseConfig);
33
+
34
+
15 35
 const styles = StyleSheet.create({
16 36
   container: {
17 37
     flex: 1,

+ 3952
- 2221
package-lock.json
Файловите разлики са ограничени, защото са твърде много
Целия файл


+ 1
- 0
package.json Целия файл

@@ -10,6 +10,7 @@
10 10
   "dependencies": {
11 11
     "expo": "~42.0.1",
12 12
     "expo-status-bar": "~1.0.4",
13
+    "firebase": "^9.0.2",
13 14
     "react": "16.13.1",
14 15
     "react-dom": "16.13.1",
15 16
     "react-native": "https://github.com/expo/react-native/archive/sdk-42.0.0.tar.gz",