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

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

Open
Mohamed3on opened this issue Jun 8, 2024 · 1 comment · May be fixed by #73
Open

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

Mohamed3on opened this issue Jun 8, 2024 · 1 comment · May be fixed by #73
Labels
android enhancement New feature or request ios

Comments

@Mohamed3on
Copy link

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
Copy link
Owner

achorein commented Jun 11, 2024

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 :/)

@achorein achorein added enhancement New feature or request android ios labels Jun 11, 2024
@achorein achorein linked a pull request Jun 24, 2024 that will close this issue
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
android enhancement New feature or request ios
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants