chore(Android): Modify the class name: Alipay => RNAlipay
This commit is contained in:
parent
b7ea3c0318
commit
c141057ee7
@ -4,28 +4,28 @@ import com.alipay.sdk.app.AuthTask;
|
||||
import com.alipay.sdk.app.PayTask;
|
||||
import com.alipay.sdk.app.EnvUtils;
|
||||
import com.facebook.react.bridge.Arguments;
|
||||
import com.facebook.react.bridge.Promise;
|
||||
import com.facebook.react.bridge.ReactApplicationContext;
|
||||
import com.facebook.react.bridge.ReactContextBaseJavaModule;
|
||||
import com.facebook.react.bridge.ReactMethod;
|
||||
import com.facebook.react.bridge.ReadableMap;
|
||||
import com.facebook.react.bridge.WritableMap;
|
||||
import com.facebook.react.bridge.Callback;
|
||||
import com.facebook.react.bridge.Promise;
|
||||
// import com.facebook.react.bridge.Callback;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
public class AlipayModule extends ReactContextBaseJavaModule {
|
||||
public class RNAlipayModule extends ReactContextBaseJavaModule {
|
||||
|
||||
private final ReactApplicationContext reactContext;
|
||||
|
||||
public AlipayModule(ReactApplicationContext reactContext) {
|
||||
public RNAlipayModule(ReactApplicationContext reactContext) {
|
||||
super(reactContext);
|
||||
this.reactContext = reactContext;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getName() {
|
||||
return "Alipay";
|
||||
return "RNAlipay";
|
||||
}
|
||||
|
||||
// @ReactMethod
|
@ -10,10 +10,10 @@ import com.facebook.react.bridge.ReactApplicationContext;
|
||||
import com.facebook.react.uimanager.ViewManager;
|
||||
import com.facebook.react.bridge.JavaScriptModule;
|
||||
|
||||
public class AlipayPackage implements ReactPackage {
|
||||
public class RNAlipayPackage implements ReactPackage {
|
||||
@Override
|
||||
public List<NativeModule> createNativeModules(ReactApplicationContext reactContext) {
|
||||
return Arrays.<NativeModule>asList(new AlipayModule(reactContext));
|
||||
return Arrays.<NativeModule>asList(new RNAlipayModule(reactContext));
|
||||
}
|
||||
|
||||
@Override
|
Loading…
Reference in New Issue
Block a user