-
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.
Merge pull request #34 from Endurance-Soft/develop
Develop
- Loading branch information
Showing
63 changed files
with
23,571 additions
and
1,930 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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
API_KEY=AIzaSyBiWzVuJjqL3N6zkzB2UbBaFPDWeZ1aMc0 | ||
AUTH_DOMAIN=avi-pro-mobile.firebaseapp.com | ||
PROJECT_ID=avi-pro-mobile | ||
STORAGE_BUCKET=avi-pro-mobile.appspot.com | ||
MESSAGING_SENDER_ID=714379198452 | ||
APP_ID=1:714379198452:web:53e907ba46c524e06403a1 | ||
MEASUREMENT_ID=G-XVHVGNEVGE | ||
API_KEY="AIzaSyCscvgW17XsqgoTSwvBO9ZPetnhPZHuH58" | ||
AUTH_DOMAIN="avi-pro-mobile.firebaseapp.com" | ||
PROJECT_ID="avi-pro-mobile" | ||
STORAGE_BUCKET="avi-pro-mobile.appspot.com" | ||
MESSAGING_SENDER_ID="714379198452", | ||
APP_ID="1:714379198452:web:6fa537e74641a61f6403a1", | ||
MEASUREMENT_ID="G-B3QX0N2YZG" |
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,20 +1,15 @@ | ||
import { StatusBar } from 'expo-status-bar'; | ||
import { StyleSheet, Text, View } from 'react-native'; | ||
import React, { useEffect } from 'react'; | ||
import { Button, View } from 'react-native'; | ||
import { MenuProvider } from 'react-native-popup-menu'; | ||
import AppNavigator from './src/navigation/AppNavigator'; | ||
import AsyncStorage from '@react-native-async-storage/async-storage'; | ||
|
||
export default function App() { | ||
const App = () => { | ||
return ( | ||
<View style={styles.container}> | ||
<Text>Open up App.js to start working on your app!</Text> | ||
<StatusBar style="auto" /> | ||
</View> | ||
<MenuProvider> | ||
<AppNavigator /> | ||
</MenuProvider> | ||
); | ||
} | ||
}; | ||
|
||
const styles = StyleSheet.create({ | ||
container: { | ||
flex: 1, | ||
backgroundColor: '#fff', | ||
alignItems: 'center', | ||
justifyContent: 'center', | ||
}, | ||
}); | ||
export default App; |
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.
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,2 @@ | ||
// config.js | ||
export const BASE_URL = "http://192.168.1.2:3000"; // Will |
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,23 @@ | ||
// Import the functions you need from the SDKs you need | ||
import { initializeApp } from "firebase/app"; | ||
import { getAuth } from "firebase/auth"; | ||
import { getFirestore } from "firebase/firestore"; | ||
import Constants from "expo-constants"; | ||
import { getAnalytics } from "firebase/analytics"; | ||
import 'dotenv/config'; | ||
|
||
// Your web app's Firebase configuration | ||
// For Firebase JS SDK v7.20.0 and later, measurementId is optional | ||
const firebaseConfig = { | ||
apiKey: process.env.API_KEY, | ||
authDomain: process.env.AUTH_DOMAIN, | ||
projectId: process.env.PROJECT_ID, | ||
storageBucket: process.env.STORAGE_BUCKET, | ||
messagingSenderId: process.env.MESSAGING_SENDER_ID, | ||
appId: process.env.APP_ID, | ||
measurementId: process.env.MEASUREMENT_ID, | ||
}; | ||
apiKey: "AIzaSyCscvgW17XsqgoTSwvBO9ZPetnhPZHuH58", | ||
authDomain: "avi-pro-mobile.firebaseapp.com", | ||
projectId: "avi-pro-mobile", | ||
storageBucket: "avi-pro-mobile.appspot.com", | ||
messagingSenderId: "714379198452", | ||
appId: "1:714379198452:web:6fa537e74641a61f6403a1", | ||
measurementId: "G-B3QX0N2YZG" | ||
}; | ||
|
||
const app = initializeApp(firebaseConfig); | ||
export const auth = getAuth(); | ||
export const database = getFirestore(); | ||
export const analytics = getAnalytics(app); | ||
const db = getFirestore(app); | ||
const auth = getAuth(app); | ||
|
||
export { db, app, auth }; |
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,29 @@ | ||
{ | ||
"project_info": { | ||
"project_number": "714379198452", | ||
"project_id": "avi-pro-mobile", | ||
"storage_bucket": "avi-pro-mobile.appspot.com" | ||
}, | ||
"client": [ | ||
{ | ||
"client_info": { | ||
"mobilesdk_app_id": "1:714379198452:android:fb8d46745102402e6403a1", | ||
"android_client_info": { | ||
"package_name": "com.endurancesoft.avipromobile" | ||
} | ||
}, | ||
"oauth_client": [], | ||
"api_key": [ | ||
{ | ||
"current_key": "AIzaSyA86gikXHOAuuN1LpS6snEjqFqz5Q6cuUE" | ||
} | ||
], | ||
"services": { | ||
"appinvite_service": { | ||
"other_platform_oauth_client": [] | ||
} | ||
} | ||
} | ||
], | ||
"configuration_version": "1" | ||
} |
Oops, something went wrong.