-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[🐛] Firestore get document doesn't work in production #7804
Comments
I think this a duplicate, have you searched the issues list? |
Hi @mikehardy , the other ticket mentioned it was specific to and firestore v20.0.0 react native v0.74.1. should i close this issue and comment that its happening on the version i'm on too ? |
Yes, I think v20 is the common denominator |
@mikehardy I downgraded all react-native-firebase dependencies to v19.3.0 and it's still not working. I'd really appriciate some help on this, it blocking my release and i'm totally stuck. |
Sorry I cannot reproduce so I'm not sure what is going on, that version was out for quite a while with no changes though so it's unlikely the problem is located in this repo. Where is the problem? Unknown Is it platform or device specific or specific to mobile os version? |
Hey @mikehardy, it turns out that the issue isn't caused by this repo, i'll close this bug report. apologies for confusion. Just incase it helps, i'm using |
Issue
I recently migrated my expo app to use react-native-firebase instead of bare firebase module. But when i pushed the changes to production, the react-native-firebase/firestore module return an null every time . I kept some functions that still use firebase/firestore modules and they still work (for documents that don't need auth permissions). bellow is the code i'm using to test the scenerios:
code i'm using to test
The problem is only happening in production and i don't have good loging setup currently. I'd really appreciate help figuring out what is going wrong.
Project Files
Javascript
Click To Expand
package.json
:firebase.json
for react-native-firebase v6:# N/A
iOS
Click To Expand
ios/Podfile
:AppDelegate.m
:// N/A
Android
Click To Expand
Have you converted to AndroidX?
android/gradle.settings
jetifier=true
for Android compatibility?jetifier
for react-native compatibility?android/build.gradle
:// N/A
android/app/build.gradle
:// N/A
android/settings.gradle
:// N/A
MainApplication.java
:// N/A
AndroidManifest.xml
:<!-- N/A -->
Environment
Click To Expand
react-native info
output:react-native-firebase
version you're using that has this issue:20.0.0
Firebase
module(s) you're using that has the issue:react-native-firebase/firestore v20.0.0
TypeScript
?Y
&5.1.3
React Native Firebase
andInvertase
on Twitter for updates on the library.The text was updated successfully, but these errors were encountered: