Files
0xbizkandLucas Nogueira d80b1be257 feat: add torch plugin for iOS and Android (#3551)
* feat(barcode-scanner): add torch toggle

* feat: torch plugin

* fix

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2026-10-13 05:37:04 -03:00

1.6 KiB

Default Permission

This permission set configures which torch features are by default exposed.

Granted Permissions

It allows all torch related features.

This default permission set includes the following:

  • allow-disable
  • allow-enable
  • allow-is-available
  • allow-is-enabled
  • allow-toggle

Permission Table

Identifier Description

torch:allow-disable

Enables the disable command without any pre-configured scope.

torch:deny-disable

Denies the disable command without any pre-configured scope.

torch:allow-enable

Enables the enable command without any pre-configured scope.

torch:deny-enable

Denies the enable command without any pre-configured scope.

torch:allow-is-available

Enables the is_available command without any pre-configured scope.

torch:deny-is-available

Denies the is_available command without any pre-configured scope.

torch:allow-is-enabled

Enables the is_enabled command without any pre-configured scope.

torch:deny-is-enabled

Denies the is_enabled command without any pre-configured scope.

torch:allow-toggle

Enables the toggle command without any pre-configured scope.

torch:deny-toggle

Denies the toggle command without any pre-configured scope.