GitXplorerGitXplorer
h

ReactNativeAndroidWebView

public
19 stars
3 forks
0 issues

Commits

List of commits on branch master.
Verified
d088512fa659b005f92448e05994feeec33f9620

Merge pull request #4 from hushicai/dependabot/npm_and_yarn/js-yaml-3.14.0

hhushicai committed 2 years ago
Verified
085524df662ed5f24c66bbf0d4b8975c29f655bc

Merge pull request #5 from hushicai/dependabot/npm_and_yarn/stringstream-0.0.6

hhushicai committed 2 years ago
Verified
0cf8960a5933d27745030f40bde6a06f2a6291d5

Merge pull request #6 from hushicai/dependabot/npm_and_yarn/sshpk-1.16.1

hhushicai committed 2 years ago
Verified
c2b3a14e45422af3e5f297ec6b409a4fb1ba1c2b

Merge pull request #7 from hushicai/dependabot/npm_and_yarn/diff-3.5.0

hhushicai committed 5 years ago
Verified
b3646906bb6ef6a0b49935136ff09b0671dcc611

Bump diff from 3.3.1 to 3.5.0

ddependabot[bot] committed 5 years ago
Verified
6a1b296b6495aaf2023099c28ad0cad05576eb6d

Bump sshpk from 1.13.1 to 1.16.1

ddependabot[bot] committed 5 years ago

README

The README file for this repository.

ReactNativeAndroidWebView

Android webview does not support file upload、file download and web contents debugging by default, I make this project to show solution for this problem.

React Native v0.50.0-

For RN v0.50.0-, RN do not allow us to extend built-in components.

So CustomWebView have to copy the code from react-native/Libraries/Components/WebView/WebView.android.js.

React Native v0.50.0 and v0.50.0+

For RN v0.50.0 and v0.50.0+, RN allow us to "Add props for overriding native component in WebView".

So we can use the new feature to implement our CustomWebView.

As we can see, the new implemention is brief.