mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-10-18 23:07:27 +02:00
* feat: adding the ability to encrypt/decrypt data based on the biometric auth Adding the method biometricCipher() that allows to use the biometric authentication to use a generated key from android that can be accessed only through the biometric authentication. The method uses this key to encrypt/decrypt the data provided by the caller in the "options" parameter, with "dataToEncrypt" or "dataToDecrypt" filled. Changes were done both on Kotlin, Rust and JS sides. * Improving the way we encrypt data by allowing only if the biometric was successful. * Adding a warning on the JS side * Adding doc changes in readme.md * Adding doc changes in readme.md * Update README.md - it was updated incomplete * update docs * enhance error handling * update example --------- Co-authored-by: Lucas Nogueira <lucas@tauri.app>
27 lines
869 B
JSON
27 lines
869 B
JSON
{
|
|
"$schema": "../gen/schemas/mobile-schema.json",
|
|
"identifier": "run-app-mobile",
|
|
"description": "Permissions to run the app (mobile only)",
|
|
"windows": ["main"],
|
|
"platforms": ["android", "iOS"],
|
|
"permissions": [
|
|
"nfc:allow-write",
|
|
"nfc:allow-scan",
|
|
"biometric:allow-authenticate",
|
|
"biometric:allow-status",
|
|
"biometric:allow-biometric-cipher",
|
|
"barcode-scanner:allow-scan",
|
|
"barcode-scanner:allow-cancel",
|
|
"barcode-scanner:allow-request-permissions",
|
|
"barcode-scanner:allow-check-permissions",
|
|
"geolocation:allow-check-permissions",
|
|
"geolocation:allow-request-permissions",
|
|
"geolocation:allow-watch-position",
|
|
"geolocation:allow-get-current-position",
|
|
"haptics:allow-impact-feedback",
|
|
"haptics:allow-notification-feedback",
|
|
"haptics:allow-selection-feedback",
|
|
"haptics:allow-vibrate"
|
|
]
|
|
}
|