feat: update to tauri beta, add permissions (#862)

Co-authored-by: Lucas Nogueira <lucas@tauri.app>
Co-authored-by: Lucas Nogueira <lucas@crabnebula.dev>
This commit is contained in:
Tillmann
2024-02-03 15:14:41 -03:00
committed by GitHub
co-authored by Lucas Nogueira Lucas Nogueira
parent 506ce4835b
commit d198c01486
387 changed files with 21883 additions and 943 deletions
+4 -2
View File
@@ -2,11 +2,13 @@
// SPDX-License-Identifier: Apache-2.0
// SPDX-License-Identifier: MIT
const COMMANDS: &[&str] = &["notify", "request_permission", "is_permission_granted"];
fn main() {
if let Err(error) = tauri_build::mobile::PluginBuilder::new()
if let Err(error) = tauri_plugin::Builder::new(COMMANDS)
.android_path("android")
.ios_path("ios")
.run()
.try_build()
{
println!("{error:#}");
// when building documentation for Android the plugin build result is irrelevant to the crate itself