import { initializeApp } from '@react-native-firebase/app';
import auth from '@react-native-firebase/auth';

const firebaseConfig = {
  apiKey: "AIzaSyCpATgMXv9Pu3coBwljh0uv9I9ciFkBJIA",
  authDomain: "sologin-55bbd.firebaseapp.com",
  projectId: "sologin-55bbd",
  storageBucket: "sologin-55bbd.firebasestorage.app",
  messagingSenderId: "652710461284",
  appId: "1:652710461284:web:cb86f9afb033a5bcf54471",
  measurementId: "G-Q6H1J4E92L",
};

const app = initializeApp(firebaseConfig); // Initialize app.
const authInstance = auth(app); // Access auth instance.

export { app, authInstance };
