-
Notifications
You must be signed in to change notification settings - Fork 29.8k
Description
Hi,
I have recently updated my image picker version and I have encountered a few changes problems.
- Your readme says that
API 29+
No configuration required - the plugin should work out of the box.
API < 29
Add android:requestLegacyExternalStorage="true" as an attribute to the <application> tag in AndroidManifest.xml. The attribute is false by default on apps targeting Android Q.
Correct me if I'm wrong but aren't these the wrong way around?
-
The version I was on also did not talk about MainActivity being destroyed by android in the readme... Is this a problem that was present on older versions or has this been caused by something in the newer versions of the imagepicker.
-
I am having trouble implementing my version of
retrieveLostData()mainly because I cant seem to be able to recreate the error. Is there a method I can use that will force the Main Activity to be destroyed so I can test my future builder logic? -
Furthermore I use the provider package to manage my application state which I alter when picking images. I can't tell if i need to update state again when the main activity is destroyed or if the current data will persist (as it hasn't ever happened). I imagine the answer to number 3 will help answer this.
Please can you help debug this as I currently have code written that has never ran and I can't recreate a scenario that will cause retrieveLostData() to be called.