Warning of v8 method is deprecated
import firestore from '@react-native-firebase/firestore'; import { useCollection } from '@skillnation/react-native-firebase-hooks/firestore'; import React from 'react'; import { ScrollView, View } from 'react-native'; ... const poolsCollection = firestore().collection('pools');
const PoolsList = () => { const [pools, loading, error] = useCollection(poolsCollection); -----------------------------------------^ this line
(NOBRIDGE) WARN This v8 method is deprecated and will be removed in the next major release as part of move to match Firebase Web modular v9 SDK API. Please use getApp() instead. [Component Stack]
Sorry, they have already mentioned about v9 compatibility in their project's readme. So I am closing it.