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(android): track selection parameter has change in last release. #3594

Merged

Conversation

freeboub
Copy link
Collaborator

@freeboub freeboub commented Mar 21, 2024

Summary

Move all setSelectedTrack to String instead of Dynamic
Fix regression introduced by: #3487

Motivation

Typing of native module changed from String|Int to String only
Will fix: #3592

Changes

  • Move Dynamics to Strings on Java side
  • Fix crash issue in sample

Test plan

Tested on sample by hardcoding the value like in the opened ticket: #3592

Move all setSelectedTrack to String instead of Dynamic
@freeboub freeboub requested a review from KrzysztofMoch March 21, 2024 13:14
@freeboub
Copy link
Collaborator Author

ping @yungblud

@freeboub freeboub merged commit d5c8b51 into TheWidlarzGroup:master Mar 22, 2024
3 checks passed
@yungblud
Copy link
Contributor

ping @yungblud

@freeboub sorry for the late reply.
Seems like the bug was from my PR.
I will have a look

@freeboub
Copy link
Collaborator Author

ping @yungblud

@freeboub sorry for the late reply.
Seems like the bug was from my PR.
I will have a look

@yungblud it's ok, it is more for information (just to explain why I was afraid to merge very big PR). This PR fix the issue, 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.

[BUG]: Error while updating 'SelectedTextTrack'
3 participants