Skip to content

Support android:pathAdvancedPattern for generated intent filters #1240

@gabrielittner

Description

@gabrielittner

https://developer.android.com/guide/topics/manifest/data-element#path

This was introduced in API level 31 and allows more more detailed patterns to be generated. For example

  • placeholders can use .+ to ensure they are at least one character long (this avoids foo/ matching foo/{id} because right now it's generated as foo/.*)
  • exclude / from placeholders to avoid inserting more path segments
  • allow optional trailing /

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions