-
Notifications
You must be signed in to change notification settings - Fork 16.2k
feat: continue-activity event is extended to support webpageURL property #30042
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: continue-activity event is extended to support webpageURL property #30042
Conversation
💖 Thanks for opening this pull request! 💖 We use semantic commit messages to streamline the release process. Before your pull request can be merged, you should update your pull request title to start with a semantic prefix. Examples of commit messages with semantic prefixes:
Things that will help get your PR across the finish line:
We get a lot of pull requests on this repo, so please be patient and we will get back to you as soon as we can. |
@nornagon I tried testing the changes locally but I'm getting the details object as undefined in my app. I don't have experience with objective C so figured I'll request your input. To test I copied the I'm testing the changes manually by invoking Apple's handoff mechanism. Notes on Apple's handoff mechanism for universal linking:
More info: |
Are you using electron-builder / electron-forge or something like it to create the .app bundle for your app to place it in /Applications? I think that will ignore whatever Electron.app is in your node_modules folder and download Electron itself... |
Yeah, that seems to be the case. I tried using electron-builder's property |
@nornagon I was able to test this out using a boilerplate electron app and using |
b406c41
to
31bad10
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM after docs update 👍
I'm OK without an automated test for this.
Co-authored-by: Jeremy Rose <nornagon@nornagon.net>
@nornagon Seems like the build is failing on linux. |
API LGTM |
Congrats on merging your first pull request! 🎉🎉🎉 |
Release Notes Persisted
|
…rty (electron#30042) Co-authored-by: Akshat Malik <amalik@microstrategy.com> Co-authored-by: Jeremy Rose <nornagon@nornagon.net>
Description of Change
This PR aims to extend the existing
continue-activity
event params to resolve issue #29926.Primarily a new
details
object is added as a parameter to the event, andwebpageURL
is added inside that details object if the userActivity containswebpageURL
.Checklist
npm test
passesRelease Notes
Notes: Extended
continue-activity
event API to supportwebpageURL
property fromNSUserActivity
.