Skip to content

Commit

Permalink
bump to 4.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
JarvanMo committed Jul 4, 2024
1 parent b6ce308 commit 269b8a4
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# 4.0.0
* iOS中的AliPay SDK升级到15.8.18
* iOS的支付功能需要添加universal link

# 3.3.2
* Merge #155: 增加iOS privacy manifest

Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ import 'package:tobias/tobias.dart' ;
Tobias tobias = Tobias();
tobias.pay(yourOrder);
```
If you're working with iOS, please add and pass universal link. See [how to configure universal link](https://opendocs.alipay.com/open/0b9qzi).

The result is map contains results from AliPay.The result also contains an external filed named `platform` which
means the result is from `iOS` or `android`.
Result sample:
Expand Down
4 changes: 3 additions & 1 deletion README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ import 'package:tobias/tobias.dart' ;
Tobias tobias = Tobias();
tobias.pay(yourOrder);
```


在iOS端, 你还需要配置并传入一个universal link. See [how to configure universal link](https://opendocs.alipay.com/open/0b9qzi).

返回值是一个包含支付宝支付结果的`map`。其中还包含了一个额外的 `platform`字段,
它的值为 `iOS``android`
> 注意:Tobias 使用的是 pay_V2.
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: tobias
description: A Flutter plugin for allowing users to authenticate or pay with native Android&iOS AliPay SDKs.
version: 3.3.2
version: 4.0.0
homepage: https://github.com/OpenFlutter/tobias

environment:
Expand Down

0 comments on commit 269b8a4

Please sign in to comment.