react-native-firebase-hooks icon indicating copy to clipboard operation
react-native-firebase-hooks copied to clipboard

Warning of v8 method is deprecated

Open akashthapa opened this issue 10 months ago • 1 comments

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]

Image

akashthapa avatar Feb 10 '25 10:02 akashthapa

Sorry, they have already mentioned about v9 compatibility in their project's readme. So I am closing it.

Image

akashthapa avatar Feb 10 '25 11:02 akashthapa