achorein / expo-share-intent

🚀 Simple share intent in an Expo Native Module
MIT License
119 stars 10 forks source link

How to close the app after a successful share? #70

Open Mohamed3on opened 1 month ago

Mohamed3on commented 1 month ago

After something was shared successfully, how can we close the share extension and return to the sharing app? resetShareIntent only resets the view within our app, but doesn't exit it.

This is how expo-share-extension does it:

image

Is there a way to achieve the same thing here?

achorein commented 3 weeks ago

at the moment expo-share-intent doesn't handle this. We need to add specific code to the native module to achieve this. @Mohamed3on what about using https://github.com/wumke/react-native-exit-app ? (but not an expo plugin :/)