Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
fix(mobile/ios): forward NSUserActivity to the Capacitor proxy
Elian Dorand913e3614d60
diff --git a/apps/mobile/ios/App/App/AppDelegate.swift b/apps/mobile/ios/App/App/AppDelegate.swiftindex 7d3fdda5be..4ce3c7ee82 100644--- a/apps/mobile/ios/App/App/AppDelegate.swift+++ b/apps/mobile/ios/App/App/AppDelegate.swift@@ -41,9 +41,10 @@ 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.- // 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+ // 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)}}