miguelpruivo/flutter_file_picker

Add `maxSdkVersion`

Closed this issue · 3 comments

Since READ_EXTERNAL_STORAGE is being used till API 32, we can add the maxSdkVersion in the <uses-permission>.
See https://developer.android.com/guide/topics/manifest/uses-permission-element

We can add like this:

AndroidManifest.xml

<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" android:maxSdkVersion="32"/>

Feel free to open a PR to fix this. I'll do a review when I have some time.

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

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