html5-qrcode: [Safari] The library doesn't seem to remember the camera permission

rememberLastUsedCamera permission doesnt seem to work on Safari.

  • Works on Chrome.

Desktop (please complete the following information):

  • OS: Mac OS Big Sur 11.6
  • Browser: Safari
  • Version: 15.0

About this issue

  • Original URL
  • State: open
  • Created 3 years ago
  • Reactions: 1
  • Comments: 20 (3 by maintainers)

Most upvoted comments

It’s not supported on iOS. It’s a platform limitation will share more details on this thread soon.

On Thu, Dec 8, 2022, 22:36 Nick Versteeg @.***> wrote:

I just ran into this issue myself. I was wondering if there’s any progress with remembering permissions on iOS; asking our users to give camera permissions every time the app is restarted is not very desirable.

— Reply to this email directly, view it on GitHub https://github.com/mebjas/html5-qrcode/issues/332#issuecomment-1342831824, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAW6HBMN2Y7YBTFROAIPVHLWMHW5HANCNFSM5GYGNFUA . You are receiving this because you were assigned.Message ID: @.***>

it’s a IOS limitation, you have to allow your cam everytime when you close and start a browser, unless if you do what it said above like

Hi @mebjas

I will check this issue.

Regards,