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

How to retrieve lost data in Android when it kills the MainActivity? #733

Closed
letsar opened this issue May 28, 2021 · 3 comments
Closed

How to retrieve lost data in Android when it kills the MainActivity? #733

letsar opened this issue May 28, 2021 · 3 comments
Labels
android Issue applies to Android platform feature New feature stale

Comments

@letsar
Copy link

letsar commented May 28, 2021

Sorry if this has already been asked, I searched, but I didn't find something related to what I'm looking for.

For the moment I use https://pub.dev/packages/image_picker to get images from the user gallery, but I want the user to be able to open any file. So this package seems to fit my needs. However, on Android if the flutter activity is killed after the user confirmed their selection, I don't know how to get these files.

image_picker has a retrieveLostData method to get this kind of things (https://pub.dev/packages/image_picker#handling-mainactivity-destruction-on-android). Does this package has something related to this feature?

@letsar letsar added the new issue An issue that hasn't yet been seen from the maintainer label May 28, 2021
@miguelpruivo
Copy link
Owner

Hi @letsar, I believe there is a pending PR regarding this, however, it’s been a while and I believe it may need to be redone.

Currently there isn’t such feature, but it should be added.

@miguelpruivo miguelpruivo added android Issue applies to Android platform feature New feature and removed new issue An issue that hasn't yet been seen from the maintainer labels Jun 3, 2021
@github-actions
Copy link

This issue is stale because it has been open for 14 days with no activity.

@github-actions github-actions bot added the stale label Nov 11, 2021
@github-actions
Copy link

This issue was closed because it has been inactive for 14 days since being marked as stale.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
android Issue applies to Android platform feature New feature stale
Projects
None yet
Development

No branches or pull requests

2 participants