mirror of
https://github.com/status-im/react-native-webview.git
synced 2026-08-31 19:51:10 +00:00
22 lines
575 B
Java
22 lines
575 B
Java
|
|||
|
|
package com.infinitered.webview;
|
||
|
|
|
||
|
|
import com.facebook.react.bridge.ReactApplicationContext;
|
||
|
|
import com.facebook.react.bridge.ReactContextBaseJavaModule;
|
||
|
|
import com.facebook.react.bridge.ReactMethod;
|
||
|
|
import com.facebook.react.bridge.Callback;
|
||
|
|
|
||
|
|
public class ReactWebViewModule extends ReactContextBaseJavaModule {
|
||
|
|
|
||
|
|
private final ReactApplicationContext reactContext;
|
||
|
|
|
||
|
|
public ReactWebViewModule(ReactApplicationContext reactContext) {
|
||
|
|
super(reactContext);
|
||
|
|
this.reactContext = reactContext;
|
||
|
|
}
|
||
|
|
|
||
|
|
@Override
|
||
|
|
public String getName() {
|
||
|
|
return "RNCWebView";
|
||
|
|
}
|
||
|
|
}
|