You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have two screens in my app first is Test screen and another one is Image upload screen,
When I share an image from the gallery, I then navigate to Image upload screen (my app contains logic for this which checks if image data is received with the help of ShareExtension.data() then it will navigate the user to Image upload screen ), when I have done with upload part then I managed to navigate to Test screen, but now if I press the home button (which makes the app in background state) then again If I open the app from the recent apps, I am again receiving the same image path. Which I don't want to receive because I am done with the upload part, which in result navigating user to the Image Upload screen.
I want to clear the image path stored in the native part, any workAround for this?.
I have tried ShareExtension.close() but it simply closes my application.
The text was updated successfully, but these errors were encountered:
Any solution to this? I am also facing the same issue and couldn't figure out how can I clear shared extension data without closing the app. For image each time, path in value is different so it's not possible to compare if it's the same old data and ignore.
I have two screens in my app first is
Test screen
and another one isImage upload screen
,When I share an image from the gallery, I then navigate to
Image upload screen
(my app contains logic for this which checks if image data is received with the help ofShareExtension.data()
then it will navigate the user toImage upload screen
), when I have done with upload part then I managed to navigate toTest screen
, but now if I press the home button (which makes the app in background state) then again If I open the app from the recent apps, I am again receiving the same image path. Which I don't want to receive because I am done with the upload part, which in result navigating user to theImage Upload screen
.I want to clear the image path stored in the native part, any workAround for this?.
I have tried
ShareExtension.close()
but it simply closes my application.The text was updated successfully, but these errors were encountered: