铬导航受阻

时间:2017-01-25 09:36:05

标签: android google-chrome chromium

我的移动网页上有超链接,如果该应用安装在同一个Android手机中,该超链接应打开我的应用。
超链接不是按照here所述直接完成的,而是通过中间URL(将用户神奇地重定向到Play商店或iTunes商店)完成的:

<a target="_blank" class="get-app-button" href="https://xxx.onelink.me/234129282?pid=Mobilesite&amp;c=SG_Smartbanner&amp;af_dp=xxx://brand::becca&amp;af_web_dp=http%3A%2F%2Fwww.xxx.sg%2F">  

日志:

01-25 17:16:59.628 W/cr_Chrome: Bad URI 'intent://brand::becca?af_deeplink=true&campaign=SG_Smartbanner&media_source=Mobilesite#Intent;scheme=xxx;package=com.xxx.digital;S.browser_fallback_url=market://details?id=com.xxx.digital&referrer=af_tranid%253DdfjL3z9mDvSLtimUWhv6lg%2526pid%253DMobilesite%2526c%253DSG_Smartbanner%2526af_dp%253Dxxx%253A//brand%253A%253Abecca;S.market_referrer=af_tranid%3DdfjL3z9mDvSLtimUWhv6lg%26pid%3DMobilesite%26c%3DSG_Smartbanner%26af_dp%3Dxxx%3A//brand%3A%3Abecca;end'
01-25 17:16:59.638 I/chromium: [INFO:CONSOLE(0)] "Navigation is blocked: intent://brand::becca?af_deeplink=true&campaign=SG_Smartbanner&media_source=Mobilesite#Intent;scheme=xxx;package=com.xxx.digital;S.browser_fallback_url=market://details?id=com.xxx.digital&referrer=af_tranid%253DdfjL3z9mDvSLtimUWhv6lg%2526pid%253DMobilesite%2526c%253DSG_Smartbanner%2526af_dp%253Dxxx%253A//brand%253A%253Abecca;S.market_referrer=af_tranid%3DdfjL3z9mDvSLtimUWhv6lg%26pid%3DMobilesite%26c%3DSG_Smartbanner%26af_dp%3Dxxx%3A//brand%3A%3Abecca;end", source: https://xxx.onelink.me/234129282?pid=Mobilesite&c=SG_Smartbanner&af_dp=xxx://brand::becca&af_web_dp=http%3A%2F%2Fwww.xxx.sg%2F (0)

我在这里缺少什么?

1 个答案:

答案 0 :(得分:0)

删除target="_blank"解决了问题