react-native-share-menu icon indicating copy to clipboard operation
react-native-share-menu copied to clipboard

Fix detach view delegate

Open ryanlntn opened this issue 2 years ago • 0 comments

Fixes: https://github.com/Expensify/react-native-share-menu/issues/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.

ryanlntn avatar Sep 08 '23 19:09 ryanlntn