Reputation: 1609
I want to ask are question marks supported in deep linking path patterns?
Right now if I have a link https://blah.com/test?key=123
<data android:pathPattern="/test.*"/>
works but if I do
<data android:pathPattern="/test?key=.*"/>
or
<data android:pathPattern="/test.key=.*"/>
the deep linking doesn't work.
Upvotes: 1
Views: 509
Reputation: 7516
No, the ?key=...
is not part of the URI path. It is called the query.
Upvotes: 0
Reputation: 1379
pathPattern
works only with path like this /.*/.*/
.
The query parameters ('key') will be accessible through the Intent intent.getData()
Upvotes: 1