lundi 22 février 2016

Android deep linking web url format error

I have integrated deeplinking to my articles app and added the

<link rel="alternate"
          href="android-app://com.example.android/myapp" />

code to my article detail web page.

When I search an article from google and click an article it goes to my app

String action = intent.getAction();
String data = intent.getDataString();

but here is the data variable comes as normal link(www.myapp.com/...), not like formatted(android-app://....)

Why does it come like a usual link but not formatted according to deep linking format?




Aucun commentaire:

Enregistrer un commentaire