Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 06403fc

Browse files
luffyjetluffyjet
luffyjet
authored and
luffyjet
committed
美化 Readme
1 parent 3a50d7c commit 06403fc

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

‎README.md‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ WebViewJavascriptBridge
22
==========================
33
根据[IOS marcuswestin/WebViewJavascriptBridge](https://github.com/marcuswestin/WebViewJavascriptBridge) 编写而来的JavascriptBridge,这样一来前端可以公用一套JS代码。使用方法和 marcuswestin/WebViewJavascriptBridge 也是基本一样。
44

5+
原理其实就是在 shouldOverrideUrlLoading 方法里截取特定的Url。
6+
57
==同时也在此之上做了加强,根据Cordova的源码,将每一种消息封装成一个插件(RequestHandler),并统一管理起来(HandlerManager)。具体请看下面的 插件管理功能一栏==
68

79
An Android bridge for sending messages between Java and JavaScript in WebViews. Based on [IOS marcuswestin/WebViewJavascriptBridge](https://github.com/marcuswestin/WebViewJavascriptBridge).
@@ -142,7 +144,7 @@ setupWebViewJavascriptBridge(function(bridge) {
142144

143145
## Thanks
144146
[marcuswestin/WebViewJavascriptBridge](https://github.com/marcuswestin/WebViewJavascriptBridge)
145-
& [cordova-android](https://github.com/apache/cordova-android)
147+
& [lzyzsd/JsBridge](https://github.com/lzyzsd/JsBridge) & [cordova-android](https://github.com/apache/cordova-android)
146148

147149

148150

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /