Android中的网址格式匹配

时间:2018-05-02 09:41:00

标签: android deep-linking android-instant-apps url-pattern

我希望我的即时应用程序能够捕获一些链接并放弃休息。以下是我想要捕获的URL示例:

https://www.example.com/myuser/login/?tc=AAAAAAQXDQAUFZNUUFWSFNNVE4=&next=/myuser/foo/some-other-parameter/foo1/593567297/&utm_source=gmail.com&utm_medium=email&etm_content=58475999468525d9bb3c365c840be5%7C%7C2018-05-02T00:25:26.381895%7CpdghXgghttX0G2iKafySwUTiIrLegggSqMfid/h3IDLrYmPnI38=%7C&utm_campaign=Custom

我制作的模式是:

<data
                android:scheme="https"
                android:host="www.example.com"
                android:pathPattern="myuser/login/..*/myuser/foo/..*"

                />

但这不起作用。

0 个答案:

没有答案