Skip to content

Conversation

@charlotteliang
Copy link
Contributor

@charlotteliang charlotteliang commented Feb 9, 2022

Add GULMulticastUserNotificationCenterDelegate to cast delegate methods from UNUserNotificationCenter used by Messaging to handle notification open and foreground tracking in Analytics.

@charlotteliang charlotteliang changed the base branch from main to char-multicast-feature February 9, 2022 20:32
@google-oss-bot
Copy link

google-oss-bot commented Feb 9, 2022

Copy link
Member

@paulb777 paulb777 left a comment

Choose a reason for hiding this comment

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

Are unit tests needed?

Even if not, there should still be a pod lib lint build test added to CI

}

+ (id<GULMulticastNotificationProtocol>)multicastDelegate {
if (@available(iOS 10.0, *)) {
Copy link
Member

Choose a reason for hiding this comment

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

Why not an API_AVAILABLE(ios(10.0) on the api instead?


#import "GoogleUtilitiesMulticastAppDelegate/Sources/Public/GoogleUtilities/GULMulticastAppDelegate.h"
#import <GoogleUtilitiesMulticastAppDelegate/GULMulticastAppDelegate.h>
//#import <GoogleUtilities/GULAppDelegateSwizzler.h>
Copy link
Member

Choose a reason for hiding this comment

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

Delete

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.

5 participants