2017-04-03 3 views
0

Je veux ouvrir l'application Lorsque l'utilisateur essaie d'ouvrir le site web du mobile Android et que j'utilise deep linking `profonde Android reliant ne fonctionne pas sans attribut path

  <category android:name="android.intent.category.BROWSABLE" /> 

      <data android:scheme="http" 
       android:host="host name" 
       android:path="/search" /> 
     </intent-filter>` 

il travaillant avec l'attribut mais ne fonctionne pas sans l'attribut.

+0

Est-ce que ça marche si le chemin est ""? Si c'est le cas, cela devrait être suffisant. –

+0

@Gabe Ne fonctionne pas avec "'dans le chemin – Anil

Répondre

1

Essayez

 <action android:name="android.intent.action.VIEW"></action> 
     <category android:name="android.intent.category.DEFAULT"></category> 
     <category android:name="android.intent.category.BROWSABLE">/category> 
     <data android:scheme="http"></data> 
     <data android:scheme="https"></data> 
     <data android:host="host"></data>