-
Hello, In our react-native project, we are currently using "react": "16.8.3", I have upgraded the modules to "react": "16.13.1", but I am getting an error on native android side, since Firebase can be accessed on native android before from this version of the library "react-native-firebase": "5.5.4", How can Firebase be accessed on native android using this new version "@react-native-firebase/app": "8.4.7" ? I tried to unlink and link manually, but I did not work. These are the screenshots. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi there! This is not a react-native-firebase problem, it's just a generic java code problem for Android. |
Beta Was this translation helpful? Give feedback.
Hi there! This is not a react-native-firebase problem, it's just a generic java code problem for Android.
The symbols you want are defined by firebase-android-sdk and if you are accessing them natively (outside the context of react-native-firebase access in javascript), then you need to follow the native instructions from the upstream library. Here's their example for accessing the database natively: https://github.com/firebase/quickstart-android/tree/master/database