From 711ff9cf692854bbb683c5a2eaa8f91d65dc69ed Mon Sep 17 00:00:00 2001 From: Steve Benedick Date: Thu, 25 Jul 2024 08:44:45 -0600 Subject: [PATCH 1/2] -changing ios repo references, fixing a couple typos, removing carousel layout type from ios --- .github/scripts/release_notes/constants.js | 2 +- src/pages/resources/reference/push-notifications/ios/index.md | 4 ++-- .../reference/push-notifications/templates/tabs/carousel.md | 3 +-- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/scripts/release_notes/constants.js b/.github/scripts/release_notes/constants.js index bc86ad7c39..b4e7d24ecd 100644 --- a/.github/scripts/release_notes/constants.js +++ b/.github/scripts/release_notes/constants.js @@ -49,7 +49,7 @@ const repoNames = [ "aepsdk-places-android", "aepsdk-target-ios", "aepsdk-target-android", - "aepsdk-notificationcontent-ios", + "aepsdk-ui-ios", "aepsdk-ui-android", ] diff --git a/src/pages/resources/reference/push-notifications/ios/index.md b/src/pages/resources/reference/push-notifications/ios/index.md index 04b2ad7ea1..16c875dc41 100644 --- a/src/pages/resources/reference/push-notifications/ios/index.md +++ b/src/pages/resources/reference/push-notifications/ios/index.md @@ -44,7 +44,7 @@ To add the AEPNotificationContent Package to your application, from the Xcode me The menu options may vary depending on the version of Xcode being used. -Enter the URL for the AEPNotificationContent package repository: `https://github.com/adobe/aepsdk-notificationcontent-ios.git`. +Enter the URL for the AEPUI repository: `https://github.com/adobe/aepsdk-ui-ios.git`. For `Dependency Rule`, select `Up to Next Major Version`. @@ -52,7 +52,7 @@ Alternatively, if your project has a `Package.swift` file, you can add the AEPNo ```swift dependencies: [ - .package(name: "AEPNotificationContent", url: "https://github.com/adobe/aepsdk-notificationcontent-ios.git", .upToNextMajor(from: "5.0.0")) + .package(name: "AEPNotificationContent", url: "https://github.com/adobe/aepsdk-ui-ios.git", .upToNextMajor(from: "5.0.0")) ], targets: [ .target( diff --git a/src/pages/resources/reference/push-notifications/templates/tabs/carousel.md b/src/pages/resources/reference/push-notifications/templates/tabs/carousel.md index 1046227542..7595f6040c 100644 --- a/src/pages/resources/reference/push-notifications/templates/tabs/carousel.md +++ b/src/pages/resources/reference/push-notifications/templates/tabs/carousel.md @@ -108,7 +108,7 @@ For full information on APNS payload keys, see [Apple's documentation](https://d The properties below define the payload sent to APNS: -## APS properties +## APNS properties | **Field** | **Required** | **Key** | **Type** | **Description** | | :-------- | :----------- | :------ | :------- | :-------------- | @@ -130,7 +130,6 @@ The properties below define the payload sent to APNS: | Expanded Title | ⛔️ | `adb_title_ex` | string | Title of the message when the notification is expanded.

If an expanded title is not provided, the value in `aps.alert.title` will be used. | | Link URI | ⛔️ | `adb_uri` | string | URI to be handled when the user clicks on the unexpanded notification or on a carousel item that has not provided its own `uri`.

If no value is provided, clicking on the notification will open the host application. | | Operation mode | ⛔️ | `adb_car_mode` | string | Determines how the carousel will be operated.

Valid values are "auto" or "manual".

Default value is "auto". | -| Carousel layout type | ⛔️ | `adb_car_layout` | string | Determines how the carousel items will be displayed.

Valid values are "default" (full screen images) or "filmstrip" (bordered images to make them look like part of a roll of film).

Default value is "default". | | Carousel items | ✅ | `adb_items` | array | Two to five items in the carousel defined by the following object: | | Color - Title | ⛔️ | `adb_clr_title` | string | Text color for `adb_title_ex`. Represented as six character hex, e.g. `00FF00`

If no value is provided, the system [label color](https://developer.apple.com/documentation/uikit/uicolor/3173131-label) will be used. | | Color - Body | ⛔️ | `adb_clr_body` | string | Text color for `adb_body_ex`. Represented as six character hex, e.g. `00FF00`

If no value is provided, the system [secondaryLabel color](https://developer.apple.com/documentation/uikit/uicolor/3173136-secondarylabel) will be used. | From a0a5061d32a06af67494f97652072a2b7de65f75 Mon Sep 17 00:00:00 2001 From: Steve Benedick Date: Thu, 25 Jul 2024 08:46:17 -0600 Subject: [PATCH 2/2] -clean up formatting --- src/pages/resources/reference/push-notifications/ios/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/resources/reference/push-notifications/ios/index.md b/src/pages/resources/reference/push-notifications/ios/index.md index 16c875dc41..35f1f9b815 100644 --- a/src/pages/resources/reference/push-notifications/ios/index.md +++ b/src/pages/resources/reference/push-notifications/ios/index.md @@ -44,7 +44,7 @@ To add the AEPNotificationContent Package to your application, from the Xcode me The menu options may vary depending on the version of Xcode being used. -Enter the URL for the AEPUI repository: `https://github.com/adobe/aepsdk-ui-ios.git`. +Enter the URL for the AEP UI repository: `https://github.com/adobe/aepsdk-ui-ios.git`. For `Dependency Rule`, select `Up to Next Major Version`.