Skip to content

Commit

Permalink
bump to 15.8.15
Browse files Browse the repository at this point in the history
use xcframework for ios
  • Loading branch information
JarvanMo committed Aug 3, 2023
1 parent 3e32cbd commit de3a795
Show file tree
Hide file tree
Showing 80 changed files with 1,538 additions and 14 deletions.
2 changes: 1 addition & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ android {
}

dependencies {
implementation 'com.alipay.sdk:alipaysdk-android:15.8.11@aar'
implementation 'com.alipay.sdk:alipaysdk-android:15.8.15'
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.4'
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.6.4'

Expand Down
Binary file removed ios/AlipaySDK/NoUtdid/AlipaySDK.framework/AlipaySDK
Binary file not shown.
40 changes: 40 additions & 0 deletions ios/AlipaySDK/NoUtdid/AlipaySDK.xcframework/Info.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>AvailableLibraries</key>
<array>
<dict>
<key>LibraryIdentifier</key>
<string>ios-arm64</string>
<key>LibraryPath</key>
<string>AlipaySDK.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
</dict>
<dict>
<key>LibraryIdentifier</key>
<string>ios-arm64_x86_64-simulator</string>
<key>LibraryPath</key>
<string>AlipaySDK.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
</dict>
</array>
<key>CFBundlePackageType</key>
<string>XFWK</string>
<key>XCFrameworkFormatVersion</key>
<string>1.0</string>
</dict>
</plist>
Binary file not shown.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

////////////////////////////////////////////////////////
///////////////// 支付宝标准版本支付SDK ///////////////////
///////// version:15.8.11 modify:2022.07.26///////////
///////// version:15.8.15 modify:2023.06.10///////////
////////////////////////////////////////////////////////

#import <UIKit/UIKit.h>
Expand Down Expand Up @@ -52,10 +52,9 @@ typedef enum {
/**
* 支付接口
*
* @param orderStr 支付订单信息字串
* @param schemeStr 调用支付的app注册在info.plist中的scheme
* @param completionBlock 支付结果回调Block,用于wap支付结果回调
跳转支付宝支付时只有当processOrderWithPaymentResult接口的completionBlock为nil时会使用这个bolock
* @param orderStr 支付订单信息字串
* @param schemeStr 调用支付的app注册在info.plist中的scheme
* @param completionBlock 支付结果回调Block,用于wap支付结果回调,跳转支付宝支付时只有当processOrderWithPaymentResult接口的completionBlock为nil时会使用这个bolock
*/
- (void)payOrder:(NSString *)orderStr
fromScheme:(NSString *)schemeStr
Expand Down Expand Up @@ -84,6 +83,30 @@ typedef enum {
- (void)processOrderWithPaymentResult:(NSURL *)resultUrl
standbyCallback:(CompletionBlock)completionBlock;


/**
* 商户接入UniversalLink支付接口使用该接口
*
* @param orderStr 支付订单信息字串
* @param schemeStr 调用支付的app注册在info.plist中的scheme
* @param universalLink 调用支付的app关联的universalLink,如'https://render.alipay.com/'
* @param completionBlock 支付结果回调Block,用于wap支付结果回调,跳转支付宝支付时只有当processOrderWithPaymentResult接口的completionBlock为nil时会使用这个bolock
*/
- (void) payOrder:(NSString *)orderStr
fromScheme:(NSString *)schemeStr
fromUniversalLink:(NSString *)universalLink
callback:(CompletionBlock)completionBlock;


/**
* 处理支付宝app支付后通过universalLink跳回商户app携带的支付结果处理
*
* @param userActivity 系统接口传入的userActivity
* @param completionBlock 支付结果回调 为nil时默认使用支付接口的completionBlock
*/
- (void)handleOpenUniversalLink:(NSUserActivity *)userActivity standbyCallback:(CompletionBlock)completionBlock;


/**
* 获取交易token。
*
Expand Down
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

////////////////////////////////////////////////////////
///////////////// 支付宝标准版本支付SDK ///////////////////
///////// version:15.8.10 modify:2022.03.29///////////
///////// version:15.8.15 modify:2023.06.10///////////
////////////////////////////////////////////////////////

#import <UIKit/UIKit.h>
Expand Down Expand Up @@ -52,10 +52,9 @@ typedef enum {
/**
* 支付接口
*
* @param orderStr 支付订单信息字串
* @param schemeStr 调用支付的app注册在info.plist中的scheme
* @param completionBlock 支付结果回调Block,用于wap支付结果回调
跳转支付宝支付时只有当processOrderWithPaymentResult接口的completionBlock为nil时会使用这个bolock
* @param orderStr 支付订单信息字串
* @param schemeStr 调用支付的app注册在info.plist中的scheme
* @param completionBlock 支付结果回调Block,用于wap支付结果回调,跳转支付宝支付时只有当processOrderWithPaymentResult接口的completionBlock为nil时会使用这个bolock
*/
- (void)payOrder:(NSString *)orderStr
fromScheme:(NSString *)schemeStr
Expand Down Expand Up @@ -84,6 +83,30 @@ typedef enum {
- (void)processOrderWithPaymentResult:(NSURL *)resultUrl
standbyCallback:(CompletionBlock)completionBlock;


/**
* 商户接入UniversalLink支付接口使用该接口
*
* @param orderStr 支付订单信息字串
* @param schemeStr 调用支付的app注册在info.plist中的scheme
* @param universalLink 调用支付的app关联的universalLink,如'https://render.alipay.com/'
* @param completionBlock 支付结果回调Block,用于wap支付结果回调,跳转支付宝支付时只有当processOrderWithPaymentResult接口的completionBlock为nil时会使用这个bolock
*/
- (void) payOrder:(NSString *)orderStr
fromScheme:(NSString *)schemeStr
fromUniversalLink:(NSString *)universalLink
callback:(CompletionBlock)completionBlock;


/**
* 处理支付宝app支付后通过universalLink跳回商户app携带的支付结果处理
*
* @param userActivity 系统接口传入的userActivity
* @param completionBlock 支付结果回调 为nil时默认使用支付接口的completionBlock
*/
- (void)handleOpenUniversalLink:(NSUserActivity *)userActivity standbyCallback:(CompletionBlock)completionBlock;


/**
* 获取交易token。
*
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading

0 comments on commit de3a795

Please sign in to comment.