marcuswestin / WebViewJavascriptBridge

An iOS/OSX bridge for sending messages between Obj-C and JavaScript in UIWebViews/WebViews
http://marcuswest.in
MIT License
14.29k stars 2.98k forks source link

Please tell me ,is it workful on Vue2 ? I can't use a vue method by js on Android! #324

Open lwb2016 opened 6 years ago

lwb2016 commented 6 years ago

WVJB Bug Report

Thanks for reporting an issue with WebViewJavascriptBridge.

Do these 4 things and I will fix your problem!

  1. Go to https://github.com/marcuswestin/WebViewJavascriptBridge and click Fork.
  2. Clone your fork, cd into it and run make test. All tests should pass!
  3. Edit Tests/WebViewJavascriptBridgeTests/BridgeTests.m and create a new, failing test which demostrates your issue.
  4. Create a pull request for https://github.com/marcuswestin/WebViewJavascriptBridge

That's it!

I will take it from there and promise that I'll fix your problem ASAP.

If you don't do this then I can't help you!

And I probably won't :)

Cheers, @marcuswestin

Jayin commented 6 years ago

this project is only for iOS

xushuduo commented 6 years ago

Android可以参考这个框架 https://github.com/lzyzsd/JsBridge

wendux commented 6 years ago

This project is only for iOS, Android version please refer to https://github.com/wendux/WebViewJavascriptBridge , and you can also read #329 for more details.