Skip to content

6.4.0

Compare
Choose a tag to compare
@tapashmajumder tapashmajumder released this 13 Dec 19:51
· 813 commits to master since this release

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 the IterableConfig 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 and custom 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, and iterable 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).