2018-08-07 23:02:40 -07:00
|
|
|
|
2018-08-15 20:30:06 -07:00
|
|
|
package com.reactnativecommunity.webview;
|
2018-08-07 23:02:40 -07:00
|
|
|
|
|
|
|
|
import com.facebook.react.bridge.ReactApplicationContext;
|
|
|
|
|
import com.facebook.react.bridge.ReactContextBaseJavaModule;
|
|
|
|
|
import com.facebook.react.bridge.ReactMethod;
|
|
|
|
|
import com.facebook.react.bridge.Callback;
|
|
|
|
|
|
2018-09-19 01:19:06 +02:00
|
|
|
public class RNCWebViewModule extends ReactContextBaseJavaModule {
|
2018-08-07 23:02:40 -07:00
|
|
|
|
|
|
|
|
private final ReactApplicationContext reactContext;
|
|
|
|
|
|
2018-09-19 01:19:06 +02:00
|
|
|
public RNCWebViewModule(ReactApplicationContext reactContext) {
|
2018-08-07 23:02:40 -07:00
|
|
|
super(reactContext);
|
|
|
|
|
this.reactContext = reactContext;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
public String getName() {
|
2018-09-19 01:19:06 +02:00
|
|
|
return "RNCWebView";
|
2018-08-07 23:02:40 -07:00
|
|
|
}
|
|
|
|
|
}
|