Skip to content

Commit

Permalink
Merge pull request #364 from Countly/turtledreams-patch-1
Browse files Browse the repository at this point in the history
Update CountlyNotificationService.m
  • Loading branch information
turtledreams authored Nov 27, 2024
2 parents 1dc8f1c + aee039f commit a052170
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions CountlyNotificationService.m
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
// Please visit www.count.ly for more information.

#import "CountlyNotificationService.h"
#import "CountlyCommon.h"

#if DEBUG
#define COUNTLY_EXT_LOG(fmt, ...) NSLog([@"%@ " stringByAppendingString:fmt], @"[CountlyNSE]", ##__VA_ARGS__)
Expand Down Expand Up @@ -86,7 +85,7 @@ + (void)didReceiveNotificationRequest:(UNNotificationRequest *)request withConte

COUNTLY_EXT_LOG(@"Attachment specified in Countly payload: %@", attachmentURL);

[[CountlyCommon.sharedInstance.URLSession downloadTaskWithURL:[NSURL URLWithString:attachmentURL] completionHandler:^(NSURL * location, NSURLResponse * response, NSError * error)
[[NSURLSession.sharedSession downloadTaskWithURL:[NSURL URLWithString:attachmentURL] completionHandler:^(NSURL * location, NSURLResponse * response, NSError * error)
{
if (!error)
{
Expand Down

0 comments on commit a052170

Please sign in to comment.