Nayeem
Nayeem

Reputation: 61

clevertap Deeplink notification is redirecting to safari instead of mobile app when app is in background

clevertap Deeplink notification is redirecting to safari instead of mobile app when app is in background ,

Can any one help on me on this

Upvotes: 3

Views: 1675

Answers (1)

Vipul Kumar
Vipul Kumar

Reputation: 961

I believe you are trying to understand why your Deeplink is opening in the browser first and then redirecting you to the Application

If a deep link starts with HTTPS on iOS devices, the default behavior is to open that link in the browser. If you have implemented a universal link, safari will show you a banner at the top asking if you want to open it in the app.

You can read about it more here:- https://developer.apple.com/documentation/xcode/allowing_apps_and_websites_to_link_to_your_content/defining_a_custom_url_scheme_for_your_app

If you would like to open the app directly from the push notification using an HTTPS link, you should not include the URL in the deep link input field. You can instead pass the HTTPS: deep link as a custom key-value pair, then In you app you can read the custom key-value pair and decide the redirection logic, or if you don't wanna pass URL, you can also pass an identifier which needs to be handled in your app.

Please check this image for more Information:

Please check this image for more Information

Upvotes: 3

Related Questions