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

Cleanup the MSNotificationHubMessage interface. #64

Merged
merged 2 commits into from
May 14, 2020

Conversation

brannon
Copy link
Collaborator

@brannon brannon commented May 14, 2020

No description provided.

underlying notification data. Add unit tests for the class.
@brannon brannon requested a review from mpodwysocki May 14, 2020 03:24
@@ -79,7 +79,7 @@ - (void)notificationHub:(MSNotificationHub *)notificationHub didReceivePushNotif
dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(2.0 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
[alertController dismissViewControllerAnimated:YES completion: nil];
});
completionHandler((notification.data != nil && [notification.data count] > 0) ? UIBackgroundFetchResultNewData : UIBackgroundFetchResultNoData);
completionHandler(UIBackgroundFetchResultNoData);
Copy link
Contributor

Choose a reason for hiding this comment

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

Need to fix swift sample as well

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Fixed in 1d26c8e

@mpodwysocki mpodwysocki merged commit 113229f into sdk-v3 May 14, 2020
@mpodwysocki mpodwysocki deleted the brannon/messageCleanup branch May 14, 2020 14:55
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