42
Views
0
Comments
[Barcode Plugin] Can I have PWA app remember camera permission?
Question
barcode-plugin
Mobile icon
Forge asset by OutSystems
Application Type
Mobile

Hi,

Situation

I am testing Barcode Plugin version 5.1.5 on iOS 16.4.

When calling ScanBarcode action for the first time of every application launch, a popup '"Platform url" Would Like to Access the Camera' is shown. However, Camera Plugin's TakePicture action doesn't show that popup.

Possible workaround

If users allow Safari camera access in advance, the popup is not shown.

iOS > settings app > Safari > Camera > Select Allow

I think it's a bit too permissive.

Question

Is there any way to have Barcode Plugin in PWA app work like Camera Plugin (working without permission popup) or remember the user's permission for camera usage per app?

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.