Skip to content

Cannot find symbol import com.google.firebase.FirebaseApp; #4506

Answered by mikehardy
jesse-ppd asked this question in Q&A
Discussion options

You must be logged in to vote

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

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@jesse-ppd
Comment options

Answer selected by jesse-ppd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants