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 detach view delegate #271

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ryanlntn
Copy link
Contributor

@ryanlntn ryanlntn commented Sep 8, 2023

Fixes: #230

Moving detachViewDelegate to viewDidDisappear fixes swipe to dismiss but unfortunately it doesn't appear to get called consistently when leaving the share extension with continueInApp, openApp, or dismissExtension. This updates those methods to also detachViewDelegate fixing the subsequent crash on launch.

Copy link

@jorgegvallejo jorgegvallejo left a comment

Choose a reason for hiding this comment

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

Tests ok on RN 0.70.3

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.

continueInApp() only works every other time
2 participants