Skip to content
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

React Native 0.59+ URLSearchParams 'Error: not implemented' #515

Closed
adrhub opened this issue Dec 23, 2019 · 0 comments · Fixed by #531
Closed

React Native 0.59+ URLSearchParams 'Error: not implemented' #515

adrhub opened this issue Dec 23, 2019 · 0 comments · Fixed by #531

Comments

@adrhub
Copy link

adrhub commented Dec 23, 2019

Hi, i am trying to upgrade deepstream js client to v4, on React Native 0.61 but application seems to fail on this line of code:
const client = new DeepstreamClient(url)

because on pareseUrl it is calling URL.host and reaches the following code that throws an exception:
https://github.com/facebook/react-native/blob/e6057095adfdc77ccbbff1c97b1e86b06dae340b/Libraries/Blob/URL.js#L157-L159

Capture

Also i get this warning when removing the validation buy it might be another issue not related to this one
Capture

I've tried solutions described here [0.59.x] URLSearchParams 'Error: not implemented' but nothing seems to work.
Note: Client version 2.3.4 seems to work fine.

Is there any chance to support deepstream client v4+ on React Native v0.59+ ?
My dependencies are:

"react": "16.9.0",
"react-native": "0.61.2",
"@deepstream/client": "^4.1.3",
"url": "^0.11.0"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant