react-native error after import firebase
Follow this pattern the error will be resolved the issue is due to upgradation in Firebase
repo:
import React, {Component} from 'react';
import {Text, View} from 'react-native';
// import firebase from 'firebase';
import firebase from '@firebase/app'
import { Header } from './Components/Common';