android - How to redirect non supported Deep-link URL to Browser -
my app supports deep-linking email , external links. app opens , navigates specific screen based on url. don't support url path
example, http://my-deeplink-url/page1
app should open , http://my-deeplink-url/page2
should open on browser.
since app support my-deeplink-url
uri path, both link app opens. ok, if app opens, needs redirect browser if url not supported.
i tried starting activity using intent.action_view
, again opens app , supports same deep-link url.
what explicit intent open url in browser.
you should able investigating pathprefix
options: https://developer.android.com/guide/topics/manifest/data-element.html
Comments
Post a Comment