From b20b054160fdfa64d0feffee311169bc9f582f3a Mon Sep 17 00:00:00 2001 From: Pravin Prakash Kumar Date: Mon, 9 Oct 2023 17:22:09 -0700 Subject: [PATCH] Lint fixes part 2 --- .../android/automatic-display-and-tracking.md | 3 ++- .../push-notification/ios/api-usage.md | 2 +- .../push-notification/ios/display-rich-notifications.md | 5 +---- 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/src/pages/documentation/adobe-journey-optimizer/push-notification/android/automatic-display-and-tracking.md b/src/pages/documentation/adobe-journey-optimizer/push-notification/android/automatic-display-and-tracking.md index 69125f23af..f2d01e1df8 100644 --- a/src/pages/documentation/adobe-journey-optimizer/push-notification/android/automatic-display-and-tracking.md +++ b/src/pages/documentation/adobe-journey-optimizer/push-notification/android/automatic-display-and-tracking.md @@ -87,7 +87,7 @@ public class YourAppFirebaseMessagingService extends FirebaseMessagingService { ## Notification Channel -Notification channel was introduced in Android Oreo (API level 26). It allows you to group notifications and allows users to customize the notification preferences for each channel. +Notification channel was introduced in Android Oreo (API level 26). It allows you to group notifications and allows users to customize the notification preferences for each channel. You must create at least one notification channel to display push notifications on devices running Android Oreo or higher. Follow the [android documentation](https://developer.android.com/develop/ui/views/notifications/channels) to create and manage notification channels. Once a notification channel is created, you can use the channel id while [designing the push notification](https://experienceleague.adobe.com/docs/journey-optimizer/using/push/design-push.html) in Adobe Journey Optimizer. @@ -105,4 +105,5 @@ MobileCore.setSmallIconResourceId(R.drawable.ic_notification); When no custom small icon is specified, the Messaging extension will automatically utilize the application's launcher icon as the default small icon. ## Notification Actions + Messaging extension will automatically handle any click behaviour that is configured while [designing the push notification in Adobe Journey Optimizer](https://experienceleague.adobe.com/docs/journey-optimizer/using/push/design-push.html) or Assurance. diff --git a/src/pages/documentation/adobe-journey-optimizer/push-notification/ios/api-usage.md b/src/pages/documentation/adobe-journey-optimizer/push-notification/ios/api-usage.md index 9d19100014..5274ee63a4 100644 --- a/src/pages/documentation/adobe-journey-optimizer/push-notification/ios/api-usage.md +++ b/src/pages/documentation/adobe-journey-optimizer/push-notification/ios/api-usage.md @@ -92,4 +92,4 @@ Implement the callback in `handleNotificationResponse` API to read [PushTracking NSLog(@"Successfully started push notification tracking"); } }]; -``` \ No newline at end of file +``` diff --git a/src/pages/documentation/adobe-journey-optimizer/push-notification/ios/display-rich-notifications.md b/src/pages/documentation/adobe-journey-optimizer/push-notification/ios/display-rich-notifications.md index a06b96e2c0..246ba8b2fb 100644 --- a/src/pages/documentation/adobe-journey-optimizer/push-notification/ios/display-rich-notifications.md +++ b/src/pages/documentation/adobe-journey-optimizer/push-notification/ios/display-rich-notifications.md @@ -12,17 +12,14 @@ keywords: This document details how to handle and display media notification on iOS device for notification generated from Adobe Journey Optimizer. - Follow Apple's documentation to [add a notification service app extension to your project](https://developer.apple.com/documentation/usernotifications/modifying_content_in_newly_delivered_notifications#2942063). Then use the service app extension to download images or other media attachments for the notification before displaying it on user's iOS device. - ## Notification service extension implementation Notifications from Adobe Journey Optimizer contain a media attachment URL in the `adb_media` key of the notification payload. Use the service extension to download the media attachment from the URL and attach it to the notification before displaying it on the user's device. Here is an example implementation: - ```swift import UserNotifications @@ -103,4 +100,4 @@ extension UNNotificationAttachment { } } -``` \ No newline at end of file +```