2016-08-11 10 views
0
<activity android:name=".MainActivity"> 
      <intent-filter> 
       <action android:name="android.intent.action.MAIN" /> 
       <data android:scheme="deeplinkingtest"/> 
       <action android:name="android.intent.action.VIEW" /> 
       <category android:name="android.intent.category.DEFAULT" /> 
       <category android:name="android.intent.category.BROWSABLE" /> 
       <category android:name="android.intent.category.LAUNCHER" /> 
      </intent-filter> 
     </activity> 

     <activity android:name=".resetresponse"> 
      <intent-filter> 
       <action android:name="android.intent.action.MAIN" /> 
       <data android:scheme="https" 
        android:host="callum.pixelpin.co.uk" 
        android:pathPrefix="/ResetRequest" /> 
       <data android:scheme="http" 
        android:host="pixelpin.co.uk" 
        android:pathPrefix="/SignIn/ResetRequest" /> 
       <data android:scheme="deeplinkingtest" 
        android:host="resetresponse"/> 
       <action android:name="android.intent.action.VIEW" /> 
       <category android:name="android.intent.category.DEFAULT" /> 
       <category android:name="android.intent.category.BROWSABLE" /> 
       <category android:name="android.intent.category.LAUNCHER" /> 
      </intent-filter> 
     </activity> 

私はスキーム、ホスト、およびパスプレフィックスが正しくないと思われるかもしれません。私はアプリケーションをdeeplinkで特定のページに開こうとしていますが、開始ページを開いたままにしています。

次のようにアプリがチェックされているURLは次のとおりです。

https://login.pixelpin.co.uk/SignIn/ResetResponse.aspx

全URL:

https://login.pixelpin.co.uk/SignIn/ResetResponse.aspx?code=OAWIBGOAWO893745OBFAIN&user=4389246

答えて

1
Deeplink class set Like below code and must be remove other All scheme . 


    <intent-filter> 
        <action android:name="android.intent.action.MAIN" /> 
        <category android:name="android.intent.category.DEFAULT" /> 
        <action android:name="android.intent.action.VIEW" /> 
        <category android:name="android.intent.category.BROWSABLE" /> 

        <data android:scheme="your scheme" /> 
       </intent-filter> 

Include the BROWSABLE category. The BROWSABLE category is required in order for the intent filter to be accessible from a web browser. Without it, clicking a link in a browser cannot resolve to your app. The DEFAULT category is optional, but recommended. Without this category, the activity can be started only with an explicit intent, using your app component name. 
+0

いいえ、まだランチページを開きます – Callum

+0

あなたのアプリのパッケージ名は何ですか? –

+0

スキームを貼るだけで他のスキームはこのアクティビティから削除されます。 –

関連する問題