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. // TODO: Add SDKs for Firebase products that you want to use
  15. // https://firebase.google.com/docs/web/setup#available-libraries
  16. import firebase from "firebase";
  17. // Your web app's Firebase configuration
  18. const firebaseConfig = {
  19. apiKey: "AIzaSyDW-ABAQ3r_WR7C7WC_3VprL77NcAoitJI",
  20. authDomain: "freehand-d8ecd.firebaseapp.com",
  21. projectId: "freehand-d8ecd",
  22. storageBucket: "freehand-d8ecd.appspot.com",
  23. messagingSenderId: "48371388186",
  24. appId: "1:48371388186:web:9a5a4bf1218e17ac6326a3"
  25. };
  26. // Initialize Firebase
  27. const app = firebase.initializeApp(firebaseConfig);
  28. const styles = StyleSheet.create({
  29. container: {
  30. flex: 1,
  31. backgroundColor: '#fff',
  32. alignItems: 'center',
  33. justifyContent: 'center',
  34. },
  35. });