Back to Readest

Reference

apps/readest-app/src-tauri/plugins/tauri-plugin-native-bridge/permissions/autogenerated/reference.md

0.10.610.7 KB
Original Source

Default Permission

Default permissions for the plugin

This default permission set includes the following:

  • allow-auth-with-safari
  • allow-auth-with-custom-tab
  • allow-copy-uri-to-path
  • allow-use-background-audio
  • allow-install-package
  • allow-set-system-ui-visibility
  • allow-get-status-bar-height
  • allow-get-sys-fonts-list
  • allow-intercept-keys
  • allow-lock-screen-orientation
  • allow-iap-is-available
  • allow-iap-initialize
  • allow-iap-fetch-products
  • allow-iap-purchase-product
  • allow-iap-restore-purchases
  • allow-get-system-color-scheme
  • allow-get-safe-area-insets
  • allow-get-screen-brightness
  • allow-set-screen-brightness
  • allow-get-external-sdcard-path
  • allow-open-external-url
  • allow-select-directory
  • allow-get-storefront-region-code
  • allow-request-manage-storage-permission
  • allow-register-listener
  • allow-remove-listener
  • allow-check-permissions
  • allow-request-permissions
  • allow-checkPermissions
  • allow-requestPermissions

Permission Table

<table> <tr> <th>Identifier</th> <th>Description</th> </tr> <tr> <td>

native-bridge:allow-auth-with-custom-tab

</td> <td>

Enables the auth_with_custom_tab command without any pre-configured scope.

</td> </tr> <tr> <td>

native-bridge:deny-auth-with-custom-tab

</td> <td>

Denies the auth_with_custom_tab command without any pre-configured scope.

</td> </tr> <tr> <td>

native-bridge:allow-auth-with-safari

</td> <td>

Enables the auth_with_safari command without any pre-configured scope.

</td> </tr> <tr> <td>

native-bridge:deny-auth-with-safari

</td> <td>

Denies the auth_with_safari command without any pre-configured scope.

</td> </tr> <tr> <td>

native-bridge:allow-check-permissions

</td> <td>

Enables the check-permissions command without any pre-configured scope.

</td> </tr> <tr> <td>

native-bridge:deny-check-permissions

</td> <td>

Denies the check-permissions command without any pre-configured scope.

</td> </tr> <tr> <td>

native-bridge:allow-checkPermissions

</td> <td>

Enables the checkPermissions command without any pre-configured scope.

</td> </tr> <tr> <td>

native-bridge:deny-checkPermissions

</td> <td>

Denies the checkPermissions command without any pre-configured scope.

</td> </tr> <tr> <td>

native-bridge:allow-check-permissions

</td> <td>

Enables the check_permissions command without any pre-configured scope.

</td> </tr> <tr> <td>

native-bridge:deny-check-permissions

</td> <td>

Denies the check_permissions command without any pre-configured scope.

</td> </tr> <tr> <td>

native-bridge:allow-copy-uri-to-path

</td> <td>

Enables the copy_uri_to_path command without any pre-configured scope.

</td> </tr> <tr> <td>

native-bridge:deny-copy-uri-to-path

</td> <td>

Denies the copy_uri_to_path command without any pre-configured scope.

</td> </tr> <tr> <td>

native-bridge:allow-get-external-sdcard-path

</td> <td>

Enables the get_external_sdcard_path command without any pre-configured scope.

</td> </tr> <tr> <td>

native-bridge:deny-get-external-sdcard-path

</td> <td>

Denies the get_external_sdcard_path command without any pre-configured scope.

</td> </tr> <tr> <td>

native-bridge:allow-get-safe-area-insets

</td> <td>

Enables the get_safe_area_insets command without any pre-configured scope.

</td> </tr> <tr> <td>

native-bridge:deny-get-safe-area-insets

</td> <td>

Denies the get_safe_area_insets command without any pre-configured scope.

</td> </tr> <tr> <td>

native-bridge:allow-get-screen-brightness

</td> <td>

Enables the get_screen_brightness command without any pre-configured scope.

</td> </tr> <tr> <td>

native-bridge:deny-get-screen-brightness

</td> <td>

Denies the get_screen_brightness command without any pre-configured scope.

</td> </tr> <tr> <td>

native-bridge:allow-get-status-bar-height

</td> <td>

Enables the get_status_bar_height command without any pre-configured scope.

</td> </tr> <tr> <td>

native-bridge:deny-get-status-bar-height

</td> <td>

Denies the get_status_bar_height command without any pre-configured scope.

</td> </tr> <tr> <td>

native-bridge:allow-get-storefront-region-code

</td> <td>

Enables the get_storefront_region_code command without any pre-configured scope.

</td> </tr> <tr> <td>

native-bridge:deny-get-storefront-region-code

</td> <td>

Denies the get_storefront_region_code command without any pre-configured scope.

</td> </tr> <tr> <td>

native-bridge:allow-get-sys-fonts-list

</td> <td>

Enables the get_sys_fonts_list command without any pre-configured scope.

</td> </tr> <tr> <td>

native-bridge:deny-get-sys-fonts-list

</td> <td>

Denies the get_sys_fonts_list command without any pre-configured scope.

</td> </tr> <tr> <td>

native-bridge:allow-get-system-color-scheme

</td> <td>

Enables the get_system_color_scheme command without any pre-configured scope.

</td> </tr> <tr> <td>

native-bridge:deny-get-system-color-scheme

</td> <td>

Denies the get_system_color_scheme command without any pre-configured scope.

</td> </tr> <tr> <td>

native-bridge:allow-iap-fetch-products

</td> <td>

Enables the iap_fetch_products command without any pre-configured scope.

