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(JS): safety check on resolve uri #3915

Merged

Conversation

freeboub
Copy link
Collaborator

Summary

Add safety check on resolveAssetUri function call

Motivation

I found the issue once, but I think it can heppen during development phase. It will avoid a crash and give informations to app developer

Changes

Refactor resolveAssetSource to check result and avoid undefined.uri call

Test plan

N/A

freeboub and others added 23 commits May 5, 2024 21:06
…ideo

# Conflicts:
#	android/src/main/java/com/brentvatne/exoplayer/ReactExoplayerViewManager.java
#	src/Video.tsx
…fix/avoidVideoResizingFlickering

# Conflicts:
#	.github/ISSUE_TEMPLATE/bug-report.yml
* fix: ensure player doesn't start when view is unmounted
Copy link
Collaborator

@KrzysztofMoch KrzysztofMoch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This makes sense - I also saw this error/crash on my friend's application

@freeboub freeboub merged commit 84bb910 into TheWidlarzGroup:master Jun 20, 2024
2 checks passed
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.

2 participants