Skip to content

1.2.0

Compare
Choose a tag to compare
@roninopf roninopf released this 10 Mar 18:26
· 919 commits to master since this release
d81fc70

This version of the SDK replaces for version 1.1.4, which has been removed to avoid version number confusion.

Added

  • Added the allowedProtocols field to IterableConfig.

    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 tel links:

    const config = new IterableConfig()
    config.allowedProtocols = ["tel", "http"]

    By default, the 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.

Changed