issues Search Results · repo:Kntt/vue-js-bridge language:JavaScript
Filter by
8 results
(56 ms)8 results
inKntt/vue-js-bridge (press backspace or delete to remove)callNative() { console.log( click ); try { this.$bridge .callHandler({ type: Log , data: { name: test js bridge } })
.then(res = { console.log( native-res , res); this.code = res; }); } catch (error) { ...
Jiyr0119
- 2
- Opened on Mar 24, 2020
- #19
async callNative() {
try {
await this.$bridge
.callHandler({
type: Log ,
data: {
name: test js bridge
}
})
.then(res = {
console.log( ...
Jiyr0119
- 4
- Opened on Mar 23, 2020
- #18
@Kntt ,从文档上看, 1、只看到h5提供数据的两种方法给移动端,但是移动端不知道怎么接收, 2、如果移动端要传输数据给h5,h5怎么接收处理数据
Jerrodly
- 2
- Opened on Feb 28, 2020
- #17
VueJsBridgePlugin init: image WebViewJavascriptBridge适配IOS机型,JsBridge适配安卓机型,此处写法仅仅适配的是Ios手机 应该: image
image
Andy-Shangsa
- 2
- Opened on Jun 13, 2019
- #12
我现在的流程是 创建并初始化WebView -
加载url -
200毫秒后,安卓端注册 webView.registerHandler( callNativeHandler , new BridgeHandler()...)-
Vue页面mounted()方法里this.$bridge.registerHandler( callJsHandler , (msg, callback)...) -
1000毫秒后,Vue调用this.$bridge.callHandler(...) ...
anyfar
- 1
- Opened on Mar 20, 2019
- #11
先看配置 image
引用 image
vue中mounted代码如下 image 不管引用中delay设置多少,或者setTimeout设置多少,浏览器中总是最后显示[VueJsBridge] work in mock mode... image
android代码顺序 使用andserver启动了一个内部服务器用来访问vue andserver可以监听服务器已经开始启动,这时候loadUrl(vue页面),并且不阻塞5秒后执行 ...
anyfar
- 3
- Opened on Mar 13, 2019
- #10
image delay: 10000,参数我加到10秒还是不行. 我这边加载的url 是线上url链接,不是本地的url文件
-
image 我这边自己加个setTimeout,然后把delay改成0毫秒,运行起来是没有问题的
能说一下您的代码环境吗? 您在之前是怎么处理的 ? 还有就是有其他的解决方案吗?
question
youdianfan
- 13
- Opened on Mar 13, 2019
- #9

Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Press the /
key to activate the search input again and adjust your query.
Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Restrict your search to the title by using the in:title qualifier.