URL & deep link guide
By default, when a user clicks a push notification or in-app message that has a URL, the FlareLane SDK navigates there automatically, with no additional code required.
URL formats handled automatically
Section titled “URL formats handled automatically”By default, FlareLane supports automatic handling on click for URLs that start with the following schemes:
- http/https: Opens FlareLane's built-in WebView to load the web page. If you support App Links or Universal Links, the corresponding app launches instead.
- Deep links: If the deep link is one the OS can recognize, the app launches automatically and the deep link is opened. If the deep link doesn't navigate, you're using a custom deep link format that isn't compatible.
Implementing navigation yourself for custom deep link formats
Section titled “Implementing navigation yourself for custom deep link formats”If you use a custom deep link format that the operating system (OS) cannot recognize automatically, you'll need to implement the navigation logic yourself.
- Push notifications: Implement the FlareLane SDK's click handler to add your own navigation logic.
- Implement setNotificationClickedHandler in the Mobile SDK Reference
- In-app messages: Implement the FlareLane SDK's custom action handler to add your own navigation logic.
- Implement setInAppMessageActionHandler in the Mobile SDK Reference
(Optional) Disabling automatic URL handling
Section titled “(Optional) Disabling automatic URL handling”If you want to completely disable all automatic URL handling, refer to the guide below.
Disable automatic URL handling