This is most probably happening because you cannot import as you did in your code.
As the documentation states for import
:
The export parameters specify individual named exports, while the
import * as name
syntax imports all of them. Below are examples to clarify the syntax.
You need to put there an alias, if you need all of the exported objects from a library as the following:
import * as auth from '@react-native-firebase/auth';
I hope that helps!
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.