Skip to content

Commit

Permalink
Release 18.2.2 (#3100)
Browse files Browse the repository at this point in the history
* Update versions

* Update CHANGELOG

* Banner default title and banner alignment match dashboard preview

* Update CHANGELOG

---------

Co-authored-by: crow <[email protected]>
  • Loading branch information
crow and crow authored May 16, 2024
1 parent cb82eb6 commit 5de76ff
Show file tree
Hide file tree
Showing 8 changed files with 20 additions and 12 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.2.1"
AIRSHIP_VERSION="18.2.2"

Pod::Spec.new do |s|
s.version = AIRSHIP_VERSION
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,15 +127,15 @@ struct InAppMessageBannerView: View {
HStack(alignment: .top, spacing: 16) {
mediaView
VStack(alignment: .center, spacing: 16) {
headerView.applyAlignment(placement: displayContent.heading?.alignment ?? .center)
bodyView.applyAlignment(placement: displayContent.body?.alignment ?? .center)
headerView.applyAlignment(placement: displayContent.heading?.alignment ?? .left)
bodyView.applyAlignment(placement: displayContent.body?.alignment ?? .left)
}
}
case .mediaRight:
HStack(alignment: .top, spacing: 16) {
VStack(alignment: .center, spacing: 16) {
headerView.applyAlignment(placement: displayContent.heading?.alignment ?? .center)
bodyView.applyAlignment(placement: displayContent.body?.alignment ?? .center)
headerView.applyAlignment(placement: displayContent.heading?.alignment ?? .left)
bodyView.applyAlignment(placement: displayContent.body?.alignment ?? .left)
}
mediaView
}
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.2.1
CURRENT_PROJECT_VERSION = 18.2.2

// 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.2.1"
public static let version = "18.2.2"
public static func get() -> String {
return version
}
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.2.1"
AIRSHIP_VERSION="18.2.2"

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.2.1"
AIRSHIP_VERSION="18.2.2"

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.2.1"
AIRSHIP_VERSION="18.2.2"

Pod::Spec.new do |s|
s.version = AIRSHIP_VERSION
Expand Down
12 changes: 10 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,20 @@

[Migration Guides](https://github.com/urbanairship/ios-library/tree/main/Documentation/Migration)

## Version 18.2.2, May 15, 2024
Patch release includes a fix for submission issues when building with XCFrameworks, a bug fix for emitting pager events from in-app pager views, and a bug fix for the in-app banner's default title and body alignment to match the dashboard preview. Apps using XCFrameworks should update.

### Changes
- Fixed pager event emission from in-app pager views.
- Fixed submission issue when building with XCFrameworks.
- Fixed in-app banner title and body default alignment.

## Version 18.2.1, May 14, 2024
Patch release that makes IAA name property is optional and defaults to an empty string.

### Changes
- Fixed InAppMessage parsing to handle the optional name property
- Ignore invalid schedules on parsing
- Fixed InAppMessage parsing to handle the optional name property.
- Ignore invalid schedules on parsing.

## Version 18.2.0, May 7, 2024
Minor release with updates for in-app message customization, video playback improvements in scenes, web view inspection configuration and several bug fixes. Apps that require obj-c support or are migrating from an older version of the SDK to 18.x should update to this version.
Expand Down

0 comments on commit 5de76ff

Please sign in to comment.