From 63cba86b2050ae20491c98acced657cdad3e69c5 Mon Sep 17 00:00:00 2001 From: Tony Giorgio Date: Tue, 20 Jan 2026 11:54:01 -0600 Subject: [PATCH] fix(android): generate separate intent-filters for deep links Split the deep-link mobile config into separate entries so the plugin generates individual intent-filters for each path. This ensures proper Android App Links verification for /payment-success, /payment-canceled, and /pricing paths. Removed redundant cloud.opensecret.maple scheme from deep-link config since it's already manually maintained in AndroidManifest.xml. Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com> --- .../android/app/src/main/AndroidManifest.xml | 18 ++++++++++++------ frontend/src-tauri/tauri.conf.json | 14 +++++++++++--- 2 files changed, 23 insertions(+), 9 deletions(-) diff --git a/frontend/src-tauri/gen/android/app/src/main/AndroidManifest.xml b/frontend/src-tauri/gen/android/app/src/main/AndroidManifest.xml index 034fe0654..cac9dda27 100644 --- a/frontend/src-tauri/gen/android/app/src/main/AndroidManifest.xml +++ b/frontend/src-tauri/gen/android/app/src/main/AndroidManifest.xml @@ -33,32 +33,38 @@ - - + + + + - - + + + + - - + + + + diff --git a/frontend/src-tauri/tauri.conf.json b/frontend/src-tauri/tauri.conf.json index a71f53b93..f8b7998c6 100644 --- a/frontend/src-tauri/tauri.conf.json +++ b/frontend/src-tauri/tauri.conf.json @@ -24,13 +24,21 @@ }, "mobile": [ { - "scheme": ["cloud.opensecret.maple"], - "appLink": false + "scheme": ["https"], + "host": "trymaple.ai", + "pathPrefix": ["/payment-success"], + "appLink": true + }, + { + "scheme": ["https"], + "host": "trymaple.ai", + "pathPrefix": ["/payment-canceled"], + "appLink": true }, { "scheme": ["https"], "host": "trymaple.ai", - "pathPrefix": ["/payment-success", "/payment-canceled", "/pricing"], + "pathPrefix": ["/pricing"], "appLink": true } ]