lucasferreira / react-native-webview-android

Simple React Native Android module to use Android's WebView inside your app
355 stars 158 forks source link

Pull request #79

Closed HancleLee closed 6 years ago

HancleLee commented 6 years ago

now js can call app; usage: <!DOCTYPE html>

Carson

<WebViewAndroid javaScriptEnabled={true} domStorageEnabled={true} scalesPageToFit={true} startInLoadingState={true} geolocationEnabled={false} builtInZoomControls={false} decelerationRate="normal" automaticallyAdjustContentInsets={false} url={url} style={styles.base} jsToApp={this._jsToApp.bind(this)} />

_jsToApp(params) { // alert("_jsToApp"); }

lucasferreira commented 6 years ago

Thank you @HancleLee,

Can you clean your pull request a little bit?

If you could send only the .java files and .js files it will be great.

We don't need to attach to github the build folder, and .idea e etc....