-
Notifications
You must be signed in to change notification settings - Fork 8
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
Help wanted for react native v0.64 #1
Comments
@ravi0the0sun, sorry for the late reply. You're using HTTP client v50.1.1 while the demo is currently using v48.2.0. Did you check whether breaking changes were introduced between v48 and v50? |
Thanks for replying @acostalima i tried out a demo app with the v48.2.0 but the error still exist i think its because of the react native version. "dependencies": {
"base-64": "^1.0.0",
"ipfs-http-client": "^48.2.0",
"multiaddr": "^10.0.0",
"react": "17.0.1",
"react-native": "0.64.2",
"react-native-fetch-api": "^2.0.0",
"react-native-get-random-values": "^1.7.0",
"react-native-polyfill-globals": "^3.1.0",
"react-native-url-polyfill": "^1.3.0",
"text-encoding": "^0.7.0",
"util": "^0.12.4",
"web-streams-polyfill": "^3.0.3"
}, |
@ravi0the0sun I don't know when I'll have the chance to look into this. Meanwhile, feel free to dig deeper and create a PR if you manage to fix the issue. Thanks! |
Did you find a solution? |
@jcoulaud try to let the error bubble up to see if you can get a stack trace... |
@acostalima, I can't find any, unfortunately. It's a bit of a generic error that does not lead to anything. What was yours? |
When I put this demo together, everything was working fine so I don't recall getting this error when using |
@acostalima the demo is working fine :) It's on new React Native versions that it's breaking. |
Ah, I see! 😄 I've just took a quick look at ipfs/js-ipfs#3751, and there's a good chance the error reported by @ravi0the0sun may lie in |
All right, thank you! |
@acostalima I got the same error could you tell me how to solve it? |
@jcoulaud Could you help me to solve this problem? 🙇 |
React Native Version
0.64.1
IPFS HTTP Client version
^50.1.1
Platform
IOS
Hi there, when i try to use
add
function it give an error ofExample of code
More info of enviroment
The text was updated successfully, but these errors were encountered: