receive_sharing_intent icon indicating copy to clipboard operation
receive_sharing_intent copied to clipboard

Duplicate instances received

Open xl-hacker opened this issue 3 years ago • 2 comments

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 avatar Apr 30 '21 01:04 xl-hacker

@xl-hacker can you share the code snippet here for better understanding your problem?

GobindaSaha avatar May 08 '21 07:05 GobindaSaha

you can use this method to clear out the callbacks once you've dealt with them

ReceiveSharingIntent.reset();

100lvlmaster avatar May 31 '21 05:05 100lvlmaster