-
Notifications
You must be signed in to change notification settings - Fork 16.8k
Description
Preflight Checklist
- I have read the Contributing Guidelines for this project.
- I agree to follow the Code of Conduct that this project adheres to.
- I have searched the issue tracker for a feature request that matches the one I want to file, without success.
Problem Description
Hi,
My team is trying to support universal linking in our application. Currently, in order to receive a handoff event from the browser, the application needs to listen to continue-activity event which provides type and userInfo. As per the Apple documentation here, the browser sends the app an NSUserActivity object with an activityType value of NSUserActivityTypeBrowsingWeb. The webpageURL property contains the URL the user was visiting, while the userInfo dictionary is empty.
To provide a smooth handoff our application needs to know the URL the user is navigating from. Therefore, it would be great if the webpageURL parameter is exposed in continue-activity event.
Proposed Solution
The NSUserActivity object contains the webpageURL property which is set during the handoff process.
I don't have any experience with Objective C but I believe the webpageURL property on the userActivity object can be allowed to pass here to make it accessible.
| return browser->ContinueUserActivity( |
Alternatives Considered
Additional Information
The application needs to know the URL from where the user is navigating to provide a customized handoff experience.