Skip to content

Commit

Permalink
Release 18.14.0 (#3320)
Browse files Browse the repository at this point in the history
  • Loading branch information
rlepinski authored Dec 19, 2024
1 parent a9d0d1d commit e7f4188
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@ import Foundation
struct AutomationScheduleData: Sendable, Equatable, CustomDebugStringConvertible {
var schedule: AutomationSchedule
var scheduleState: AutomationScheduleState

/// The last time the `schedule` field was updated.
var lastScheduleModifiedDate: Date

var scheduleStateChangeDate: Date
var executionCount: Int
var triggerInfo: TriggeringInfo?
Expand Down Expand Up @@ -48,7 +51,6 @@ extension AutomationScheduleData {
guard scheduleState != state else { return }
self.scheduleState = state
self.scheduleStateChangeDate = date
self.lastScheduleModifiedDate = date
}

mutating func finished(date: Date) {
Expand Down
4 changes: 4 additions & 0 deletions Airship/AirshipFeatureFlags/Source/FeatureFlagManager.swift
Original file line number Diff line number Diff line change
Expand Up @@ -161,10 +161,14 @@ public final class FeatureFlagManager: Sendable {
throw FeatureFlagError.outOfDate
case .stale:
throw FeatureFlagError.staleData
@unknown default:
throw AirshipErrors.error("Unexpected state")
}
} else {
return info
}
@unknown default:
throw AirshipErrors.error("Unexpected state")
}
}

Expand Down
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,23 @@

# iOS Changelog

## Version 18.14.0 December 19, 2024
Minor release that fixes issues with Banner In-App Automations, reduces power usage with In-App Automations & Scenes, and updates how Feature Flags are resolved.

### Changes
- Added `resultCache` to `FeatureFlagManager`. This cache is managed by the app and can be optionally used when resolving a flag as a fallback if the flag fails to resolve or if
the flag rule set does not exist.
- FeatureFlag resolution will now resolve a rule set even if the listing is out of date.
- Fixed issue with In-App Automation banners constraints, causing the banner to sometimes steal focus from the underlying app screen or not fully display.
- Fixed issue with Surveys that require multi choice or single choice questions not blocking submission.
- Reduced the CPU overhead with In-App Automations & Scene execution to reduce overall power usage.


## Version 18.13.0 December 5, 2024
Minor release that improves a11y support, updated Preference Center UI, and fixes several minor and improvements in Scenes and in-app message banners.

### Changes
- Added support for email collection in Scenes
- Updated Preference Center UI to use standard padding, titles, and colors to improve the look and feel across different platforms.
- Added support to mark a label as a heading in Scenes.
- Added support for auto-height modals in Scenes.
Expand Down

0 comments on commit e7f4188

Please sign in to comment.