No Description

App.js 1.1KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. import { StatusBar } from 'expo-status-bar';
  2. import React from 'react';
  3. import { StyleSheet, Text, View } from 'react-native';
  4. export default function App() {
  5. return (
  6. <View style={styles.container}>
  7. <Text>"Hello"</Text>
  8. <StatusBar style="auto" />
  9. </View>
  10. );
  11. }
  12. // Import the functions you need from the SDKs you need
  13. // import { initializeApp } from "firebase/app";
  14. import firebase from 'firebase';
  15. // expo install firebase
  16. // TODO: Add SDKs for Firebase products that you want to use
  17. // https://firebase.google.com/docs/web/setup#available-libraries
  18. // Your web app's Firebase configuration
  19. const firebaseConfig = {
  20. apiKey: "AIzaSyDW-ABAQ3r_WR7C7WC_3VprL77NcAoitJI",
  21. authDomain: "freehand-d8ecd.firebaseapp.com",
  22. projectId: "freehand-d8ecd",
  23. storageBucket: "freehand-d8ecd.appspot.com",
  24. messagingSenderId: "48371388186",
  25. appId: "1:48371388186:web:9a5a4bf1218e17ac6326a3"
  26. };
  27. // Initialize Firebase
  28. const app = firebase.initializeApp(firebaseConfig);
  29. const styles = StyleSheet.create({
  30. container: {
  31. flex: 1,
  32. backgroundColor: '#fff',
  33. alignItems: 'center',
  34. justifyContent: 'center',
  35. },
  36. });