</td> </tr> <tr> <td>

native-bridge:deny-iap-fetch-products

</td> <td>

Denies the iap_fetch_products command without any pre-configured scope.

</td> </tr> <tr> <td>

native-bridge:allow-iap-initialize

</td> <td>

Enables the iap_initialize command without any pre-configured scope.

</td> </tr> <tr> <td>

native-bridge:deny-iap-initialize

</td> <td>

Denies the iap_initialize command without any pre-configured scope.

</td> </tr> <tr> <td>

native-bridge:allow-iap-is-available

</td> <td>

Enables the iap_is_available command without any pre-configured scope.

</td> </tr> <tr> <td>

native-bridge:deny-iap-is-available

</td> <td>

Denies the iap_is_available command without any pre-configured scope.

</td> </tr> <tr> <td>

native-bridge:allow-iap-purchase-product

</td> <td>

Enables the iap_purchase_product command without any pre-configured scope.

</td> </tr> <tr> <td>

native-bridge:deny-iap-purchase-product

</td> <td>

Denies the iap_purchase_product command without any pre-configured scope.

</td> </tr> <tr> <td>

native-bridge:allow-iap-restore-purchases

</td> <td>

Enables the iap_restore_purchases command without any pre-configured scope.

</td> </tr> <tr> <td>

native-bridge:deny-iap-restore-purchases

</td> <td>

Denies the iap_restore_purchases command without any pre-configured scope.

</td> </tr> <tr> <td>

native-bridge:allow-install-package

</td> <td>

Enables the install_package command without any pre-configured scope.

</td> </tr> <tr> <td>

native-bridge:deny-install-package

</td> <td>

Denies the install_package command without any pre-configured scope.

</td> </tr> <tr> <td>

native-bridge:allow-intercept-keys

</td> <td>

Enables the intercept_keys command without any pre-configured scope.

</td> </tr> <tr> <td>

native-bridge:deny-intercept-keys

</td> <td>

Denies the intercept_keys command without any pre-configured scope.

</td> </tr> <tr> <td>

native-bridge:allow-lock-screen-orientation

</td> <td>

Enables the lock_screen_orientation command without any pre-configured scope.

</td> </tr> <tr> <td>

native-bridge:deny-lock-screen-orientation

</td> <td>

Denies the lock_screen_orientation command without any pre-configured scope.

</td> </tr> <tr> <td>

native-bridge:allow-open-external-url

</td> <td>

Enables the open_external_url command without any pre-configured scope.

</td> </tr> <tr> <td>

native-bridge:deny-open-external-url

</td> <td>

Denies the open_external_url command without any pre-configured scope.

</td> </tr> <tr> <td>

native-bridge:allow-register-listener

</td> <td>

Enables the register_listener command without any pre-configured scope.

</td> </tr> <tr> <td>

native-bridge:deny-register-listener

</td> <td>

Denies the register_listener command without any pre-configured scope.

</td> </tr> <tr> <td>

native-bridge:allow-remove-listener

</td> <td>

Enables the remove_listener command without any pre-configured scope.

</td> </tr> <tr> <td>

native-bridge:deny-remove-listener

</td> <td>

Denies the remove_listener command without any pre-configured scope.

</td> </tr> <tr> <td>

native-bridge:allow-request-permissions

</td> <td>

Enables the request-permissions command without any pre-configured scope.

</td> </tr> <tr> <td>

native-bridge:deny-request-permissions

</td> <td>

Denies the request-permissions command without any pre-configured scope.

</td> </tr> <tr> <td>

native-bridge:allow-requestPermissions

</td> <td>

Enables the requestPermissions command without any pre-configured scope.

</td> </tr> <tr> <td>

native-bridge:deny-requestPermissions

</td> <td>

Denies the requestPermissions command without any pre-configured scope.

</td> </tr> <tr> <td>

native-bridge:allow-request-manage-storage-permission

</td> <td>

Enables the request_manage_storage_permission command without any pre-configured scope.

</td> </tr> <tr> <td>

native-bridge:deny-request-manage-storage-permission

</td> <td>

Denies the request_manage_storage_permission command without any pre-configured scope.

</td> </tr> <tr> <td>

native-bridge:allow-request-permissions

</td> <td>

Enables the request_permissions command without any pre-configured scope.

</td> </tr> <tr> <td>

native-bridge:deny-request-permissions

</td> <td>

Denies the request_permissions command without any pre-configured scope.

</td> </tr> <tr> <td>

native-bridge:allow-select-directory

</td> <td>

Enables the select_directory command without any pre-configured scope.

</td> </tr> <tr> <td>

native-bridge:deny-select-directory

</td> <td>

Denies the select_directory command without any pre-configured scope.

</td> </tr> <tr> <td>

native-bridge:allow-set-screen-brightness

</td> <td>

Enables the set_screen_brightness command without any pre-configured scope.

</td> </tr> <tr> <td>

native-bridge:deny-set-screen-brightness

</td> <td>

Denies the set_screen_brightness command without any pre-configured scope.

</td> </tr> <tr> <td>

native-bridge:allow-set-system-ui-visibility

</td> <td>

Enables the set_system_ui_visibility command without any pre-configured scope.

</td> </tr> <tr> <td>

native-bridge:deny-set-system-ui-visibility

</td> <td>

Denies the set_system_ui_visibility command without any pre-configured scope.

</td> </tr> <tr> <td>

native-bridge:allow-use-background-audio

</td> <td>

Enables the use_background_audio command without any pre-configured scope.

</td> </tr> <tr> <td>

native-bridge:deny-use-background-audio

</td> <td>

Denies the use_background_audio command without any pre-configured scope.

</td> </tr> </table>