mobile update

This commit is contained in:
arrelin
2026-03-10 14:11:35 +03:00
parent 265c29d542
commit 45eefeb1f5
12 changed files with 107 additions and 68 deletions

View File

@@ -21,7 +21,6 @@ tauri-build = { version = "2", features = [] }
tauri = { version = "2", features = [] }
tauri-plugin-opener = "2"
tauri-plugin-deep-link = "2"
tauri-plugin-shell = "2"
serde = { version = "1", features = ["derive"] }
serde_json = "1"

View File

@@ -6,8 +6,6 @@
"permissions": [
"core:default",
"opener:default",
"shell:default",
"shell:allow-open",
"deep-link:default"
]
}

View File

@@ -22,6 +22,19 @@
<!-- AndroidTV support -->
<category android:name="android.intent.category.LEANBACK_LAUNCHER" />
</intent-filter>
<!-- DEEP LINK PLUGIN. AUTO-GENERATED. DO NOT REMOVE. -->
<intent-filter >
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="com.arrelin.family-budget-android" />
<data android:host="auth" />
</intent-filter>
<!-- DEEP LINK PLUGIN. AUTO-GENERATED. DO NOT REMOVE. -->
</activity>
<provider

View File

@@ -1,4 +1,4 @@
<resources>
<string name="app_name">family-budget-android</string>
<string name="main_activity_title">family-budget-android</string>
</resources>
<string name="app_name">Family Budget</string>
<string name="main_activity_title">Family Budget</string>
</resources>

View File

@@ -2,7 +2,6 @@
pub fn run() {
tauri::Builder::default()
.plugin(tauri_plugin_opener::init())
.plugin(tauri_plugin_shell::init())
.plugin(tauri_plugin_deep_link::init())
.run(tauri::generate_context!())
.expect("error while running tauri application");

View File

@@ -4,8 +4,8 @@
"version": "0.1.0",
"identifier": "com.arrelin.family-budget-android",
"build": {
"beforeDevCommand": "",
"devUrl": "https://family-budget.duckdns.org",
"beforeDevCommand": "npm run dev --prefix ../frontend",
"devUrl": "http://localhost:5173",
"beforeBuildCommand": "npm run build --prefix ../frontend",
"frontendDist": "../frontend/dist"
},
@@ -36,7 +36,7 @@
"deep-link": {
"mobile": [
{
"scheme": "com.arrelin.family-budget-android",
"scheme": ["com.arrelin.family-budget-android"],
"host": "auth"
}
]