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

通过dsbridge.call调用,iOS端接收到的信息不正确 #146

Open
iPermanent opened this issue Jun 13, 2022 · 0 comments
Open

通过dsbridge.call调用,iOS端接收到的信息不正确 #146

iPermanent opened this issue Jun 13, 2022 · 0 comments

Comments

@iPermanent
Copy link

js端使用dsbridge.call(name,params,(v))方式调用,然后在iOS端委托
runJavaScriptTextInputPanelWithPrompt方法里断点,日志里出来的promot以true开头,而不是_dsbridge=开头,导致进不了里面调用原生方法的断点
[37121:2501511] runJavaScriptTextInputPanelWithPrompt: --- true_dsb.dsinit defaultText {"data":{}}
2022-06-13 14:09:32.331967+0800[37121:2501511] runJavaScriptTextInputPanelWithPrompt: --- truegetStatusBarHeight defaultText {"data":{},"_dscbstub":"dscb0"}
2022-06-13 14:09:34.981082+0800[37121:2501511] runJavaScriptTextInputPanelWithPrompt: --- truesetNavStatusBarVisibility defaultText {"data":"1","_dscbstub":"dscb1"}

并且这个_dsdb.dsinit 初始化方法会以alert形式弹出影响用户体验

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

1 participant