Android Deep linking omit certain url

前端 未结 2 993
旧巷少年郎
旧巷少年郎 2020-12-30 04:05

I have implemented deep linking to my app successfully but I am stuck with a problem.


    

        
2条回答
  •  死守一世寂寞
    2020-12-30 04:14

    If I understand your problem correctly you want to exclude a particular URL from a certain list of URLs. What you tried was a good way to do that.

    android:pathPattern doesn't understand the complicated regex pattern as you said.

    I think the only way to solve your problem is to change the URL which you want to omit. Change the host or a part of that URL, or change the name example.com to, say, example2.com/hello/redirect/.

提交回复
热议问题