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

WVJB For Android (NEW) #329

Open
wendux opened this issue Jan 19, 2018 · 4 comments
Open

WVJB For Android (NEW) #329

wendux opened this issue Jan 19, 2018 · 4 comments

Comments

@wendux
Copy link

wendux commented Jan 19, 2018

WebViewJavascriptBridge For Android: https://github.com/wendux/WebViewJavascriptBridge .

This Android version project is a mirror of marcuswestin/WebViewJavascriptBridge , so there are some similarities between the two project , such as API design, native code, and the example demo. For the Javascript code, it is exactly the same.

Welcome suggestions and criticism !

@marcuswestin

@wendux
Copy link
Author

wendux commented Jan 19, 2018

Why reinventing the wheel ?

I have carefully read @marcuswestin 's comments on #103 , and I've also studied other mirroring implementation for Android, such as

https://github.com/jesse01/WebViewJavascriptBridge
https://github.com/lzyzsd/JsBridge

In the process of studying those source, I found many bugs, such as incorrect string escape, calling failure in some cases, incompatibility between different Android versions and models, and so on. The most important thing, however, is that API design compatibility is bad, which leads to the disagreement of javascript code.
And I'm confident that my implementation is better compatible with the IOS version . At the same time, bugs I found in other libraries has been avoided.

Oh..., In order to unify Android and IOS and emancipate the front-end programmer, I should do something !

Finally, Welcome suggestions and criticism again!
Repo: https://github.com/wendux/WebViewJavascriptBridge

@llywuchen
Copy link

https://github.com/wendux/WebViewJavascriptBridge That's what I needed, very cool!

@wendux wendux changed the title WebViewJavascriptBridge For Android WVJB For Android (NEW) Jan 23, 2018
@ghost
Copy link

ghost commented Jan 23, 2018

well done!

@ghost
Copy link

ghost commented Jan 23, 2018

Emancipation day. :)

This is really great stuff

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