Reputation: 237
I have found many ways to set pathPatterns to apply to certain directories or files. I need to EXCLUDE a directory from a general pattern.
I have an InstantApp intent-filter with a pathPattern="/.*"
That allows two ways of passing parameters with the download of the instantapp feature module
, viz
., example.com/abc/xyz
or example.com/?Q1=abc&Q2=xyz
.
My problem is that I need a directory, say, example.com/exclusion
NOT to be treated as a parameter to be passed but as BROWSABLE.
Any ideas or am I asking the impossible? BTW I do not want to move my pathPattern to, say, "/insertion/.*"
Upvotes: 2
Views: 829
Reputation: 24
if you prefix your path pattern with a value like : pathPattern="/included/.*"
So you add it in the manifest to handle only this one.
Examples :
example.com/included/abc/xyz
example.com/included/?Q1=abc&Q2=xyz
so this one (the excluded) :
example.com/exclusion
it will not be manage by the application.
Upvotes: 1
Reputation: 1007474
Any ideas or am I asking the impossible?
You are asking the impossible. You can have multiple pathPattern
values in an additive fashion, but there are no subtraction semantics in <intent-filter>
in general.
Upvotes: 3