We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
_reactNativeAlipay.default.setAlipaySandbox is not a function
The text was updated successfully, but these errors were encountered:
已解决,需在node_modules>@0x5e>react-native-alipay>android>src>main>java>com>reactlibrary>AlipayModule.java file里: step1: import com.alipay.sdk.app.EnvUtils step2: @ReactMethod public void setAlipaySandbox(Boolean isSandbox) { if(isSandbox){ EnvUtils.setEnv(EnvUtils.EnvEnum.SANDBOX); }else { EnvUtils.setEnv(EnvUtils.EnvEnum.ONLINE); } }
Sorry, something went wrong.
#40 已合入
No branches or pull requests
_reactNativeAlipay.default.setAlipaySandbox is not a function
The text was updated successfully, but these errors were encountered: