ionic-team / ionic-team/capacitor-barcode-scanner

Android Permission Behaving Strangely

Open
#78 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
64
Forks
47
Avg merge
1h 55m
Merged PRs (30d)
1

Description

Tested in Android 13 Real Device.

If you start the scan for the first time, it will ask for camera permission, but if the user selects the option to only allow "one time" the plugin never shows the prompt again, when it should.

Now, if the user opts for don't permit then the modal pops up alerting the user to go to settings, works fine.
but then, if the user selects for android to prompt him everytime, when he tries again to scan, the permission will still show as denied, only going away if he chooses to always give permission.

this is some strange behavior which is not inline even with the camera plugin which shows "prompt" | "granted" | "denied" accoardingly.

I checked the repo and it just throws error based on the outsystem plugin. maybe it's an error by the third party plugin? one of the downsides of choosing to use a third party...

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.