-
Notifications
You must be signed in to change notification settings - Fork 928
Uncaught (in promise) unimplemented
being thrown when calling loadBundle from firebase/firestore
#5838
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
Comments
Can you let us know a little more about your setup? Where are you running this? You are likely missing polyfills for TextEncoder, but I cannot say without knowing more about your environment. |
A react app with firebase/firestore imports. |
@wu-hui We likely need to use a different TextEncoder/TextDecoder for ReactNative. @Jac0xb You should be able to work around this in the meantime by polyfilling a TextEncoder such as https://github.com/samthor/fast-text-encoding |
Requiring fast texting encoding still throws the error, do I need to override a global with the require? |
Hello! I stumbled across this today, when trying to load a bundle on the client using an Although this error is thrown, the loading of the bundle works as expected. Anyone from Google who can verify my suspicion? |
[REQUIRED] Describe your environment
[REQUIRED] Describe the problem
Uncaught (in promise) unimplemented
being thrown when callingloadBundle
Being thrown from:
https://github.com/firebase/firebase-js-sdk/blob/cdada6c68f9740d13dd6674bcb658e28e68253b6/packages/firestore/src/util/byte_stream.ts
Steps to reproduce:
Relevant Code:
The text was updated successfully, but these errors were encountered: