Releases: Iterable/iterable-swift-sdk
6.4.2
Added
- Added support for apps built using Mac Catalyst.
Fixed
- Fixed a couple of problems related to Swift Package Manager and the creation of release builds and simulator artifacts.
- Fixed a problem with the SDK’s Carthage integration.
- Fixed a problem that prevented the SDK from properly tracking inbox sessions when a mobile inbox is displayed in
popup
mode. - In-app delete events are now correctly associated with inbox session IDs.
- Fixed some problems in a script that generates XCFramework binaries.
6.4.1
Fixed
- Fix archiving issue. There was an issue when archiving for projects with deployment target set to iOS 10. This release fixes the issue.
6.4.0
Fixed
- Prevented in-app messages from executing any JavaScript code included in their
HTML templates.
Changed
- Removed support for iOS 9.
Added
-
Added an
allowedProtocols
field to theIterableConfig
class.Use this array to declare the specific URL protocols that the SDK can expect to see
on incoming links (and that it should therefore handle). Doing this will prevent the
SDK from opening links that use unexpected URL protocols.For example, this code allows the SDK to handle
http
andcustom
links:Swift
let config = IterableConfig() config.allowedProtocols = ["http", "custom"] IterableAPI.initialize(apiKey: "<YOUR_API_KEY>", launchOptions: launchOptions, config: config)
Objective-C
IterableConfig *config = [[IterableConfig alloc] init]; config allowedProtocols = @["http", "custom"]; [IterableAPI initializeWithApiKey:@"<YOUR_API_KEY>" launchOptions:launchOptions config:config]
Iterable's iOS SDK handles
https
,action
,itbl
, anditerable
links,
regardless of the contents of this array. However, you must explicitly declare any
other types of URL protocols you'd like the SDK to handle (otherwise, the SDK won't
open them in the web browser or as deep links).
6.3.4
Fixed
- When syncing in-app queues, new messages that already have
read
set totrue
will not spawn anInAppDelivery
event - Fixed the alignment of the no messages title on the inbox empty state
Changed
- Wrapped various app extension unsafe classes for Xcode 13 compatibility
Added
- Added ability to not show the unread count badge
6.3.3
6.3.3
Changed
- CocoaPods targets adding this SDK do not require
use_frameworks!
anymore
Fixed
- Inline comments will not show anymore warnings in Objective-C projects
6.3.2
Added
updateCart
has been added to the SDKdataFields
have been added as a field toCommerceItem
Removed
- The following calls that were previously marked as deprecated have been removed:
IterableAPI.track(inAppOpen messageId: String)
IterableAPI.track(inAppClick messageId: String, buttonURL: String)
IterableAPI.inAppConsume(messageId: String)
IterableAPI.getAndTrack(deeplink webpageURL: URL, callbackBlock: @escaping ITEActionBlock)
IterableAPI.showSystemNotification(withTitle title: String, body: String, button: String?, callbackBlock: ITEActionBlock?)
IterableAPI.showSystemNotification(withTitle title: String, body: String, buttonLeft: String?, buttonRight: String?, callbackBlock: ITEActionBlock?)
6.3.1
6.3.0
Added
-
Offline events processing - This feature saves a local copy of events
triggered in your app while the device is offline (up to 1000 events). When a
connection is re-established and your app is in the foreground, the events will be
sent to Iterable.This feature is off by default, and we're rolling it out on a customer-by-customer
basis. After you start using this version of the SDK, we'll send you a message
before we enable the feature on your account (unfortunately, we can't give you an
exact timeline for when this will happen). If you have any questions, talk to your
Iterable customer success manager.
6.3.0-beta4
6.3.0-beta4
Changed
- This beta is rebuilt from version 6.2.22
Added
- A health monitor now checks to make sure offline events don't get written when there are already a maximum amount of events in the database, or if an error is returned from the database
6.2.22
Added
- In-app message prioritization - Ordering the display of in-app messages based on a priority you select in Iterable when creating in-app campaigns
Fixed
- The authentication flow, with JWT, now does the proper order of operations to avoid a false negative when setting the user (with
setEmail
orsetUser
) - The empty inbox message will now properly wraparound
- An inbox message that has its read state changed will now only animate the unread dot
Removed
- Removed device fingerprinting as a cautionary measure for iOS 14.5 policy updates - note: we still keep the system generated UUID
- Removed deferred deep linking feature