ssrajasekaran commented on issue #797:
URL:
https://github.com/apache/cordova-plugin-camera/issues/797#issuecomment-1643056827
I think it should be a bug in api 33. It could be override by removing for
loop in below code
``` public void onRequestPermissionResult(int requestCode, String[]
permissions,
int[] grantResults) {
for (int r : grantResults) {
System.out.println("PHOTO DEBUG - " + r);
/* if (r == PackageManager.PERMISSION_DENIED) {
this.callbackContext.sendPluginResult(new
PluginResult(PluginResult.Status.ERROR, PERMISSION_DENIED_ERROR));
System.out.println("PHOTO DEBUG - " + r);
return;
}
*/
}
switch (requestCode) {
case TAKE_PIC_SEC:
takePicture(this.destType, this.encodingType);
break;
case SAVE_TO_ALBUM_SEC:
this.getImage(this.srcType, this.destType);
break;
}
}```
On Wed, 19 Jul, 2023, 10:45 pm vaibhav65577, ***@***.***>
wrote:
> Hi @AndrWeisR <https://github.com/AndrWeisR> ,
> I had similar issue how can I fix that?
>
> Can you provide exact solution /steps to fix this
>
> —
> Reply to this email directly, view it on GitHub
>
<https://github.com/apache/cordova-plugin-camera/issues/797#issuecomment-1642461847>,
> or unsubscribe
>
<https://github.com/notifications/unsubscribe-auth/AEYQQJQSHOAHDMHHYQYSLZTXRAI25ANCNFSM52E6T4NQ>
> .
> You are receiving this because you commented.Message ID:
> ***@***.***>
>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]