ministero-salute / it-dgc-verificaC19-android

VerificaC19 is the official Italian customization of the EU Digital COVID Certificate Verifier App for the Android Operating System
https://www.dgc.gov.it
Apache License 2.0
103 stars 54 forks source link

fix: handle no camera permissions #298

Closed nicola-95 closed 2 years ago

nicola-95 commented 2 years ago

This commit handles the situation when a user clicks on the scan button after denying the camera permissions to the app. Previously, nothing was shown to the user when isGranted is false due to the above case: now, an alert dialog will ask the user to open the settings to grant the required permissions to VerificaC19.