-
Notifications
You must be signed in to change notification settings - Fork 21
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
Error: Cannot create URL for blob #223
Comments
Thanks for sending this! Hmm, do you have a repro case? 🤔 We should make sure to cover this with tests. |
More or less. 😅 |
@charpeni you can find a repro at https://github.com/ipfs-shipyard/react-native-ipfs-demo. Check out branch |
Ping @charpeni. Did you have a look at this in the meantime? |
@acostalima Sorry for the delay here! I'm struggling to find the time to work on this, but I'm definitely planning on looking at this as well as updating the whole package. To be honest, I think your patch seems like a good candidate, I just need to find the time to work on this. |
@charpeni no worries! Please take your time. |
I can reproduce this exact same issue on RN 0.63.3. |
@charpeni I've submitted a possible fix |
The issue apparently lies in
NativeModules
. The import isundefined
and, thus,BLOB_URL_PREFIX
remainsnull
. This patch fixes the problem.Has anyone else experienced this as well? It's happening on RN v0.63.2 on my end.
@charpeni, let know if you want me to open a PR to address this.
Related: ipfs/js-ipfs#2813
The text was updated successfully, but these errors were encountered: