From f1357d712e2ac3354848e5daba51f60ff6d197e5 Mon Sep 17 00:00:00 2001 From: Jared Date: Mon, 19 Jan 2026 15:32:09 -0800 Subject: [PATCH 1/5] Add uninstall warning to home screen shortcut (iOS) Add a static home screen shortcut that warns users about data loss when uninstalling the app. Includes shortcut handling infrastructure in AppDelegate.swift. --- ios/edge/AppDelegate.swift | 31 +++++++++++++++++++++++++++++++ ios/edge/Info.plist | 13 +++++++++++++ 2 files changed, 44 insertions(+) diff --git a/ios/edge/AppDelegate.swift b/ios/edge/AppDelegate.swift index 9483d70d2ba..5e01fe2e3e5 100644 --- a/ios/edge/AppDelegate.swift +++ b/ios/edge/AppDelegate.swift @@ -11,6 +11,7 @@ import UserNotifications class AppDelegate: UIResponder, UIApplicationDelegate { var window: UIWindow? var securityView: UIView? + private var pendingShortcutItem: UIApplicationShortcutItem? var reactNativeDelegate: ReactNativeDelegate? var reactNativeFactory: RCTReactNativeFactory? @@ -49,6 +50,10 @@ class AppDelegate: UIResponder, UIApplicationDelegate { _ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]? = nil ) -> Bool { + if let shortcutItem = launchOptions?[.shortcutItem] as? UIApplicationShortcutItem { + pendingShortcutItem = shortcutItem + } + // Initialize SDK's: initializeSentry() FirebaseApp.configure() @@ -72,9 +77,35 @@ class AppDelegate: UIResponder, UIApplicationDelegate { launchOptions: launchOptions ) + if let shortcutItem = pendingShortcutItem { + _ = handleShortcutItem(shortcutItem) + pendingShortcutItem = nil + } + return true } + func application( + _ application: UIApplication, + performActionFor shortcutItem: UIApplicationShortcutItem, + completionHandler: @escaping (Bool) -> Void + ) { + let handled = handleShortcutItem(shortcutItem) + completionHandler(handled) + } + + private func handleShortcutItem(_ shortcutItem: UIApplicationShortcutItem) -> Bool { + guard let url = URL(string: shortcutItem.type) else { return false } + + // Open https/http URLs in the default browser, otherwise handle as deep link + if url.scheme == "https" || url.scheme == "http" { + UIApplication.shared.open(url) + return true + } + + return RCTLinkingManager.application(UIApplication.shared, open: url, options: [:]) + } + /** * Periodic background fetch logic. * Edge addition. diff --git a/ios/edge/Info.plist b/ios/edge/Info.plist index 2a9afea9725..0d8133dfda0 100644 --- a/ios/edge/Info.plist +++ b/ios/edge/Info.plist @@ -57,6 +57,19 @@ CFBundleVersion 99999999 + UIApplicationShortcutItems + + + UIApplicationShortcutItemTitle + ⚠️ Save 2FA First! + UIApplicationShortcutItemSubtitle + Login requires 2FA & credentials! + UIApplicationShortcutItemIconSymbolName + nosign + UIApplicationShortcutItemType + https://support.edge.app/hc/en-us/articles/24469866252443-Getting-a-new-phone + + LSApplicationQueriesSchemes https From 534b5a33e51efa5d02e45873b1e4881845da20f7 Mon Sep 17 00:00:00 2001 From: Jared Date: Mon, 19 Jan 2026 15:33:07 -0800 Subject: [PATCH 2/5] Add uninstall warning to home screen shortcut (Android) Add a static home screen shortcut that warns users about data loss when uninstalling the app. --- android/app/src/main/AndroidManifest.xml | 3 +++ android/app/src/main/res/values/strings.xml | 2 ++ android/app/src/main/res/xml/shortcuts.xml | 13 +++++++++++++ 3 files changed, 18 insertions(+) create mode 100644 android/app/src/main/res/xml/shortcuts.xml diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml index 33e6b4cb839..4b5e0c6e9a9 100644 --- a/android/app/src/main/AndroidManifest.xml +++ b/android/app/src/main/AndroidManifest.xml @@ -92,6 +92,9 @@ + diff --git a/android/app/src/main/res/values/strings.xml b/android/app/src/main/res/values/strings.xml index 806da384537..705455e4979 100644 --- a/android/app/src/main/res/values/strings.xml +++ b/android/app/src/main/res/values/strings.xml @@ -1,3 +1,5 @@ Edge + ⚠️ Save 2FA First! + ⚠️ Login requires 2FA & credentials! diff --git a/android/app/src/main/res/xml/shortcuts.xml b/android/app/src/main/res/xml/shortcuts.xml new file mode 100644 index 00000000000..66fab2cd9d8 --- /dev/null +++ b/android/app/src/main/res/xml/shortcuts.xml @@ -0,0 +1,13 @@ + + + + + + From 303a373d843bb6c5357df4f292d45ad96b1a7238 Mon Sep 17 00:00:00 2001 From: Jared Date: Mon, 19 Jan 2026 15:33:49 -0800 Subject: [PATCH 3/5] Add Contact Support home screen shortcut (iOS) Add a shortcut to quickly open the support chat. --- ios/edge/Info.plist | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/ios/edge/Info.plist b/ios/edge/Info.plist index 0d8133dfda0..81ea135c945 100644 --- a/ios/edge/Info.plist +++ b/ios/edge/Info.plist @@ -69,6 +69,16 @@ UIApplicationShortcutItemType https://support.edge.app/hc/en-us/articles/24469866252443-Getting-a-new-phone + + UIApplicationShortcutItemTitle + Contact Support + UIApplicationShortcutItemSubtitle + Get help from our live support agents + UIApplicationShortcutItemIconSymbolName + message.fill + UIApplicationShortcutItemType + https://support.edge.app/hc/en-us?chat=open + LSApplicationQueriesSchemes From 854b74773e03ef8095265843bb725df49928c8b7 Mon Sep 17 00:00:00 2001 From: Jared Date: Mon, 19 Jan 2026 15:34:35 -0800 Subject: [PATCH 4/5] Add Contact Support home screen shortcut (Android) Add a shortcut to quickly open the support chat. --- android/app/src/main/res/values/strings.xml | 2 ++ android/app/src/main/res/xml/shortcuts.xml | 10 ++++++++++ 2 files changed, 12 insertions(+) diff --git a/android/app/src/main/res/values/strings.xml b/android/app/src/main/res/values/strings.xml index 705455e4979..e1036845411 100644 --- a/android/app/src/main/res/values/strings.xml +++ b/android/app/src/main/res/values/strings.xml @@ -1,5 +1,7 @@ Edge + Contact Support + Contact support for help from a live agent ⚠️ Save 2FA First! ⚠️ Login requires 2FA & credentials! diff --git a/android/app/src/main/res/xml/shortcuts.xml b/android/app/src/main/res/xml/shortcuts.xml index 66fab2cd9d8..8a2e8921c61 100644 --- a/android/app/src/main/res/xml/shortcuts.xml +++ b/android/app/src/main/res/xml/shortcuts.xml @@ -1,5 +1,15 @@ + + + Date: Wed, 18 Feb 2026 11:48:09 -0800 Subject: [PATCH 5/5] Add changelog entry for long-press shortcut additions Co-authored-by: Cursor --- CHANGELOG.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 24f6b06167d..18418689fbd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,9 @@ ## Unreleased (develop) +- added: Home screen long-press shortcut to contact support +- added: Home screen long-press shortcut warning about data loss on uninstall + ## 4.44.0 (staging) - added: MAYAChain (CACAO) wallet support