Skip to content

Commit

Permalink
Merge pull request #26 from Endurance-Soft/APM-34-feature/tabs
Browse files Browse the repository at this point in the history
APM-34-feature/tabs
  • Loading branch information
dotM87 authored Apr 14, 2024
2 parents 399389c + dbf6607 commit 21761ca
Show file tree
Hide file tree
Showing 23 changed files with 1,468 additions and 125 deletions.
14 changes: 7 additions & 7 deletions .env
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"
16 changes: 6 additions & 10 deletions app.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import "dotenv/config";

export default{
expo: {
name: "avi-pro-mobile",
Expand Down Expand Up @@ -35,8 +33,13 @@ export default{
foregroundImage: "./assets/adaptive-icon.png",
backgroundColor: "#ffffff"
},
package: "com.endurancesoft.avipromobile"
package: "com.endurancesoft.avipromobile",
googleServicesFile: "./google-services.json",
},
plugins: [
"@react-native-firebase/app",
"@react-native-firebase/auth",
],
web: {
favicon: "./assets/favicon.png"
},
Expand All @@ -45,13 +48,6 @@ export default{
projectId: "68722059-896d-4f90-9039-57984284a8d6",
owner: "endurancesoft",
},
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,
}
},
};
1 change: 1 addition & 0 deletions assets/tabs/file-list-3-fill.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions assets/tabs/file-list-3-line.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions assets/tabs/home-6-fill.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions assets/tabs/home-6-line.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions assets/tabs/stack-fill.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions assets/tabs/stack-line.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
25 changes: 12 additions & 13 deletions config/firebase.js
Original file line number Diff line number Diff line change
@@ -1,21 +1,20 @@
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';

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 };
29 changes: 29 additions & 0 deletions google-services.json
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"
}
Loading

0 comments on commit 21761ca

Please sign in to comment.