-
Notifications
You must be signed in to change notification settings - Fork 97
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
Native 向 Web 发送一个数据计算结果的接口请教 #25
Comments
查看这个 Commit e41ca29 |
你是说调用这个方法吗?callJavaScript。这一步点击web上的按钮,是怎么触发container里的那个模拟的请求。然后又把返回结果显示在网页上。这点还是不明白。 |
也看了网页里的源码,但是看得一头雾水啊 |
我不太清楚你想做什么。 Rexxar 中的 native 和 web 之间的关系如下:
|
请问你是说,web业务代码怎么请求API,并得到Response的吗? |
恩,谢谢回答,就是这个地方。看代码时没配合web demo看。结果就是不知道那个获取地理位置的方法在container里是怎么拦截的。最悲催的是,自己发了个请求,container怎么也是拦截不到。所以就很迷茫了。。。现在知道了。感谢大神们的无私奉献啊和耐心解答! |
native这边模拟发送一个请求,但是web端需要怎么做,才能将计算结果显示在web上啊,web端拦截container里的请求?卡在这里了。希望能得到你的回复
The text was updated successfully, but these errors were encountered: