Skip to content

Commit

Permalink
para que funcione
Browse files Browse the repository at this point in the history
  • Loading branch information
judithmarg committed Mar 23, 2024
1 parent 40a49fb commit ff02ed0
Show file tree
Hide file tree
Showing 3 changed files with 706 additions and 9 deletions.
18 changes: 9 additions & 9 deletions config/firebase.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,19 @@ import { getAuth } from "firebase/auth";
import { getFirestore } from "firebase/firestore";
import Constants from "expo-constants";
import { getAnalytics } from "firebase/analytics";
import 'dotenv/config';
// 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: "AIzaSyBiWzVuJjqL3N6zkzB2UbBaFPDWeZ1aMc0",
authDomain: "avi-pro-mobile.firebaseapp.com",
projectId: "avi-pro-mobile",
storageBucket: "avi-pro-mobile.appspot.com",
messagingSenderId: "714379198452",
appId: "1:714379198452:web:53e907ba46c524e06403a1",
measurementId: "G-XVHVGNEVGE",
};

const app = initializeApp(firebaseConfig);
export const auth = getAuth();
export const database = getFirestore();
export const analytics = getAnalytics(app);
export const analytics = getAnalytics(app);
Loading

0 comments on commit ff02ed0

Please sign in to comment.