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

兼容 iOS WebViewJavascriptBridge 库 #38

Open
rqwxxe opened this issue Jun 7, 2023 · 2 comments
Open

兼容 iOS WebViewJavascriptBridge 库 #38

rqwxxe opened this issue Jun 7, 2023 · 2 comments

Comments

@rqwxxe
Copy link

rqwxxe commented Jun 7, 2023

这个是怎么兼容的?js需要判断不同平台,调用不同方法吗?

@pengwei1024
Copy link
Owner

是的,目前这个库是支持Android的,iOS可以参考 https://github.com/pengwei1024/JsBridge-WebViewJavascriptBridge-Sample

@rqwxxe
Copy link
Author

rqwxxe commented Jun 7, 2023

是的,目前这个库是支持Android的,iOS可以参考 https://github.com/pengwei1024/JsBridge-WebViewJavascriptBridge-Sample

这个demo就不能动态注入了,需要额外加载JsBridgeCore这个js文件了

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