Align complex patterns with intent filters and data

My intent filter is as follows:

<intent-filter> <action android:name="android.intent.action.VIEW" /> <action android:name="android.intent.action.SENDTO" /> <category android:name="android.intent.category.DEFAULT"></category> <category android:name="android.intent.category.BROWSABLE" /> <data android:scheme="http" android:host="mywebsite" android:pathPattern="/oauth/authorize?.*oauth_verifier=.*" /> </intent-filter> 

however, this is not consistent.

Should I delete ? and everything after it, it matches, but the site I use uses this URL several times, and the only thing that interests me is oauth_verifier.

Is there a way to make the intent filter match bits (request parameters?) After / oauth / authorize

+4
source share
1 answer

Is there a way to make the intent filter match bits (request parameters?) After / oauth / authorize

No, sorry.

+2
source

Source: https://habr.com/ru/post/1336570/


All Articles