Camera Issues (Android 11 and 12)
rajeshvexil opened this issue · comments
This is not working on latest device like android 11 and 12.
please read #875
And update to the new repository
Please close this issue.
So the Warning can be more visible
Please send me simple code of java
…On Fri, Jul 29, 2022 at 4:54 PM Canato ***@***.***> wrote:
please read #875
<#875>
And update to the new repository
Please close this issue.
So the Warning can be more visible
—
Reply to this email directly, view it on GitHub
<#885 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AY4C4GXX6EJJVGXGV55FPSLVWO5PBANCNFSM54SFXMZA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
--
Best Regards
*Rajesh Prajapati (Android Developer)*
Vexil* Infotech Pvt Ltd*
Lucknow - 226016
In android 11 and android 12 device after capture resultCode is 0 that means activity.RESULT_CANCELED. but expected resultCode is -1 that means activity.RESULT_OK
protected void onActivityResult(int requestCode, int resultCode, Intent result) {
super.onActivityResult(requestCode, resultCode, result);
if (requestCode == CropImage.PICK_IMAGE_CHOOSER_REQUEST_CODE && resultCode == Activity.RESULT_OK) {
really it's not working for 11 & 12 android version, please see the another crop image.