-
Notifications
You must be signed in to change notification settings - Fork 235
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
Prevent sharing actions from creating new instances of the App #25
Comments
Add to your app android manifest: For receiving data when app is open you need to add an Event Emitter to the module. |
@caiosba did you manage to work on this issue? any resolution? |
I didn't look at it deeply again yet, but when I do, I will take a look at those two commits: pedroordep@156ab35 and Minds@64bb761... you can look at them too :) |
That worked for me, thanks |
Thanks all, I updated the README. |
On Android, when any other application uses the system share menu to open and send data to the Application, a new instance is created.
A common way to prevent it would be just forcing
singleInstance
orsingleTask
inAndroidManifest.xml
:But when this is set the following error is thrown:
The text was updated successfully, but these errors were encountered: