Skip to content

Commit

Permalink
Merge pull request #68 from adobe/dev-v5.0.1
Browse files Browse the repository at this point in the history
Dev v5.0.1 to main for 5.0.1 release
  • Loading branch information
sbenedicadb authored Sep 3, 2024
2 parents 2ff7e39 + 047ced2 commit 7a857b3
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 6 deletions.
2 changes: 1 addition & 1 deletion AEPNotificationContent.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "AEPNotificationContent"
s.version = "5.0.0"
s.version = "5.0.1"
s.summary = "AEPNotificationContent extension for Adobe Experience Cloud SDK. Written and maintained by Adobe."
s.description = <<-DESC
The AEPNotificationContent extension is used in conjunction with AEPMessaging or AEPCampaignClassic to deliver push notification with predefined templates.
Expand Down
4 changes: 2 additions & 2 deletions AEPNotificationContent.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -1256,7 +1256,7 @@
"@executable_path/Frameworks",
"@loader_path/Frameworks",
);
MARKETING_VERSION = 5.0.0;
MARKETING_VERSION = 5.0.1;
MODULE_VERIFIER_SUPPORTED_LANGUAGES = "objective-c objective-c++";
MODULE_VERIFIER_SUPPORTED_LANGUAGE_STANDARDS = "gnu17 gnu++20";
PRODUCT_BUNDLE_IDENTIFIER = com.adobe.aep.AEPNotificationContent;
Expand Down Expand Up @@ -1292,7 +1292,7 @@
"@executable_path/Frameworks",
"@loader_path/Frameworks",
);
MARKETING_VERSION = 5.0.0;
MARKETING_VERSION = 5.0.1;
MODULE_VERIFIER_SUPPORTED_LANGUAGES = "objective-c objective-c++";
MODULE_VERIFIER_SUPPORTED_LANGUAGE_STANDARDS = "gnu17 gnu++20";
PRODUCT_BUNDLE_IDENTIFIER = com.adobe.aep.AEPNotificationContent;
Expand Down
2 changes: 1 addition & 1 deletion AEPNotificationContent/Sources/Constants.swift
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import Foundation
enum Constants {
static let LOG_TAG = "AEPNotificationContent"
static let EXTENSION_NAME = "com.adobe.notificationcontent"
static let EXTENSION_VERSION = "5.0.0"
static let EXTENSION_VERSION = "5.0.1"

enum PayloadKey {
static let TEMPLATE_TYPE = "adb_template_type"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -156,10 +156,13 @@ class CarouselTemplateController: TemplateController, UIScrollViewDelegate {

func setupView() {
setupScrollView()
// setup page control and arrow buttons only if there are more than one carousel items
// setup page control only if there are more than one carousel items
if payload.carouselItems.count > 1 {
setupPageControl()
setupArrowButtons()
// setup the arrow buttons only if the carousel mode is manual
if payload.carouselMode == CarouselMode.manual {
setupArrowButtons()
}
}
setupTitleAndDescription()
view.backgroundColor = payload.backgroundColor
Expand Down

0 comments on commit 7a857b3

Please sign in to comment.