Match URIs with like http://example.com/something in AndroidManifest

后端 未结 3 2093
既然无缘
既然无缘 2021-02-15 03:12

I am struggling with the element in the AndroidManifest.xml file to get my URI matching working. I want to match the following URIs:

  • http
3条回答
  •  攒了一身酷
    2021-02-15 03:55

    Unless you have very many possible variations of paths you want to catch, just declare all of them explicitly (using path and pathPrefix) to avoid too-broad patterns.

    
    
    

提交回复
热议问题