ionic-team / capacitor-barcode-scanner

https://capacitorjs.com/docs/apis/barcode-scanner
MIT License
14 stars 14 forks source link

Add a way to customize/translate the "Camera Access Not Enabled" modal #25

Open loic-parent opened 3 months ago

loic-parent commented 3 months ago

Hello,

I'm looking for a way to translate the texts in the modal that appears when the user reject the access permission to the camera.

  1. Is there a way to do this at the moment?
  2. If not, is it possible to add this feature?
  3. Also, is it possible to disable this modal to have a similar behavior as IOS?
Camera Access Not Enabled modal image

Thanks, Loïc

loic-parent commented 1 month ago

Hello,

No reply about this point?

Regards, Loïc

abennouna commented 2 weeks ago

We used the Camera plugin and its permission-related methods in order to work around that.

loic-parent commented 2 weeks ago

Hi @abennouna,

Thanks for your reply :) Ok, good to know. I'll probably do the same thing until this feature is added.