react-native-url-polyfill
react-native-url-polyfill copied to clipboard
Release for RN 0.78 support
Thanks for the great work on this project!
I noticed that a fix targeting react-native 0.78 I’m interested in has already been merged into master https://github.com/charpeni/react-native-url-polyfill/commit/6160f008556ce0497705761423a730cc5aa16a17. I was wondering if there’s an estimated timeline for the next release that will include this fix?
Appreciate your time, and thanks again!
@bacarybruno is it creating an issue in your app? If so, happy to release today (in a few hours).
To be honest, I haven't tested it on my app. We're planning a migration to React Native 0.78. I was just checking the latest updates on the package and found that one that I thought was important to reduce migration risks.
Edit: we are not using the blob polyfill so it does work
Turns out we are not using the Blob polyfill. It's not a blocker for our upgrade but it would be more reassuring to have it before
@bacarybruno is it creating an issue in your app? If so, happy to release today (in a few hours).
After I upgraded to RN 0.78, the library failed to parse the URL with # and could not get the parameter value.
For example:
const url = new URL('http://bsp.example.com/scan?SN=#980ant7k1f');
const sn = url.searchParams.get('SN');
console.log('param', sn);
@bacarybruno I am currently on react-native 0.81.4 with node 20.19.4 and URL doesn't work at all, like lib isn't there.
Getting the CI pipeline back to life and will release a new version.
@charpeni When can we expect the new version
It was released a few seconds ago as 3.0.0! :tada: