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

iOS 12 Notification: group them by room #2355

Merged
merged 34 commits into from
Apr 5, 2019
Merged

iOS 12 Notification: group them by room #2355

merged 34 commits into from
Apr 5, 2019

Conversation

SBiOSoftWhare
Copy link
Contributor

@SBiOSoftWhare SBiOSoftWhare commented Apr 5, 2019

fridtjof and others added 30 commits February 13, 2019 14:19
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+
Copy link
Member

@manuroe manuroe left a comment

Choose a reason for hiding this comment

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

LGTM

Riot/AppDelegate.m Outdated Show resolved Hide resolved

- (void)clearPushNotificationToken
{
// Clear existing token
Copy link
Member

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];
Copy link
Member

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.

@SBiOSoftWhare SBiOSoftWhare merged commit 77aa6ae into develop Apr 5, 2019
@SBiOSoftWhare SBiOSoftWhare deleted the riot_2337 branch April 8, 2019 08:13
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.

3 participants