Function handleBrazeAction

  • Handle links from within a message. This method will parse and handle valid Braze Click Actions (brazeActions://). If an openUriCallback intitialization option was provided, it will also redirect valid links using that callback function.

    Parameters

    • url: string

      A valid URL, or a valid brazeActions URL with scheme brazeActions://v{versionInt}/{base64string}

    • openLinkInNewTab: undefined | boolean

      Whether the URL should be opened in a new tab. Defaults to false

    • event: undefined | Event

      The event that triggered the redirect

    Returns Promise<void>