Skip to content

Build your personal knowledge base with Trilium Notes

Revert "fix(mobile/ios): forward NSUserActivity to the Capacitor proxy"

Elian Doranf370988c5056
diff --git a/apps/mobile/ios/App/App/AppDelegate.swift b/apps/mobile/ios/App/App/AppDelegate.swift
index 4ce3c7ee82..7d3fdda5be 100644
--- a/apps/mobile/ios/App/App/AppDelegate.swift
+++ b/apps/mobile/ios/App/App/AppDelegate.swift
@@ -41,10 +41,9 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
func application(_ application: UIApplication, continue userActivity: NSUserActivity, restorationHandler: @escaping ([UIUserActivityRestoring]?) -> Void) -> Bool {
// Called when the app was launched with an activity, including Universal Links.
- // Delegate to the Capacitor proxy so plugins listening for appUrlOpen /
- // NSUserActivity events (Universal Links, Handoff) are notified — mirrors
- // the open(url:) handler above.
- return ApplicationDelegateProxy.shared.application(application, continue: userActivity, restorationHandler: restorationHandler)
+ // Feel free to add additional processing here, but if you want the App API to support
+ // tracking app url opens, make sure to keep this call
+ return false
}
}