Skip to content

Fixing android unattach bug#14

Open
emmyrlim wants to merge 2 commits intostatus-im:mainfrom
emmyrlim:fixing-android-unattach-bug
Open

Fixing android unattach bug#14
emmyrlim wants to merge 2 commits intostatus-im:mainfrom
emmyrlim:fixing-android-unattach-bug

Conversation

@emmyrlim
Copy link
Copy Markdown

There is a bug with the current implementation - if the user navigates away from the page, the video is removed. When the user navigates back and a new element is not created, there is no longer anything playing.

I'm moving instead to another lifecycle method, onDropViewInstance for everything cleanup related. This way the video is not removed if the element is not removed.

Also removing sInstances from the view manager because as far as i can tell it's not doing anything.

@emmyrlim emmyrlim marked this pull request as draft February 20, 2024 13:57
@emmyrlim emmyrlim marked this pull request as ready for review February 20, 2024 13:57
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.

1 participant