Skip to content

Commit

Permalink
Release 18.5.0 (#3150)
Browse files Browse the repository at this point in the history
* Update version

* Update CHANGELOG

* Update swiftui view on active

* Revert "Update swiftui view on active"

This reverts commit ac6d66c32ae75d978641ca3b41ba2213f9c51b73.

* Use display name for sender selector UI

---------

Co-authored-by: crow <[email protected]>
  • Loading branch information
crow and crow authored Jul 1, 2024
1 parent 930af2b commit 8392353
Show file tree
Hide file tree
Showing 10 changed files with 23 additions and 10 deletions.
2 changes: 1 addition & 1 deletion Airship.podspec
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
AIRSHIP_VERSION="18.4.1"
AIRSHIP_VERSION="18.5.0"

Pod::Spec.new do |s|
s.version = AIRSHIP_VERSION
Expand Down
2 changes: 1 addition & 1 deletion Airship/AirshipConfig.xcconfig
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//* Copyright Airship and Contributors */

CURRENT_PROJECT_VERSION = 18.4.1
CURRENT_PROJECT_VERSION = 18.5.0

// Uncomment to include the preview build warning
// OTHER_CFLAGS = $(inherited) -DUA_PREVIEW=1
2 changes: 1 addition & 1 deletion Airship/AirshipCore/Source/AirshipVersion.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import Foundation

public struct AirshipVersion {
public static let version = "18.4.1"
public static let version = "18.5.0"
public static func get() -> String {
return version
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -536,7 +536,7 @@ public extension PreferenceCenterConfig {
/// Country code.
public var countryCode: String

/// Country display name, for example - United Kingdom.
/// Country display name.
public var displayName: String

enum CodingKeys: String, CodingKey {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ public struct ChannelTextField: View {
Spacer()
Picker("senders", selection: $selectedSenderID) {
ForEach(senders, id: \.self) {
Text($0.countryCode.countryFlag() + " " + $0.countryCode + " ").tag($0.senderId)
Text($0.displayName).tag($0.senderId)
}
}
.accentColor(DefaultColors.primaryText)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,8 @@ class PreferenceCenterDecoderTest: XCTestCase {
},
"senders": [
{
"country_code": "+44",
"display_name": "United Kingdom",
"country_code": "+1",
"display_name": "\u{1F1FA}\u{1F1F8} +1",
"placeholder_text": "7010 111222",
"sender_id": "23450"
}
Expand Down
2 changes: 1 addition & 1 deletion AirshipContentExtension.podspec
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
AIRSHIP_VERSION="18.4.1"
AIRSHIP_VERSION="18.5.0"

Pod::Spec.new do |s|
s.version = AIRSHIP_VERSION
Expand Down
2 changes: 1 addition & 1 deletion AirshipDebug.podspec
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
AIRSHIP_VERSION="18.4.1"
AIRSHIP_VERSION="18.5.0"

Pod::Spec.new do |s|
s.version = AIRSHIP_VERSION
Expand Down
2 changes: 1 addition & 1 deletion AirshipServiceExtension.podspec
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
AIRSHIP_VERSION="18.4.1"
AIRSHIP_VERSION="18.5.0"

Pod::Spec.new do |s|
s.version = AIRSHIP_VERSION
Expand Down
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,19 @@

# iOS Changelog

## Version 18.5.0 July 1, 2024
Minor release that includes cert pinning and various fixes and improvements for Preference Center, In-app Messages and Embedded Content.

### Changes
- Added ability to inject a custom certificate verification closure that applies to all API calls
- Added width and height parameters to in-app dismiss button theming
- Fixed bug that caused HTML in-app message backgrounds to default to clear instead of system background
- Fixed extra payload parsing in in-app messages
- Set default banner placement to bottom
- Increased impression interval for embedded in-app views
- Improved in-app banner view accessibility
- Preference center contact channel listing is now refreshed on foreground and from background pushes

## Version 18.4.1 June 21, 2024
Patch release to fix a regression with IAX ignoring screen, version, and custom event triggers. Apps using those triggers that are on 18.4.0 should update.

Expand Down

0 comments on commit 8392353

Please sign in to comment.