diff --git a/app/.expo/README.md b/app/.expo/README.md new file mode 100644 index 0000000..d8971e4 --- /dev/null +++ b/app/.expo/README.md @@ -0,0 +1,17 @@ +> Why do I have a folder named ".expo" in my project? + +The ".expo" folder is created when an Expo project is started using "expo start" command. + +> What does the "packager-info.json" file contain? + +The "packager-info.json" file contains port numbers and process PIDs that are used to serve the application to the mobile device/simulator. + +> What does the "settings.json" file contain? + +The "settings.json" file contains the server configuration that is used to serve the application manifest. + +> Should I commit the ".expo" folder? + +No, you should not share the ".expo" folder. It does not contain any information that is relevant for other developers working on the project, it is specific to your machine. + +Upon project creation, the ".expo" folder is already added to your ".gitignore" file. diff --git a/app/.expo/packager-info.json b/app/.expo/packager-info.json index 30b41e2..f46dc50 100644 --- a/app/.expo/packager-info.json +++ b/app/.expo/packager-info.json @@ -1,6 +1,10 @@ { "devToolsPort": 19002, - "expoServerPort": 19000, - "packagerPort": 19001, - "packagerPid": 7177 + "expoServerPort": null, + "packagerPort": null, + "packagerPid": null, + "expoServerNgrokUrl": null, + "packagerNgrokUrl": null, + "ngrokPid": null, + "webpackServerPort": null } diff --git a/app/.expo/settings.json b/app/.expo/settings.json index 92bc513..a618596 100644 --- a/app/.expo/settings.json +++ b/app/.expo/settings.json @@ -1,8 +1,10 @@ { - "hostType": "lan", + "hostType": "tunnel", "lanType": "ip", "dev": true, "minify": false, - "urlRandomness": null, - "https": false + "urlRandomness": "jg-mdx", + "https": false, + "scheme": null, + "devClient": false } diff --git a/app/App.js b/app/App.js index 181f3ce..dad826d 100644 --- a/app/App.js +++ b/app/App.js @@ -1,12 +1,25 @@ import { StatusBar } from 'expo-status-bar'; import React from 'react'; -import { StyleSheet, Text, View } from 'react-native'; +import { StyleSheet, Text, View, Button } from 'react-native'; +import TextInputs from './components/auth'; +import * as WebBrowser from 'expo-web-browser'; export default function App() { return ( - Open up App.js to start working on your app! + Don't Open up App.js to start working on your app! + + ); } diff --git a/app/components/auth.js b/app/components/auth.js new file mode 100644 index 0000000..757c665 --- /dev/null +++ b/app/components/auth.js @@ -0,0 +1,62 @@ +import React from "react"; +import { SafeAreaView, StyleSheet, TextInput, Button } from "react-native"; +import Firebase from './firebase.js' + +const TextInputs = () => { + const [username, onChangeU] = React.useState(null); + const [password, onChangeP] = React.useState(null); + + + + const auth = Firebase.auth(); + + + + return ( + + + +