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

OC端拦截Ajax的网络请求完成后发送回调,但是H5的注入代码"setProperties"却只被调用一次 #12

Closed
cpo007 opened this issue Apr 27, 2020 · 3 comments

Comments

@cpo007
Copy link

cpo007 commented Apr 27, 2020

OC这边回调了七个包但是H5断点调试只收到第一个包,请问这是为什么啊?

@cpo007
Copy link
Author

cpo007 commented Apr 27, 2020

我发现_XHR的cache并没有真正存入xhr对象,只是保存了id,有可能是这个原因导致无法回调

@karosLi
Copy link
Owner

karosLi commented May 1, 2020

嗯,你好,你那边是使用最新的 KKJSBridge 吗,你有 demo 吗,我这边使用都没有问题的哈。最好有 demo 发我就好了,然后指明下是哪个ajax发送失败了。

@cpo007
Copy link
Author

cpo007 commented May 6, 2020

所有的ajax都会被拦截转用AFN发送,然后AFN在调用JS后JS注入代码的断点只能断到一次。
打断点只能看到unfinder报错。
不确定是不是我这边的Web开发人员的问题,只能先关掉了

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

No branches or pull requests

2 participants