Skip to content

Commit

Permalink
Release 18.4.1 (#3139)
Browse files Browse the repository at this point in the history
  • Loading branch information
rlepinski authored Jun 21, 2024
1 parent 770b9c1 commit 9b75747
Show file tree
Hide file tree
Showing 10 changed files with 18 additions and 21 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,10 @@ jobs:
files: |
./build/Airship.zip
./build/Airship.xcframeworks.zip
- name: Kickoff prebuilt repo
env:
GITHUB_TOKEN: ${{ secrets.IOS_DEPLOY_PREBUILT_PAT }}
run: gh --repo urbanairship/ios-library-prebuilt workflow run release.yml

deploy-pods:
runs-on: macos-14-xlarge
Expand Down
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.0"
AIRSHIP_VERSION="18.4.1"

Pod::Spec.new do |s|
s.version = AIRSHIP_VERSION
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ final class AutomationEventFeed: AutomationEventFeedProtocol {
group.addTask {
for await event in await analyticsFeed.updates {
guard !Task.isCancelled else { return }
guard let converted = event.toAutomationEvent() else { return }
guard let converted = event.toAutomationEvent() else { continue }

for item in converted {
await onEvent(item)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ extension EventAutomationTrigger {
case .event(let type, let eventData, let value):
guard
self.type == type,
isPredicateMatching(value: eventData)
isPredicateMatching(value: eventData?.unWrap())
else { return nil }

return evaluateResults(data: &data, increment: value)
Expand Down Expand Up @@ -179,19 +179,6 @@ extension EventAutomationTrigger {
}
}

private func customEvenTriggerMatch(eventData: AirshipJSON, value: Double?, data: inout TriggerData) -> MatchResult? {
switch self.type {
case .customEventCount:
guard isPredicateMatching(value: eventData.unWrap()) else { return nil }
return evaluateResults(data: &data, increment: 1)
case .customEventValue:
guard isPredicateMatching(value: eventData.unWrap()) else { return nil }
return evaluateResults(data: &data, increment: value ?? 1.0)
default:
return nil
}
}

private func isPredicateMatching(value: Any?) -> Bool {
guard let predicate = self.predicate else { return true }
return predicate.evaluate(value)
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.0
CURRENT_PROJECT_VERSION = 18.4.1

// 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.0"
public static let version = "18.4.1"
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.4.0"
AIRSHIP_VERSION="18.4.1"

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.0"
AIRSHIP_VERSION="18.4.1"

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.0"
AIRSHIP_VERSION="18.4.1"

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

# iOS Changelog

## 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.

### Changes
- Fixed trigger regression for IAX introduced in 18.4.0.

## Version 18.4.0, June 14, 2024
Minor release that adds contact management support to the preference center, support for anonymous channels, per-message in-app message theming, message center customization and logging improvements. Apps that use the message center or stories should update to this version.

Expand Down

0 comments on commit 9b75747

Please sign in to comment.