Skip to content

Commit

Permalink
Merge pull request #651 from sbenedicadb/update-push-docs
Browse files Browse the repository at this point in the history
-changing ios repo references, fixing a couple typos, removing carousel layout type from ios
  • Loading branch information
sbenedicadb authored Jul 26, 2024
2 parents 38c6747 + a0a5061 commit 3b03c1e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/scripts/release_notes/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ const repoNames = [
"aepsdk-places-android",
"aepsdk-target-ios",
"aepsdk-target-android",
"aepsdk-notificationcontent-ios",
"aepsdk-ui-ios",
"aepsdk-ui-android",
]

Expand Down
4 changes: 2 additions & 2 deletions src/pages/resources/reference/push-notifications/ios/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,15 +44,15 @@ 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 AEP UI repository: `https://github.com/adobe/aepsdk-ui-ios.git`.

For `Dependency Rule`, select `Up to Next Major Version`.

Alternatively, if your project has a `Package.swift` file, you can add the AEPNotificationContent extension directly to your dependencies:

```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(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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** |
| :-------- | :----------- | :------ | :------- | :-------------- |
Expand All @@ -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.<br /><br />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`.<br /><br />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.<br /><br />Valid values are "auto" or "manual".<br /><br />Default value is "auto". |
| Carousel layout type | ⛔️ | `adb_car_layout` | string | Determines how the carousel items will be displayed.<br /><br />Valid values are "default" (full screen images) or "filmstrip" (bordered images to make them look like part of a roll of film).<br /><br />Default value is "default". |
| Carousel items || `adb_items` | array | Two to five items in the carousel defined by the following object:<ul><li>`img` (*required*) - URI to an image to be shown for the carousel item</li><li>`txt` (*optional*) - caption to show when the carousel item is visible</li><li>`uri` (*optional*) - URI to handle when the item is touched by the user.<br />If no `uri` is provided for the item, `adb_uri` will be handled instead.</li></ul> |
| Color - Title | ⛔️ | `adb_clr_title` | string | Text color for `adb_title_ex`. Represented as six character hex, e.g. `00FF00`<br /><br />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`<br /><br />If no value is provided, the system [secondaryLabel color](https://developer.apple.com/documentation/uikit/uicolor/3173136-secondarylabel) will be used. |
Expand Down

0 comments on commit 3b03c1e

Please sign in to comment.