-
Notifications
You must be signed in to change notification settings - Fork 893
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
7.9.1 prevent the use of firestore in React Native #2667
Comments
I found a few problems with this issue:
|
@papay0 did you find any solution this problem? the realtime database is working fine but Firestore has some serious issue with the expo. need help |
I can confirm, I faced the same issue and downgrading to 7.9.0 solved the issue. |
@Edweis but downgrading to 7.9.0 doesnt solve my error. the warning is still showing in the console as atob is not found. |
Hi y'all, thanks for the inputs. I've tried replicating this issue so I could escalate this to our Firestore folks, but can't seem to replicate it or I might be missing something here. Here's my repro running in the browser with the help of this guide. If that's not the case, let me know so I can recreate a working repro and be able to reach out to right person. |
Sorry to hear this! Since both 7.9.0 and 7.9.1 seem to be broken in different ways, for now I recommend using 7.8.2 with React Native. |
I have tried this with many lower versions still not working the same error is showing. |
I tried tinkering with @rommelpe's repro, and Also, if someone could provide a minimal repro with the error, that would be greatly appreciated! |
Yes. Importing |
Please do you have an example |
Check out this question. I have posted my answer. |
This appears to still be an issue again in 7.14.3, only the workaround posted on StackOverflow no longer works. Is there another way to get around this? |
I'm running 7.14.5 on React 16.13.1 and it's OK :) |
Ok - I'm a total noob at react native so I must be doing something wrong. Can you explain in a bit of detail how you solved this, please? |
Ignore me, sorry! I didn't read the issue title properly - I am using React web not native! |
The workaround posted on StackOverflow worked for me, but it |
Does anyone know if this will be remedied soon or are react-native users planning to stay on version 7.9.0 ? |
In review now: #3198 |
When i go the atob and btoa route, I get this error after about 1 min 7 secs: does anyone know how to fix this? Also I saw that there was a pretty similar issue here: expo/expo#8130 , so these issues might be related! |
Upgraded to 7.15.2, Getting error when attempting to talk to firestore: firebase TypeError: util.base64.tI is not a function This only happens when running on iOS and Android, web works fine. |
FYI: The current SDK release is mostly broken for RN. I suggest using 71,5.0 with the atob/bota Polyfill (7.15.2 with Polyfill should also work). |
I upgraded to version 7.15.3 from 7.15.1 but still I cannot write data on cloud firestore in react native although it is written in the release notes that the problem is fixed. Have anyone tried the latest version? |
yes, it is correct, it throws an error when you try to write |
should I downgrade to other version which is working? |
yes, it goes back to 7.9.0. |
No I am using react native cli.. |
in that case I'm not sure which one to go back to |
@JoynerPerez1987 |
they just released a new version(7.15.4) and apparently there are still problems.https://firebase.google.com/support/release-notes/js |
Re-opening until #3251 lands. |
Hey,
Just quick FYI to tell you that it looks like 7.9.1 is preventing the use of firestore on React Native.
You can find the detail here.
Thanks!
The text was updated successfully, but these errors were encountered: