-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
57 changed files
with
3,138 additions
and
21 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
> Why do I have a folder named ".expo-shared" in my project? | ||
The ".expo-shared" folder is created when running commands that produce state that is intended to be shared with all developers on the project. For example, "npx expo-optimize". | ||
|
||
> What does the "assets.json" file contain? | ||
The "assets.json" file describes the assets that have been optimized through "expo-optimize" and do not need to be processed again. | ||
|
||
> Should I commit the ".expo-shared" folder? | ||
Yes, you should share the ".expo-shared" folder with your collaborators. |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
// Workspace settings | ||
{ | ||
// The following will hide the js and map files in the editor | ||
"files.exclude": { | ||
".expo": true, | ||
".expo-shared": true, | ||
"android": true, | ||
"node_modules": true, | ||
"package-lock.json": true, | ||
"**/*.map": true | ||
} | ||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,26 @@ | ||
import { StatusBar } from 'expo-status-bar'; | ||
import React from 'react'; | ||
import { StyleSheet, Text, View } from 'react-native'; | ||
import 'react-native-gesture-handler'; | ||
|
||
import React, { useState, useEffect, useContext } from 'react'; | ||
import MainContext, { DispatchContext } from './src/utils/context/MainContext'; | ||
import AppNavContainer from './src/components/navigation/AppNavContainer'; | ||
import axios from 'axios' | ||
import Define from './src/utils/helpers/Define'; | ||
|
||
|
||
//axios setup | ||
axios.defaults.baseURL = Define.API_BASE_URL | ||
axios.defaults.withCredentials = true | ||
|
||
export default function App() { | ||
|
||
|
||
|
||
return ( | ||
<View style={styles.container}> | ||
<Text>Open up App.js to start working on your app!</Text> | ||
<StatusBar style="auto" /> | ||
</View> | ||
<> | ||
|
||
<MainContext> | ||
<AppNavContainer /> | ||
</MainContext> | ||
</> | ||
); | ||
} | ||
|
||
const styles = StyleSheet.create({ | ||
container: { | ||
flex: 1, | ||
backgroundColor: '#fff', | ||
alignItems: 'center', | ||
justifyContent: 'center', | ||
}, | ||
}); | ||
} |
This file contains 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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
``` | ||
expo install @react-native-async-storage/async-storage | ||
``` |
Oops, something went wrong.