webviewjavascriptbridge - html5页面嵌入安卓,ios的webview中,如何用js控制,只能在单个app中打开
大家讲道理
大家讲道理 2017-04-17 13:53:42
0
3
547

html5页面嵌入公司开发的安卓,ios的webview中,如何用js控制只能在公司的app中打开,其他例如浏览器中,手机模拟器中都无法打开,像微信网页提示在微信客户端打开的提示。有好的方法吗?求指教

大家讲道理
大家讲道理

光阴似箭催人老,日月如移越少年。

reply all(3)
迷茫

You can add a piece of js to the header of your page, and then pass a value to the page when the webview opens the page. When the page is loaded and executed such as onload, check to see if it is your own app

洪涛

Match user agent string or private API?

大家讲道理

Set a special agent header

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!