The Wayback Machine - https://web.archive.org/web/20201101223027/https://github.com/suanmei/callapp-lib/issues/60
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

universal link 的拼接方式 为什么如此奇怪 #60

Open
ourfeel opened this issue Jul 29, 2019 · 5 comments
Open

universal link 的拼接方式 为什么如此奇怪 #60

ourfeel opened this issue Jul 29, 2019 · 5 comments
Labels

Comments

@ourfeel
Copy link

@ourfeel ourfeel commented Jul 29, 2019

path 部分居然是通过qs进行传递。
知乎ulk 地址: https://oia.zhihu.com/answers/762544468

@suanmei
Copy link
Owner

@suanmei suanmei commented Jul 29, 2019

传参方式永远只是方式,URL 只是媒介,如何传递取决于和客户端约定如何实现通过 Universal Link 实现唤端。知乎是通过path来区分,我这里是通过query来传递

@ourfeel
Copy link
Author

@ourfeel ourfeel commented Jul 30, 2019

传参方式永远只是方式,URL 只是媒介,如何传递取决于和客户端约定如何实现通过 Universal Link 实现唤端。知乎是通过path来区分,我这里是通过query来传递

所以这块不够灵活。 是不是应该遵循URI的拼接,如果path有放在qs的特殊需求, 可以自行处理。
目前如果要实现path区分。把完整的 href 直接赋值给了host。不是那么好

@suanmei
Copy link
Owner

@suanmei suanmei commented Jul 30, 2019

Good idea!不过这个属于break级别的change,我这边需要做一些兼容。对这个库还有其他的建议吗😄

@suanmei suanmei added the enhancement label Jul 30, 2019
@ourfeel
Copy link
Author

@ourfeel ourfeel commented Aug 14, 2019

比如针对 yingyongbao 和 appstore 地址为空 不操作

@zfan40
Copy link

@zfan40 zfan40 commented Aug 16, 2020

非常感谢作者整理,+1这种兼容方式,时间好像挺长了 不知道作者有没有计划优化,貌似目前对于path这类只能把path写到option.universal.host里面

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.