Skip to content
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(iOS): Add local and remote notification router #3796

Merged
merged 14 commits into from
Nov 25, 2020
Merged

Conversation

imhoffd
Copy link
Contributor

@imhoffd imhoffd commented Nov 11, 2020

TODO:

  • Set UNUserNotificationCenter.delegate via configuration (waiting on config stuff to get merged)

waiting on #3759

@imhoffd imhoffd added this to the 3.0.0 milestone Nov 19, 2020
@imhoffd imhoffd marked this pull request as ready for review November 25, 2020 01:25
@imhoffd imhoffd requested a review from ikeith November 25, 2020 01:25
ios/Capacitor/Capacitor/CapacitorBridge.swift Outdated Show resolved Hide resolved
@@ -17,6 +17,7 @@ NS_SWIFT_NAME(InstanceConfiguration)
@property (nonatomic, readonly) BOOL enableLogging;
@property (nonatomic, readonly) BOOL enableScrolling;
@property (nonatomic, readonly) BOOL allowLinkPreviews;
@property (nonatomic, readonly) BOOL assignUserNotificationCenterDelegate;
Copy link
Contributor

Choose a reason for hiding this comment

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

Does this need a field in the config file? Otherwise turning it off will require that the app developer subclass the view controller to programmatically set it.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I don't think so. Disabling it is likely only a use case for embedded. If I'm mistaken, we can always add a field later.

ios/Capacitor/Capacitor/CapacitorBridge.swift Outdated Show resolved Hide resolved
@imhoffd imhoffd changed the title feat(iOS): Add local and remote notification handling feat(iOS): Add local and remote notification router Nov 25, 2020
@imhoffd imhoffd requested a review from ikeith November 25, 2020 18:08
@imhoffd imhoffd merged commit f3edaf9 into main Nov 25, 2020
@imhoffd imhoffd deleted the notification-delegate branch November 25, 2020 20:32
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