KamenGoranchev commented on issue #321: CB-14082: (iOS) Dismiss camera popover on permission denied URL: https://github.com/apache/cordova-plugin-camera/pull/321#issuecomment-388209021 @wtrocki Sorry I don't think I understand your question. The code above my changes is handling the situation correctly. It does show a custom alert and closes the camera popover when the user dismisses the alert. I wanted to simulate the same behavior also in case with the system camera permission alert. The problem there was that I could not register callback to the alert that pops up automatically , therefor I needed to request the permission manually. So if your question is why we don't do the same thing in the other case the answer is that it is already done there. Or if ask why we don't ask for the permission one more time when it is already denied the answer is that iOS does not support asking for the same permission if it is once denied.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org For additional commands, e-mail: commits-h...@cordova.apache.org