feat: add deep link and notification permissions to mobile and android schemas
- Introduced new permissions for deep link functionality including `allow-get-current`, `allow-is-registered`, `allow-register`, and `allow-unregister`. - Added comprehensive notification permissions such as `allow-notify`, `allow-request-permission`, and others to enhance notification capabilities. - Updated the mobile and android schemas to reflect these changes. - Removed deprecated window state permissions from schemas. - Updated the capabilities schema to include new default permissions for deep link and notification features. - Refactored the Tauri application initialization to support new deep link plugin for mobile platforms.
This commit is contained in:
@@ -22,8 +22,6 @@ tauri-build = { version = "2", features = [] }
|
||||
serde_json = "1.0"
|
||||
serde = { version = "1.0", features = ["derive"] }
|
||||
tauri = { version = "2", features = ["devtools"] }
|
||||
tauri-plugin-localhost = "2"
|
||||
tauri-plugin-window-state = "2"
|
||||
tauri-plugin-shell = "2"
|
||||
tauri-plugin-notification = "2"
|
||||
|
||||
@@ -31,9 +29,14 @@ tauri-plugin-notification = "2"
|
||||
tauri-plugin-deep-link = "2"
|
||||
|
||||
[target."cfg(not(any(target_os = \"android\", target_os = \"ios\")))".dependencies]
|
||||
tauri-plugin-localhost = "2"
|
||||
tauri-plugin-window-state = "2"
|
||||
tauri-plugin-single-instance = "2"
|
||||
tauri-plugin-updater = "2"
|
||||
|
||||
[features]
|
||||
default = ["custom-protocol"]
|
||||
custom-protocol = ["tauri/custom-protocol"]
|
||||
|
||||
[dependencies.ppv-lite86]
|
||||
version = "=0.2.20"
|
||||
|
||||
Reference in New Issue
Block a user