-
Notifications
You must be signed in to change notification settings - Fork 498
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
iOS 12 Notification: group them by room #2355
Conversation
… using iOS 10+ features easier
Add code to support the new notification system starting with iOS 10
# Conflicts: # CHANGES.rst # Riot/AppDelegate.m
Add notification titles and group them properly on iOS 10+
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
|
||
- (void)clearPushNotificationToken | ||
{ | ||
// Clear existing token |
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.
Can we NSLog this method, please?
// Remove delivred notifications for a given room id except call notifications | ||
- (void)removeDeliveredNotificationsWithRoomId:(NSString*)roomId completion:(dispatch_block_t)completion | ||
{ | ||
NSMutableArray<NSString*> *notificationRequestIdentifiersToRemove = [NSMutableArray new]; |
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.
We could NSLog that too.
Co-Authored-By: SBiOSoftWhare <[email protected]>
# Conflicts: # CHANGES.rst # Riot/AppDelegate.m
#2337