-
-
Notifications
You must be signed in to change notification settings - Fork 249
feat(macos): add events for push notification registration #1139
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
base: dev
Are you sure you want to change the base?
Conversation
- feat(apns): add responders and events for APNS registration and error callbacks - feat(apns): call `registerForRemoteNotifications` within `did_finish_launching` - feat(apns): dispatch event to app for apns registration - feat(apns): gate push notifications behind `push-notifications` feature Relates-To: tauri-apps/tauri#11651 Signed-off-by: Sam Gammon <[email protected]>
Signed-off-by: Sam Gammon <[email protected]>
Signed-off-by: Sam Gammon <[email protected]>
Signed-off-by: Sam Gammon <[email protected]>
Signed-off-by: Sam Gammon <[email protected]>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* Added focusable functionality for windows * Fixed flag logic * linux * macos * change file * also apply on canBecomeMainWindow * add set_focusable * doc * fmt --------- Co-authored-by: Lucas Nogueira <[email protected]>
Co-authored-by: lucasfernog <[email protected]>
by implementing `application:willContinueUserActivityWithType:` and `application:continueUserActivity:restorationHandler:`,
reusing the existing `Event::Opened { urls }` event for the user facing api.
Co-authored-by: lucasfernog <[email protected]>
* Don't publish audits to crates.io * Fix crossbeam-channel warning * Add change file * Use include instead of exclude Co-authored-by: Fabian-Lars <[email protected]> --------- Co-authored-by: Fabian-Lars <[email protected]>
- feat(apns): add responders and events for APNS registration and error callbacks - feat(apns): call `registerForRemoteNotifications` within `did_finish_launching` - feat(apns): dispatch event to app for apns registration - feat(apns): gate push notifications behind `push-notifications` feature Relates-To: tauri-apps/tauri#11651 Signed-off-by: Sam Gammon <[email protected]>
Signed-off-by: Sam Gammon <[email protected]>
Signed-off-by: Sam Gammon <[email protected]>
Signed-off-by: Sam Gammon <[email protected]>
|
The mix of verified and unverified (from different authors nonetheless) may get problematic 🤔 |
|
Also can you try merging tauri-apps/tao@dev into your fork? That should clean up the diff. When i try to do it for you i get a 403 even though github says we're allowed to edit it. |
|
I think it should be done |
|
the non verified commit seems indeed to be problematic , not sure how to resolve it or why it is this way ( it comes from the tao repo) |
|
your commits aren't verified either but i really don't wanna drag this out any longer (in the tao repo at least) so i'll abuse my permissions for this. |
|
Sorry for that , I hope i haven't done any commit on the tauri repo yet , I'll configure so my commit are now verified |
|
Hello @FabianLars what's up with this PR ? |
Package Changes Through 565e0e2There are 1 changes which include tao with patch Planned Package VersionsThe following package releases are the planned based on the context of changes in this pull request.
Add another change file through the GitHub UI by following this link. Read about change files or the docs at github.com/jbolda/covector |
|
ah sorry i forgot to push my local changes and didn't have access to the device the last few days. |
|
sorry for the commit spam, can't push to the branch directly idk |
feat(ios,macos): add event to send notification registration token
Implemented a new event on iOS and macOS to send the notification registration token.
Injected callbacks into AppDelegate to retrieve the token.
Added the notification registration call directly in the AppDelegate on macOS.