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

Share extension opens up different instance of application #202

Open
rutujayewalekar29 opened this issue Jan 18, 2020 · 4 comments
Open

Comments

@rutujayewalekar29
Copy link

I am using react native share extension on android. When I share from any other app to my app, it launches a different instance of my application even though an application is already running in background. I want the share to open the already existing instance of the application. How do I achieve this ?

@ammarahm-ed
Copy link

use android:launchMode="singleInstance" in tag in AndroidManifest.xml

@YeshanJay
Copy link

What about for iOS?

@rutujayewalekar29
Copy link
Author

Setting launchMode "singleTask" in AndroidManifest.xml worked for me

@ajith-ab
Copy link

i ve used this package with all new features with react native greater than 0.60 support react-native-receive-sharing-intent

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

No branches or pull requests

4 participants