summaryrefslogtreecommitdiff
path: root/www/external/NotificationService.m
diff options
context:
space:
mode:
author= <=>2019-03-01 06:35:53 -0500
committer= <=>2019-03-01 06:35:53 -0500
commit23157ed0e41657b73b8ab7c87a20d19f828968b7 (patch)
tree15ab49bfb13589307315cad24a3b9561676bcda4 /www/external/NotificationService.m
parente4f0cf0992f347ca1063d1368f3bdf6ebd8c06a7 (diff)
nit
Diffstat (limited to 'www/external/NotificationService.m')
-rw-r--r--www/external/NotificationService.m5
1 files changed, 2 insertions, 3 deletions
diff --git a/www/external/NotificationService.m b/www/external/NotificationService.m
index 143b92b0..ef03a273 100644
--- a/www/external/NotificationService.m
+++ b/www/external/NotificationService.m
@@ -5,6 +5,7 @@
// Created by User on 29/09/16.
//
//
+// Credit https://github.com/Leanplum/Leanplum-iOS-Samples/blob/master/iOS_basicSetup/basicSetup/richPushExtension/NotificationService.m
#import "NotificationService.h"
@@ -23,9 +24,7 @@
self.bestAttemptContent = [request.content mutableCopy];
NSDictionary *userInfo = request.content.userInfo;
- // LP_URL is the key that is used from Leanplum to
- // send the image URL in the payload.
- //
+
// If there is no image in the payload than
// the code will still show the push notification.
if (userInfo == nil || userInfo[@"image_url_jpg"] == nil) {