GitXplorerGitXplorer
h

ReactNativeAndroidWebView

public
19 stars
3 forks
0 issues

Commits

List of commits on branch master.
Verified
cea465934d1fe1fac8d0cfa0b9666c0818433f24

Bump stringstream from 0.0.5 to 0.0.6

ddependabot[bot] committed 5 years ago
Verified
8637760917ef23a4aa132aed923c0e7d8fad7a46

Bump js-yaml from 3.10.0 to 3.14.0

ddependabot[bot] committed 5 years ago
Verified
d0a7e49952bc213394e68c0d444403fd41424254

Merge pull request #3 from hushicai/dependabot/npm_and_yarn/ws-1.1.5

hhushicai committed 5 years ago
Verified
94662945227aedc5f0a1a9ceeaf03e66c126c2fe

Bump ws from 1.1.4 to 1.1.5

ddependabot[bot] committed 5 years ago
Unverified
6c0a7ea0c80b4b2bdd7ec913cdf6f76bff16c667

update app

committed 7 years ago
Unverified
6728f7616755999ea8282773ad05864cbe892345

update readme

committed 7 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.