receive_sharing_intent
receive_sharing_intent copied to clipboard
Duplicate instances received
I'm using this to get URLs shared to my app. However, after the first time the text is received, if I close and reopen the app, the same text is received again (via the listener), and this can happen many times creating duplicate copies. I'm using the same code as given in the example.
Do I need to clean out the data after I use it?
@xl-hacker can you share the code snippet here for better understanding your problem?
you can use this method to clear out the callbacks once you've dealt with them
ReceiveSharingIntent.reset();