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

fix: check for ios url query encoding #3384

Merged
merged 1 commit into from
Nov 26, 2023

Conversation

JuozasP
Copy link
Contributor

@JuozasP JuozasP commented Nov 26, 2023

This adds url encoding for ios and fixes an old issue #1566. Loading a video with spaces in the URL on a physical iOS device fails and results in endless spinner

Example

<Video source={{ uri: 'https://mwcdn.inthecloud.ai/video/6fd96c55-190c-420c-8b0d-ca5fca4f980bMOBILITY LESSON 1_500mb_a641540df031561e2833e0436c1e411f.mp4', }} style={{ height: 200, width: 200, }} />

Device

  • iPhone 6s
  • iOS 13.7

@freeboub freeboub merged commit de4159f into TheWidlarzGroup:master Nov 26, 2023
1 check passed
@JuozasP JuozasP deleted the fix/ios-url-query branch December 1, 2023 17:37
@freeboub
Copy link
Collaborator

Be careful @JuozasP I revert your PR as it causes some bad behavior. Please url encode your props before passing it to rnv. I also added a note in doc for tjis behavior. Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants