images_picker icon indicating copy to clipboard operation
images_picker copied to clipboard

Update Permission for Android 13

Open DucLongDTH opened this issue 2 years ago • 9 comments

Hi , can you update lib for android 13 have permission read and write data Screenshot_1663666521 I also allow Screenshot_1663666582 ed all the permissions but when back to my app there is no change !

DucLongDTH avatar Sep 20 '22 09:09 DucLongDTH

Any update on this?

Starkm12 avatar Oct 20 '22 19:10 Starkm12

Hi, the problem is not strictly related to the package (images_picker), but it is a modification of the permissions Android 13

source 1: https://developer.android.com/about/versions/13/behavior-changes-13

source 2: https://issuetracker.google.com/issues/228868661

I solved it by adding these permissions to .. \ android \ app \ src \ main \ AndroidManifest.xml

and modifying .. \ android \ app \ build.gradle

targetSdkVersion 32 instead of -> targetSdkVersion 33 compileSdkVersion 33

An5675 avatar Oct 26 '22 12:10 An5675

Any update on this?

yah, not yet, i fixed the native library but i can't implement into my fork. The problem appears in a native library when it is too old

DucLongDTH avatar Oct 26 '22 12:10 DucLongDTH

Hi, the problem is not strictly related to the package (images_picker), but it is a modification of the permissions Android 13

source 1: https://developer.android.com/about/versions/13/behavior-changes-13

source 2: https://issuetracker.google.com/issues/228868661

I solved it by adding these permissions to .. \ android \ app \ src \ main \ AndroidManifest.xml

and modifying .. \ android \ app \ build.gradle

targetSdkVersion 32 instead of -> targetSdkVersion 33 compileSdkVersion 33

yes, i already do it but btw I used another library and i can set to targetSdkVersion 33 compileSdkVersion 33 ^^

DucLongDTH avatar Oct 26 '22 12:10 DucLongDTH

@DucLongDTH it is possible for you submit a pull request or publish this changes to another pub ?

leonardobenedeti avatar Jul 12 '23 15:07 leonardobenedeti

@DucLongDTH it is possible for you submit a pull request or publish this changes to another pub ?

@leonardobenedeti i think this pub libary not updated or updated in this lib: https://pub.dev/packages/image_pickers. this support android 13

DucLongDTH avatar Aug 23 '23 15:08 DucLongDTH

@DucLongDTH how can I fix this in the native?

lamlengend98 avatar Oct 27 '23 05:10 lamlengend98

@DucLongDTH how can I fix this in the native?

Cannot update in native code, you can use package image_pickers, the update version of this package

LongND-NTQ avatar Oct 27 '23 05:10 LongND-NTQ

Hi, the problem is not strictly related to the package (images_picker), but it is a modification of the permissions Android 13

source 1: https://developer.android.com/about/versions/13/behavior-changes-13

source 2: https://issuetracker.google.com/issues/228868661

I solved it by adding these permissions to .. \ android \ app \ src \ main \ AndroidManifest.xml

and modifying .. \ android \ app \ build.gradle

targetSdkVersion 32 instead of -> targetSdkVersion 33 compileSdkVersion 33

@An5675 I am trying but it is not working my project ?

Any other solution ?

roshansrashtasoft avatar Mar 15 '24 11:03 roshansrashtasoft