This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Copyright (c) Facebook, Inc. and its affiliates. | |
* | |
* This source code is licensed under the MIT license found in the | |
* LICENSE file in the root directory of this source tree. | |
*/ | |
#import <React/RCTLocalAssetImageLoader.h> | |
#import <atomic> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { StyleSheet } from 'react-native'; | |
export default StyleSheet.create({ | |
container: { | |
flex: 1, | |
alignItems: 'center' | |
}, | |
formContainer: { | |
flexDirection: 'row', | |
height: 80, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { StyleSheet } from 'react-native'; | |
export default StyleSheet.create({ | |
container: { | |
flex: 1, | |
alignItems: 'center' | |
}, | |
formContainer: { | |
flexDirection: 'row', | |
height: 80, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { useEffect, useState } from 'react' | |
import { FlatList, Keyboard, Text, TextInput, TouchableOpacity, View } from 'react-native' | |
import styles from './styles'; | |
import { firebase } from '../../firebase/config' | |
export default function HomeScreen(props) { | |
const [entityText, setEntityText] = useState('') | |
const [entities, setEntities] = useState([]) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { StyleSheet } from 'react-native'; | |
export default StyleSheet.create({ | |
container: { | |
flex: 1, | |
alignItems: 'center' | |
}, | |
input: { | |
height: 48, | |
borderRadius: 5, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react' | |
import { Text, View } from 'react-native' | |
export default function HomeScreen(props) { | |
return ( | |
<View> | |
<Text>Home Screen</Text> | |
</View> | |
) | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
... | |
import { firebase } from './src/firebase/config' | |
... | |
export default function App() { | |
... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
... | |
import { firebase } from '../../firebase/config' | |
... | |
export default function LoginScreen({navigation}) { | |
... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
... | |
import { firebase } from '../../firebase/config' | |
... | |
export default function RegistrationScreen({navigation}) { | |
... | |
const onRegisterPress = () => { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import * as firebase from 'firebase'; | |
import '@firebase/auth'; | |
import '@firebase/firestore'; | |
const firebaseConfig = { | |
apiKey: 'YOUR_KEY_HERE_AIzaSyAOWH', | |
authDomain: 'your-auth-domain-b1234.firebaseapp.com', | |
databaseURL: 'https://your-database-name.firebaseio.com', | |
projectId: 'your-project-id-1234', | |
storageBucket: 'your-project-id-1234.appspot.com', |
NewerOlder