abc_pay

Creator: coderz1093

Last updated:

0 purchases

TODO
Add to Cart

Description:

abc pay

中国农业银行支付 #
用于安卓、IOS APP 进行农行掌银支付



Android
iOS




SDK 16+
9.0+



使用 #
dependencies:
abc_pay: ^1.0.1
copied to clipboard
示例 #
import 'package:abc_pay/abc_pay.dart';

/// 进行农行掌银支付
void doAbcPay() async {
final canuse = await AbcPay.isAvaiable();

if (!canuse) {
/// 农业银行掌上银行未安装
return;
}

AbcPay.doPay(
callbackId: "callbackId",
tokenId: "tokenId",
appId: "appId", // 安卓必传
);
}
copied to clipboard
配置 #
iOS #
在工程 Info.plist 文件内添加如下配置项
<key>LSApplicationQueriesSchemes</key>
<array>
<string>bankabc</string>
</array>
copied to clipboard
Android #
在工程 AndroidManifest.xml 文件内添加如下配置项
<queries>
<package android:name="com.android.bankabc" />
</queries>
copied to clipboard

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files:

Customer Reviews

There are no reviews.