I had a look here but it seems that the things changed in API 23 as the scheme is no more android-app://
.
My deep link works well in Chrome but not in WebView.
Currently my link is the following one:
<a href='intent://www.example.com/webservice?site=whynot&theme=xx&lang=fr#Intent;scheme=http;package=com.ndguide.ndguide;end'>My Intent Link</a>
And so I intercept the url like below:
@Override
public boolean shouldOverrideUrlLoading(WebView view, String url) {
Intent intent;
if (url.contains("intent://")) {
intent = new Intent(Intent.ACTION_VIEW);
intent.setData(Uri.parse(url));
startActivity(intent);
return true;
}
return super.shouldOverrideUrlLoading(view, url);
}