GitToTheHub opened a new pull request, #1655:
URL: https://github.com/apache/cordova-ios/pull/1655

   ## Summary
   
   `CDVSceneDelegate` was missing an implementation of 
`scene:continueUserActivity:`, which is the `UIWindowSceneDelegate` method iOS 
calls when an `NSUserActivity` event (i.e. a Universal Link with 
`NSUserActivityTypeBrowsingWeb`) is delivered to the active scene.
   
   As a result, Universal Links were silently dropped when tapped inside 
`SFSafariViewController` on cordova-ios 8.x. On cordova-ios 7.x this worked 
because the activity was delivered to 
`AppDelegate.application(_:continue:restorationHandler:)` directly, before 
SceneDelegate was introduced.
   
   ## Changes
   
   - **`CDVSceneDelegate.m`** — add `scene:continueUserActivity:` 
implementation that posts `CDVPluginContinueUserActivityNotification` via 
`NSNotificationCenter`, consistent with the existing URL-handling pattern.
   - **`CDVPluginNotifications.h`** — declare the new 
`CDVPluginContinueUserActivityNotification` constant.
   - **`CDVPlugin.m`** — define the new notification constant.
   
   Plugins can now observe `CDVPluginContinueUserActivityNotification` to 
receive Universal Links and other `NSUserActivity` events.
   
   Fixes #1654


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to