(feat): add tauri notifications
Some checks failed
/ release (push) Has been cancelled
/ build-web (push) Has been cancelled
/ build-desktop (linux) (push) Has been cancelled
/ build-mobile (push) Has been cancelled

(feat): bump version
This commit is contained in:
Alois 2026-06-09 16:14:29 +02:00
commit 066db995c1
8 changed files with 923 additions and 1510 deletions

View file

@ -30,10 +30,11 @@
"@tauri-apps/api": "^2",
"@tauri-apps/plugin-barcode-scanner": "~2",
"@tauri-apps/plugin-deep-link": "~2",
"react-dom": "^19.2.0",
"@tensamin/ui": "*",
"@tauri-apps/plugin-notification": "~2",
"@tensamin/shared": "workspace:*",
"react": "^19.2.0"
"@tensamin/ui": "*",
"react": "^19.2.0",
"react-dom": "^19.2.0"
},
"devDependencies": {
"@tauri-apps/cli": "^2",

File diff suppressed because it is too large Load diff

View file

@ -22,6 +22,9 @@ tauri-plugin-opener = "2"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
tauri-plugin-deep-link = "2"
tauri-plugin-notification = "2"
ttp-core = { git = "https://git.methanium.net/tensamin/ttp.git", package = "ttp-core" }
ttp-native = { git = "https://git.methanium.net/tensamin/ttp.git", package = "ttp-native" }
[target.'cfg(target_os = "android")'.dependencies.tauri]
version = "2"

View file

@ -14,6 +14,7 @@
"core:window:allow-toggle-maximize",
"core:window:allow-minimize",
"core:event:default",
"deep-link:default"
"deep-link:default",
"notification:default"
]
}

View file

@ -12,6 +12,7 @@
"app-events:default",
"barcode-scanner:default",
"barcode-scanner:allow-scan",
"barcode-scanner:allow-cancel"
"barcode-scanner:allow-cancel",
"notification:default"
]
}
}

View file

@ -1,6 +1,6 @@
#[cfg_attr(mobile, tauri::mobile_entry_point)]
pub fn run() {
let builder = tauri::Builder::default();
let builder = tauri::Builder::default().plugin(tauri_plugin_notification::init());
let builder = builder
.plugin(tauri_plugin_deep_link::init())