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

const firebaseConfig = {
  apiKey: 'AIzaSyBnFzHK6XAjxzcQAsg0hFbeRcon8ZMDvVw', // api_key → current_key
  authDomain: 'cpcargo-77d93.firebaseapp.com', // Firebase web SDK uchun qo‘shimcha, yo‘q bo‘lsa qoldirish mumkin
  projectId: 'cpcargo-77d93', // project_info → project_id
  storageBucket: 'cpcargo-77d93.firebasestorage.app', // project_info → storage_bucket
  messagingSenderId: '628048576398', // project_info → project_number
  appId: '1:628048576398:android:f93293c00f463267a92edf', // client_info → mobilesdk_app_id
};

// Firebase ilovasini initialize qilish
const app = initializeApp(firebaseConfig);

export default app;
