Dans ma page web j'ajouter:Android liens profonds
<meta property="al:android:url" content="myapp://dp/product/5" />
<meta property="al:android:app_name" content="myAPP" />
<meta property="al:android:package" content="xx.xxxx.xxx.v2" />
et dans mon AndroidManifest i ajouté:
<intent-filter>
<data android:scheme="https" android:host="mywebsite.com" />
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.BROWSABLE" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
Quand je tape un de mon lien dans une recherche Google ouvre mon application, mais la seule information que je reçois de getIntent(). getData() est le lien d'URL. Comment puis-je obtenir les informations (contenu) à l'intérieur de mon application:
<meta property="al:android:url" content="myapp://dp/product/5" />
Merci