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