github Iterable/iterable-swift-sdk 6.4.0

latest releases: 6.5.8, 6.5.8-beta1, 6.6.0-beta2...
3 years ago

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

Don't miss a new iterable-swift-sdk release

NewReleases is sending notifications on new releases.