Skip to content

feat: send push notifications for invalid coder scheme URIs #146

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

Open
wants to merge 2 commits into
base: ethan/uri-handler
Choose a base branch
from

Conversation

ethanndickson
Copy link
Member

@ethanndickson ethanndickson commented May 5, 2025

Relates to #96.

image image

I've had to replace the app provisioning profile for this to build.

Copy link
Member Author

ethanndickson commented May 5, 2025

Warning

This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

This stack of pull requests is managed by Graphite. Learn more about stacking.

@ethanndickson ethanndickson force-pushed the ethan/push-notif branch 2 times, most recently from f6bc9e3 to 83b1554 Compare May 6, 2025 02:55
@ethanndickson ethanndickson marked this pull request as ready for review May 6, 2025 03:57
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds push notification support for invalid coder scheme URIs, which involves updating the app provisioning profile and integrating notification logic into the application.

  • Updated project plist with the appropriate APS environment key.
  • Added a new notification delegate and helper function for sending notifications.
  • Integrated asynchronous error handling with push notifications in the app delegate.

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
Coder-Desktop/project.yml Inserts the APS environment configuration for push notifications.
Coder-Desktop/Coder-Desktop/Notifications.swift Adds a new notification delegate and helper to send notifications.
Coder-Desktop/Coder-Desktop/Coder_DesktopApp.swift Configures the notification delegate and handles errors by sending a push notification.
Comments suppressed due to low confidence (1)

Coder-Desktop/project.yml:150

  • Ensure that the 'aps-environment' key is properly indented and aligned with similar keys under the entitlements section to avoid potential configuration issues.
aps-environment: development

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants