Commit d7d83fa570e6cf0e8726cb99d7f3f622d0bf9f87
1 parent
d0dc6950
0.1.8 , 修改notifiedURL
Showing
49 changed files
with
1161 additions
and
9 deletions
Too many changes to show.
To preserve performance only 49 of 64 files are displayed.
CNLivePayCostModule.podspec
CNLivePayCostModule/Classes/Core/CNLivePayCostNetwork.m
| ... | ... | @@ -79,7 +79,7 @@ static NSString *const CNLiveWillBecomeActivePaycostForSHShopNotification = @"CN |
| 79 | 79 | NSString * accountString = WXAccount; |
| 80 | 80 | float pri = [price floatValue]; |
| 81 | 81 | // notifyUrls CNWeChatPayUrl |
| 82 | - [[CNLivePayCostNetwork sharePayCostNetWork] requestPayFromWXAndAliPay:CNLivePayTypeWeChatPay OrderId:orderId Account:accountString PriceId:pri Desc:body Attach:@{@"plat":@"i"} CNLiveActiveGroupThreePayType:CNLivePayCostThreePayTypeShop NotifyUrl:notifyUrls NetAddUrlSchems:nil FormVC:nil CompleterBlock:^{ | |
| 82 | + [[CNLivePayCostNetwork sharePayCostNetWork] requestPayFromWXAndAliPay:CNLivePayTypeWeChatPay OrderId:orderId Account:accountString PriceId:pri Desc:body Attach:@{@"plat":@"i"} CNLiveActiveGroupThreePayType:CNLivePayCostThreePayTypeShop NotifyUrl:notify_url NetAddUrlSchems:nil FormVC:nil CompleterBlock:^{ | |
| 83 | 83 | dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(0.0 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{ |
| 84 | 84 | if (completerBlock) completerBlock(0); |
| 85 | 85 | }); |
| ... | ... | @@ -127,7 +127,7 @@ static NSString *const CNLiveWillBecomeActivePaycostForSHShopNotification = @"CN |
| 127 | 127 | NSString * accountString = @"ztsx"; |
| 128 | 128 | float pri = [price floatValue]; |
| 129 | 129 | |
| 130 | - [[CNLivePayCostNetwork sharePayCostNetWork] requestPayFromWXAndAliPay:CNLivePayTypeAliPay OrderId:orderId Account:accountString PriceId:pri Desc:body Attach:@{@"plat":@"i"} CNLiveActiveGroupThreePayType:CNLivePayCostThreePayTypeShop NotifyUrl:CNAliPayUrl NetAddUrlSchems:nil FormVC:nil CompleterBlock:^{ | |
| 130 | + [[CNLivePayCostNetwork sharePayCostNetWork] requestPayFromWXAndAliPay:CNLivePayTypeAliPay OrderId:orderId Account:accountString PriceId:pri Desc:body Attach:@{@"plat":@"i"} CNLiveActiveGroupThreePayType:CNLivePayCostThreePayTypeShop NotifyUrl:notify_url NetAddUrlSchems:nil FormVC:nil CompleterBlock:^{ | |
| 131 | 131 | dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(0.0 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{ |
| 132 | 132 | if (completerBlock) completerBlock(0); |
| 133 | 133 | }); | ... | ... |
Example/CNLivePayCostModule.xcodeproj/project.pbxproj
| ... | ... | @@ -359,10 +359,12 @@ |
| 359 | 359 | ); |
| 360 | 360 | inputPaths = ( |
| 361 | 361 | "${PODS_ROOT}/Target Support Files/Pods-CNLivePayCostModule_Example/Pods-CNLivePayCostModule_Example-resources.sh", |
| 362 | + "${PODS_ROOT}/AlipaySDK-iOS/AlipaySDK.bundle", | |
| 362 | 363 | "${PODS_CONFIGURATION_BUILD_DIR}/CNLivePayCostModule/CNLivePayCostModule.bundle", |
| 363 | 364 | ); |
| 364 | 365 | name = "[CP] Copy Pods Resources"; |
| 365 | 366 | outputPaths = ( |
| 367 | + "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/AlipaySDK.bundle", | |
| 366 | 368 | "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/CNLivePayCostModule.bundle", |
| 367 | 369 | ); |
| 368 | 370 | runOnlyForDeploymentPostprocessing = 0; | ... | ... |
Example/Podfile.lock
| ... | ... | @@ -14,6 +14,7 @@ PODS: |
| 14 | 14 | - AFNetworking/Serialization (4.0.1) |
| 15 | 15 | - AFNetworking/UIKit (4.0.1): |
| 16 | 16 | - AFNetworking/NSURLSession |
| 17 | + - AlipaySDK-iOS (15.8.16) | |
| 17 | 18 | - CNLiveBaseKit (0.1.29): |
| 18 | 19 | - CNLiveNewTripartiteManagement/MJExtension |
| 19 | 20 | - CNLiveBaseTools (0.0.9): |
| ... | ... | @@ -95,7 +96,8 @@ PODS: |
| 95 | 96 | - YYText (= 1.0.7) |
| 96 | 97 | - CNLiveNewTripartiteManagement/YYWebImage (0.2.1.1): |
| 97 | 98 | - YYWebImage (= 1.0.5) |
| 98 | - - CNLivePayCostModule (0.1.4): | |
| 99 | + - CNLivePayCostModule (0.1.7): | |
| 100 | + - AlipaySDK-iOS | |
| 99 | 101 | - CNLiveBaseKit |
| 100 | 102 | - CNLiveBaseTools |
| 101 | 103 | - CNLiveCommonCategory |
| ... | ... | @@ -481,6 +483,7 @@ SPEC REPOS: |
| 481 | 483 | - CNLiveUserManagement |
| 482 | 484 | https://mirrors.tuna.tsinghua.edu.cn/git/CocoaPods/Specs.git: |
| 483 | 485 | - AFNetworking |
| 486 | + - AlipaySDK-iOS | |
| 484 | 487 | - CNLiveSDK |
| 485 | 488 | - Masonry |
| 486 | 489 | - MJExtension |
| ... | ... | @@ -508,6 +511,7 @@ EXTERNAL SOURCES: |
| 508 | 511 | |
| 509 | 512 | SPEC CHECKSUMS: |
| 510 | 513 | AFNetworking: 3bd23d814e976cd148d7d44c3ab78017b744cd58 |
| 514 | + AlipaySDK-iOS: 5e6011fbd546e7db6b43c1f527d164ee63f3d7cb | |
| 511 | 515 | CNLiveBaseKit: 6f1fbe1b4f501f7102d0ee4864b1c21ca93b24e6 |
| 512 | 516 | CNLiveBaseTools: 063db5132ffb117628e3d79c34477a0eab630aca |
| 513 | 517 | CNLiveBeeHive: 1e105b15b6ccaad546258fcf91231563beb853d4 |
| ... | ... | @@ -516,7 +520,7 @@ SPEC CHECKSUMS: |
| 516 | 520 | CNLiveCustomUI: b5fb09a8514cf5aa07ba13e6282f3d1c8d554a46 |
| 517 | 521 | CNLiveEnvironment: 58db88eb40e856413e21feca39011f085724179d |
| 518 | 522 | CNLiveNewTripartiteManagement: 9f175b357771f36fdf00c8a5302306d129717b55 |
| 519 | - CNLivePayCostModule: 389511935296d6afb42980bf05930487e887a545 | |
| 523 | + CNLivePayCostModule: 9549046e4b2f1d054f99eedcb18be282596f2b88 | |
| 520 | 524 | CNLiveRequestBastKit: d4c9364ec9cb0cdba2ae81f792a34f9d0c7a10d9 |
| 521 | 525 | CNLiveSDK: 7a1fe52130343ddcc0b66adf40109fe916138bfa |
| 522 | 526 | CNLiveUserManagement: ce9078fdebb1692c4117e758b0e85463b45474b0 | ... | ... |
Example/Pods/AlipaySDK-iOS/AlipaySDK.bundle/alipay_msp_back@2x.png
0 → 100644
409 Bytes
Example/Pods/AlipaySDK-iOS/AlipaySDK.bundle/alipay_msp_refresh@2x.png
0 → 100644
663 Bytes
Example/Pods/AlipaySDK-iOS/AlipaySDK.bundle/bar@2x.png
0 → 100644
1011 Bytes
Example/Pods/AlipaySDK-iOS/AlipaySDK.bundle/bridge.js
0 → 100644
| 1 | +!function(){if(!window.AlipayJSBridge){window.alipayjsbridgeSetTitle=function(e){document.title=e,t("alipayjsbridge://setTitle?title="+encodeURIComponent(e))},window.alipayjsbridgeRefresh=function(){t("alipayjsbridge://onRefresh?")},window.alipayjsbridgeBack=function(){t("alipayjsbridge://onBack?")},window.alipayjsbridgeExit=function(e){t("alipayjsbridge://onExit?bsucc="+e)},window.alipayjsbridgeShowBackButton=function(e){t("alipayjsbridge://showBackButton?bshow="+e)},window.AlipayJSBridge={version:"2.0",addListener:function(e,i){a[e]=i},hasListener:function(e){if(!a[e])return!1;return!0},callListener:function(e,i,n){var t;n&&(t=function(e){var i="";e&&(i=encodeURIComponent(JSON.stringify(e)));var a="func=h5JsFuncCallback&cbId="+n+"&data="+i;o(a)});var r=a[e];r?r(i,t):console.log("AlipayJSBridge: no h5JsFunc ",e+i)},callNativeFunc:function(e,a,t){var r="";t&&(r="cb_"+i+++"_"+(new Date).getTime(),n[r]=t);var d="";a&&(d=encodeURIComponent(JSON.stringify(a)));o("func="+e+"&cbId="+r+"&data="+d)},callBackFromNativeFunc:function(e,i){var a=n[e];a&&(a(i),delete n[i])}};var e,i=1,n={},a={};window.CustomEvent?e=new CustomEvent("alipayjsbridgeready"):(e=document.createEvent("Event")).initEvent("alipayjsbridgeready",!0,!0),document.dispatchEvent(e),setTimeout(function(){if(window.AlipayJSBridgeInitArray){var e=window.AlipayJSBridgeInitArray;delete window.AlipayJSBridgeInitArray;for(var i=0;i<e.length;i++)try{e[i](AlipayJSBridge)}catch(e){setTimeout(function(){throw e})}}},0)}function t(e){window.webkit&&window.webkit.messageHandlers&&window.webkit.messageHandlers.MQPJSBridgeScheme&&window.webkit.messageHandlers.MQPJSBridgeScheme.postMessage&&window.webkit.messageHandlers.MQPJSBridgeScheme.postMessage(e)}function o(e){t("alipayjsbridge://callNativeFunc?"+e)}}(); | ... | ... |
Example/Pods/AlipaySDK-iOS/AlipaySDK.bundle/refresh@2x.png
0 → 100644
605 Bytes
Example/Pods/AlipaySDK-iOS/AlipaySDK.bundle/refresh_click@2x.png
0 → 100644
1.78 KB
Example/Pods/AlipaySDK-iOS/AlipaySDK.bundle/shutdown@2x.png
0 → 100644
222 Bytes
Example/Pods/AlipaySDK-iOS/AlipaySDK.bundle/shutdown_click@2x.png
0 → 100644
1.29 KB
Example/Pods/AlipaySDK-iOS/AlipaySDK.xcframework/Info.plist
0 → 100644
| 1 | +<?xml version="1.0" encoding="UTF-8"?> | |
| 2 | +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| 3 | +<plist version="1.0"> | |
| 4 | +<dict> | |
| 5 | + <key>AvailableLibraries</key> | |
| 6 | + <array> | |
| 7 | + <dict> | |
| 8 | + <key>LibraryIdentifier</key> | |
| 9 | + <string>ios-arm64</string> | |
| 10 | + <key>LibraryPath</key> | |
| 11 | + <string>AlipaySDK.framework</string> | |
| 12 | + <key>SupportedArchitectures</key> | |
| 13 | + <array> | |
| 14 | + <string>arm64</string> | |
| 15 | + </array> | |
| 16 | + <key>SupportedPlatform</key> | |
| 17 | + <string>ios</string> | |
| 18 | + </dict> | |
| 19 | + <dict> | |
| 20 | + <key>LibraryIdentifier</key> | |
| 21 | + <string>ios-arm64_x86_64-simulator</string> | |
| 22 | + <key>LibraryPath</key> | |
| 23 | + <string>AlipaySDK.framework</string> | |
| 24 | + <key>SupportedArchitectures</key> | |
| 25 | + <array> | |
| 26 | + <string>arm64</string> | |
| 27 | + <string>x86_64</string> | |
| 28 | + </array> | |
| 29 | + <key>SupportedPlatform</key> | |
| 30 | + <string>ios</string> | |
| 31 | + <key>SupportedPlatformVariant</key> | |
| 32 | + <string>simulator</string> | |
| 33 | + </dict> | |
| 34 | + </array> | |
| 35 | + <key>CFBundlePackageType</key> | |
| 36 | + <string>XFWK</string> | |
| 37 | + <key>XCFrameworkFormatVersion</key> | |
| 38 | + <string>1.0</string> | |
| 39 | +</dict> | |
| 40 | +</plist> | ... | ... |
Example/Pods/AlipaySDK-iOS/AlipaySDK.xcframework/ios-arm64/AlipaySDK.framework/AlipaySDK
0 → 100644
No preview for this file type
Example/Pods/AlipaySDK-iOS/AlipaySDK.xcframework/ios-arm64/AlipaySDK.framework/AlipaySDK-inside-Info.plist
0 → 100644
No preview for this file type
Example/Pods/AlipaySDK-iOS/AlipaySDK.xcframework/ios-arm64/AlipaySDK.framework/AlipaySDK.bundle/alipay_msp_back@2x.png
0 → 100644
409 Bytes
Example/Pods/AlipaySDK-iOS/AlipaySDK.xcframework/ios-arm64/AlipaySDK.framework/AlipaySDK.bundle/alipay_msp_refresh@2x.png
0 → 100644
663 Bytes
Example/Pods/AlipaySDK-iOS/AlipaySDK.xcframework/ios-arm64/AlipaySDK.framework/AlipaySDK.bundle/bar@2x.png
0 → 100644
1011 Bytes
Example/Pods/AlipaySDK-iOS/AlipaySDK.xcframework/ios-arm64/AlipaySDK.framework/AlipaySDK.bundle/bridge.js
0 → 100644
| 1 | +!function(){if(!window.AlipayJSBridge){window.alipayjsbridgeSetTitle=function(e){document.title=e,t("alipayjsbridge://setTitle?title="+encodeURIComponent(e))},window.alipayjsbridgeRefresh=function(){t("alipayjsbridge://onRefresh?")},window.alipayjsbridgeBack=function(){t("alipayjsbridge://onBack?")},window.alipayjsbridgeExit=function(e){t("alipayjsbridge://onExit?bsucc="+e)},window.alipayjsbridgeShowBackButton=function(e){t("alipayjsbridge://showBackButton?bshow="+e)},window.AlipayJSBridge={version:"2.0",addListener:function(e,i){a[e]=i},hasListener:function(e){if(!a[e])return!1;return!0},callListener:function(e,i,n){var t;n&&(t=function(e){var i="";e&&(i=encodeURIComponent(JSON.stringify(e)));var a="func=h5JsFuncCallback&cbId="+n+"&data="+i;o(a)});var r=a[e];r?r(i,t):console.log("AlipayJSBridge: no h5JsFunc ",e+i)},callNativeFunc:function(e,a,t){var r="";t&&(r="cb_"+i+++"_"+(new Date).getTime(),n[r]=t);var d="";a&&(d=encodeURIComponent(JSON.stringify(a)));o("func="+e+"&cbId="+r+"&data="+d)},callBackFromNativeFunc:function(e,i){var a=n[e];a&&(a(i),delete n[i])}};var e,i=1,n={},a={};window.CustomEvent?e=new CustomEvent("alipayjsbridgeready"):(e=document.createEvent("Event")).initEvent("alipayjsbridgeready",!0,!0),document.dispatchEvent(e),setTimeout(function(){if(window.AlipayJSBridgeInitArray){var e=window.AlipayJSBridgeInitArray;delete window.AlipayJSBridgeInitArray;for(var i=0;i<e.length;i++)try{e[i](AlipayJSBridge)}catch(e){setTimeout(function(){throw e})}}},0)}function t(e){window.webkit&&window.webkit.messageHandlers&&window.webkit.messageHandlers.MQPJSBridgeScheme&&window.webkit.messageHandlers.MQPJSBridgeScheme.postMessage&&window.webkit.messageHandlers.MQPJSBridgeScheme.postMessage(e)}function o(e){t("alipayjsbridge://callNativeFunc?"+e)}}(); | ... | ... |
Example/Pods/AlipaySDK-iOS/AlipaySDK.xcframework/ios-arm64/AlipaySDK.framework/AlipaySDK.bundle/refresh@2x.png
0 → 100644
605 Bytes
Example/Pods/AlipaySDK-iOS/AlipaySDK.xcframework/ios-arm64/AlipaySDK.framework/AlipaySDK.bundle/refresh_click@2x.png
0 → 100644
1.78 KB
Example/Pods/AlipaySDK-iOS/AlipaySDK.xcframework/ios-arm64/AlipaySDK.framework/AlipaySDK.bundle/shutdown@2x.png
0 → 100644
222 Bytes
Example/Pods/AlipaySDK-iOS/AlipaySDK.xcframework/ios-arm64/AlipaySDK.framework/AlipaySDK.bundle/shutdown_click@2x.png
0 → 100644
1.29 KB
Example/Pods/AlipaySDK-iOS/AlipaySDK.xcframework/ios-arm64/AlipaySDK.framework/Headers/AFServiceCenter.h
0 → 100644
| 1 | +// | |
| 2 | +// AFServiceCenter.h | |
| 3 | +// AFServiceSDK | |
| 4 | +// | |
| 5 | +// Created by jiajunchen on 02/01/2018. | |
| 6 | +// Copyright © 2018 antfin. All rights reserved. | |
| 7 | +// | |
| 8 | + | |
| 9 | +#import <Foundation/Foundation.h> | |
| 10 | + | |
| 11 | +@class AFServiceResponse; | |
| 12 | + | |
| 13 | +/** | |
| 14 | + SDK支持的业务枚举值 | |
| 15 | + | |
| 16 | + - AFServiceEInvoice: 电子发票 | |
| 17 | + - AFServiceAuth: 账户授权 | |
| 18 | + */ | |
| 19 | +typedef NS_ENUM(NSUInteger, AFService) { | |
| 20 | + AFServiceEInvoice, | |
| 21 | + AFServiceAuth, | |
| 22 | + AFServiceDeduct | |
| 23 | +}; | |
| 24 | + | |
| 25 | + | |
| 26 | +extern NSString * const kAFServiceOptionBizParams; // 钱包服务调用入参 | |
| 27 | +extern NSString * const kAFServiceOptionCallbackScheme; // 业务回跳当前app的scheme | |
| 28 | +extern NSString * const kAFServiceOptionNotUseLanding; // 不使用支付宝提示下载页做补偿,为true时需要商户自己处理用户未安装支付宝的情况 | |
| 29 | +extern NSString * const kAFServiceBizParamsKeyUrl; // 独立签约入参url | |
| 30 | + | |
| 31 | +typedef void(^AFServiceResultBlock)(AFServiceResponse *response); | |
| 32 | + | |
| 33 | +@interface AFServiceCenter : NSObject | |
| 34 | + | |
| 35 | +/** | |
| 36 | + 调用钱包服务 | |
| 37 | + | |
| 38 | + @param service 业务service, 见AFService枚举值 | |
| 39 | + @param params 参数Dictionary, key值详情参见kAFServiceOptionBizParams、kAFServiceOptionCallbackScheme注释 | |
| 40 | + @param block 业务结果回调的block, block参数是AFServiceResponse类型,业务结果通过result属性获取,如果未用户未安装支付宝并且kAFServiceOptionNotUseLanding未设置为true,会使用H5landing页做补偿,这种情况下不会有block回调结果。 | |
| 41 | + */ | |
| 42 | ++ (void)callService:(AFService)service | |
| 43 | + withParams:(NSDictionary *)params | |
| 44 | + andCompletion:(AFServiceResultBlock)block; | |
| 45 | + | |
| 46 | + | |
| 47 | +/** | |
| 48 | + 处理钱包服务回跳APP的URL | |
| 49 | + | |
| 50 | + @param url 回跳URL | |
| 51 | + @param block 业务结果回掉的block,详情见调用接口入参上的block。注意此接口上的block只有在跳转钱包后,当前APP被系统回收的情况下回跳才生效 | |
| 52 | + */ | |
| 53 | ++ (void)handleResponseURL:(NSURL *)url | |
| 54 | + withCompletion:(AFServiceResultBlock)block; | |
| 55 | + | |
| 56 | +@end | ... | ... |
Example/Pods/AlipaySDK-iOS/AlipaySDK.xcframework/ios-arm64/AlipaySDK.framework/Headers/AFServiceResponse.h
0 → 100644
| 1 | +// | |
| 2 | +// AFServiceResponse.h | |
| 3 | +// AFServiceSDK | |
| 4 | +// | |
| 5 | +// Created by jiajunchen on 08/01/2018. | |
| 6 | +// Copyright © 2018 antfin. All rights reserved. | |
| 7 | +// | |
| 8 | + | |
| 9 | +#import <Foundation/Foundation.h> | |
| 10 | + | |
| 11 | +/** | |
| 12 | + 钱包服务调用结果状态吗 | |
| 13 | + | |
| 14 | + - AFResSuccess: 默认值,业务调用成功,结果数据参见result字段 | |
| 15 | + - AFResInvalidService: service枚举值错误 | |
| 16 | + - AFResInvalidURL: 钱包回跳URL错误 | |
| 17 | + - AFResRepeatCall: 业务重复调用(3s内) | |
| 18 | + - AFResOpenURLErr: 跳转失败 | |
| 19 | + */ | |
| 20 | +typedef NS_ENUM(NSUInteger, AFResCode) { | |
| 21 | + AFResSuccess = 0, | |
| 22 | + AFResInvalidService = 100, | |
| 23 | + AFResInvalidURL, | |
| 24 | + AFResRepeatCall, | |
| 25 | + AFResOpenURLErr, | |
| 26 | +}; | |
| 27 | + | |
| 28 | + | |
| 29 | +@interface AFServiceResponse : NSObject | |
| 30 | + | |
| 31 | + | |
| 32 | +/** | |
| 33 | + 业务调用状态吗 | |
| 34 | + */ | |
| 35 | +@property (nonatomic, assign) AFResCode responseCode; | |
| 36 | + | |
| 37 | + | |
| 38 | +/** | |
| 39 | + 业务结果Dictionary, 内容请参考具体业务方接入文档 | |
| 40 | + */ | |
| 41 | +@property (readonly) NSDictionary *result; | |
| 42 | + | |
| 43 | +@end | ... | ... |
Example/Pods/AlipaySDK-iOS/AlipaySDK.xcframework/ios-arm64/AlipaySDK.framework/Headers/APayAuthInfo.h
0 → 100644
| 1 | +// | |
| 2 | +// APAuthInfo.h | |
| 3 | +// APAuth | |
| 4 | +// | |
| 5 | +// Created by antfin on 17-10-24. | |
| 6 | +// Copyright (c) 2017年 AntFin. All rights reserved. | |
| 7 | +// | |
| 8 | + | |
| 9 | +#import <Foundation/Foundation.h> | |
| 10 | + | |
| 11 | +@interface APayAuthInfo : NSObject | |
| 12 | + | |
| 13 | +@property(nonatomic, copy)NSString *appID; | |
| 14 | +@property(nonatomic, copy)NSString *pid; | |
| 15 | +@property(nonatomic, copy)NSString *redirectUri; | |
| 16 | + | |
| 17 | +/** | |
| 18 | + * 初始化AuthInfo | |
| 19 | + * | |
| 20 | + * @param appIDStr 应用ID | |
| 21 | + * @param pidStr 商户ID 可不填 | |
| 22 | + * @param uriStr 授权的应用回调地址 比如:alidemo://auth | |
| 23 | + * | |
| 24 | + * @return authinfo实例 | |
| 25 | + */ | |
| 26 | +- (id)initWithAppID:(NSString *)appIDStr | |
| 27 | + pid:(NSString *)pidStr | |
| 28 | + redirectUri:(NSString *)uriStr; | |
| 29 | + | |
| 30 | +- (NSString *)description; | |
| 31 | +- (NSString *)wapDescription; | |
| 32 | + | |
| 33 | +@end | ... | ... |
Example/Pods/AlipaySDK-iOS/AlipaySDK.xcframework/ios-arm64/AlipaySDK.framework/Headers/AlipaySDK.h
0 → 100644
| 1 | +// | |
| 2 | +// AlipaySDK.h | |
| 3 | +// AlipaySDK | |
| 4 | +// | |
| 5 | +// Created by antfin on 17-10-24. | |
| 6 | +// Copyright (c) 2017年 AntFin. All rights reserved. | |
| 7 | +// | |
| 8 | + | |
| 9 | + | |
| 10 | +//////////////////////////////////////////////////////// | |
| 11 | +///////////////// 支付宝标准版本支付SDK /////////////////// | |
| 12 | +///////// version:15.8.16 modify:2023.08.02/////////// | |
| 13 | +//////////////////////////////////////////////////////// | |
| 14 | + | |
| 15 | +#import <UIKit/UIKit.h> | |
| 16 | +#import "APayAuthInfo.h" | |
| 17 | +#import "AFServiceCenter.h" | |
| 18 | +#import "AFServiceResponse.h" | |
| 19 | + | |
| 20 | +typedef void(^CompletionBlock)(NSDictionary *resultDic); | |
| 21 | + | |
| 22 | +typedef enum { | |
| 23 | + ALIPAY_TIDFACTOR_IMEI, | |
| 24 | + ALIPAY_TIDFACTOR_IMSI, | |
| 25 | + ALIPAY_TIDFACTOR_TID, | |
| 26 | + ALIPAY_TIDFACTOR_CLIENTKEY, | |
| 27 | + ALIPAY_TIDFACTOR_VIMEI, | |
| 28 | + ALIPAY_TIDFACTOR_VIMSI, | |
| 29 | + ALIPAY_TIDFACTOR_CLIENTID, | |
| 30 | + ALIPAY_TIDFACTOR_APDID, | |
| 31 | + ALIPAY_TIDFACTOR_MAX | |
| 32 | +} AlipayTidFactor; | |
| 33 | + | |
| 34 | +@interface AlipaySDK : NSObject | |
| 35 | + | |
| 36 | +/** | |
| 37 | + * 创建支付单例服务 | |
| 38 | + * | |
| 39 | + * @return 返回单例对象 | |
| 40 | + */ | |
| 41 | ++ (AlipaySDK *)defaultService; | |
| 42 | + | |
| 43 | +/** | |
| 44 | + * 用于设置SDK使用的window,如果没有自行创建window无需设置此接口 | |
| 45 | + */ | |
| 46 | +@property (nonatomic, weak) UIWindow *targetWindow; | |
| 47 | + | |
| 48 | +////////////////////////////////////////////////////////////////////////////////////////////// | |
| 49 | +//////////////////////////支付宝支付相关接口///////////////////////////////////////////////////// | |
| 50 | +////////////////////////////////////////////////////////////////////////////////////////////// | |
| 51 | + | |
| 52 | +/** | |
| 53 | + * 支付接口 | |
| 54 | + * | |
| 55 | + * @param orderStr 支付订单信息字串 | |
| 56 | + * @param schemeStr 调用支付的app注册在info.plist中的scheme | |
| 57 | + * @param completionBlock 支付结果回调Block,用于wap支付结果回调,跳转支付宝支付时只有当processOrderWithPaymentResult接口的completionBlock为nil时会使用这个bolock | |
| 58 | + */ | |
| 59 | +- (void)payOrder:(NSString *)orderStr | |
| 60 | + fromScheme:(NSString *)schemeStr | |
| 61 | + callback:(CompletionBlock)completionBlock; | |
| 62 | + | |
| 63 | +/** | |
| 64 | + * 支付接口 v2 | |
| 65 | + * | |
| 66 | + * @param orderStr 支付订单信息字串 | |
| 67 | + * @param dynamicLaunch 是否使用动态配置策略跳转支付宝支付 | |
| 68 | + * @param schemeStr 调用支付的app注册在info.plist中的scheme | |
| 69 | + * @param completionBlock 支付结果回调Block,用于wap支付结果回调 | |
| 70 | + 跳转支付宝支付时只有当processOrderWithPaymentResult接口的completionBlock为nil时会使用这个bolock | |
| 71 | + */ | |
| 72 | +- (void)payOrder:(NSString *)orderStr | |
| 73 | + dynamicLaunch:(BOOL)dynamicLaunch | |
| 74 | + fromScheme:(NSString *)schemeStr | |
| 75 | + callback:(CompletionBlock)completionBlock; | |
| 76 | + | |
| 77 | +/** | |
| 78 | + * 处理支付宝app支付后跳回商户app携带的支付结果Url | |
| 79 | + * | |
| 80 | + * @param resultUrl 支付宝app返回的支付结果url | |
| 81 | + * @param completionBlock 支付结果回调 为nil时默认使用支付接口的completionBlock | |
| 82 | + */ | |
| 83 | +- (void)processOrderWithPaymentResult:(NSURL *)resultUrl | |
| 84 | + standbyCallback:(CompletionBlock)completionBlock; | |
| 85 | + | |
| 86 | + | |
| 87 | +/** | |
| 88 | + * 商户接入UniversalLink支付接口使用该接口 | |
| 89 | + * | |
| 90 | + * @param orderStr 支付订单信息字串 | |
| 91 | + * @param schemeStr 调用支付的app注册在info.plist中的scheme | |
| 92 | + * @param universalLink 调用支付的app关联的universalLink,如'https://render.alipay.com/' | |
| 93 | + * @param completionBlock 支付结果回调Block,用于wap支付结果回调,跳转支付宝支付时只有当processOrderWithPaymentResult接口的completionBlock为nil时会使用这个bolock | |
| 94 | + */ | |
| 95 | +- (void) payOrder:(NSString *)orderStr | |
| 96 | + fromScheme:(NSString *)schemeStr | |
| 97 | +fromUniversalLink:(NSString *)universalLink | |
| 98 | + callback:(CompletionBlock)completionBlock; | |
| 99 | + | |
| 100 | + | |
| 101 | +/** | |
| 102 | + * 处理支付宝app支付后通过universalLink跳回商户app携带的支付结果处理 | |
| 103 | + * | |
| 104 | + * @param userActivity 系统接口传入的userActivity | |
| 105 | + * @param completionBlock 支付结果回调 为nil时默认使用支付接口的completionBlock | |
| 106 | + */ | |
| 107 | +- (void)handleOpenUniversalLink:(NSUserActivity *)userActivity standbyCallback:(CompletionBlock)completionBlock; | |
| 108 | + | |
| 109 | + | |
| 110 | +/** | |
| 111 | + * 获取交易token。 | |
| 112 | + * | |
| 113 | + * @return 交易token,若无则为空。 | |
| 114 | + */ | |
| 115 | +- (NSString *)fetchTradeToken; | |
| 116 | + | |
| 117 | + | |
| 118 | +////////////////////////////////////////////////////////////////////////////////////////////// | |
| 119 | +//////////////////////////支付宝授权 2.0 相关接口//////////////////////////////////////////////// | |
| 120 | +////////////////////////////////////////////////////////////////////////////////////////////// | |
| 121 | + | |
| 122 | +/** | |
| 123 | + * 快登授权2.0 | |
| 124 | + * | |
| 125 | + * @param infoStr 授权请求信息字串 | |
| 126 | + * @param schemeStr 调用授权的app注册在info.plist中的scheme | |
| 127 | + * @param completionBlock 授权结果回调,需要调用方在appDelegate中调用processAuth_V2Result:standbyCallback:方法获取授权结果 | |
| 128 | + * 若在授权过程中,调用方应用被系统终止则此block无效(此时会调用'processAuth_V2Result:standbyCallback:'传入的standbyCallback) | |
| 129 | + */ | |
| 130 | +- (void)auth_V2WithInfo:(NSString *)infoStr | |
| 131 | + fromScheme:(NSString *)schemeStr | |
| 132 | + callback:(CompletionBlock)completionBlock; | |
| 133 | + | |
| 134 | +/** | |
| 135 | + * 处理支付宝app授权后跳回商户app携带的授权结果Url | |
| 136 | + * | |
| 137 | + * @param resultUrl 支付宝app返回的授权结果url | |
| 138 | + * @param completionBlock 授权结果回调,用于处理跳转支付宝授权过程中商户APP被系统终止的情况 | |
| 139 | + */ | |
| 140 | +- (void)processAuth_V2Result:(NSURL *)resultUrl | |
| 141 | + standbyCallback:(CompletionBlock)completionBlock; | |
| 142 | + | |
| 143 | + | |
| 144 | +////////////////////////////////////////////////////////////////////////////////////////////// | |
| 145 | +//////////////////////////支付宝授权 1.0 相关接口//////////////////////////////////////////////// | |
| 146 | +////////////////////////////////////////////////////////////////////////////////////////////// | |
| 147 | + | |
| 148 | + | |
| 149 | +/** | |
| 150 | + * 快登授权 | |
| 151 | + * @param authInfo 授权相关信息 | |
| 152 | + * @param completionBlock 授权结果回调,若在授权过程中,调用方应用被系统终止,则此block无效, | |
| 153 | + 需要调用方在appDelegate中调用processAuth_V2Result:standbyCallback:方法获取授权结果 | |
| 154 | + */ | |
| 155 | +- (void)authWithInfo:(APayAuthInfo *)authInfo | |
| 156 | + callback:(CompletionBlock)completionBlock; | |
| 157 | + | |
| 158 | +/** | |
| 159 | + * 处理支付宝app授权后跳回商户app携带的授权结果Url | |
| 160 | + * | |
| 161 | + * @param resultUrl 支付宝app返回的授权结果url | |
| 162 | + * @param completionBlock 授权结果回调 | |
| 163 | + */ | |
| 164 | +- (void)processAuthResult:(NSURL *)resultUrl | |
| 165 | + standbyCallback:(CompletionBlock)completionBlock; | |
| 166 | + | |
| 167 | + | |
| 168 | +////////////////////////////////////////////////////////////////////////////////////////////// | |
| 169 | +//////////////////////////支付宝 h5 支付转 native 支付接口//////////////////////////////////////// | |
| 170 | +////////////////////////////////////////////////////////////////////////////////////////////// | |
| 171 | +/** | |
| 172 | + * 从h5链接中获取订单串并支付接口(自版本15.4.0起,推荐使用该接口) | |
| 173 | + * | |
| 174 | + * @param urlStr 拦截的 url string | |
| 175 | + * | |
| 176 | + * @return YES为成功获取订单信息并发起支付流程;NO为无法获取订单信息,输入url是普通url | |
| 177 | + */ | |
| 178 | +- (BOOL)payInterceptorWithUrl:(NSString *)urlStr | |
| 179 | + fromScheme:(NSString *)schemeStr | |
| 180 | + callback:(CompletionBlock)completionBlock; | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | +////////////////////////////////////////////////////////////////////////////////////////////// | |
| 185 | +//////////////////////////支付宝 tid 相关信息获取接口///////////////////////////////////////////// | |
| 186 | +////////////////////////////////////////////////////////////////////////////////////////////// | |
| 187 | + | |
| 188 | +/** | |
| 189 | + * 获取当前tid相关信息 | |
| 190 | + * | |
| 191 | + * @return tid相关信息 | |
| 192 | + */ | |
| 193 | +- (NSString*)queryTidFactor:(AlipayTidFactor)factor; | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | +////////////////////////////////////////////////////////////////////////////////////////////// | |
| 198 | +//////////////////////////支付宝支付环境相关信息接口////////////////////////////////////////////// | |
| 199 | +////////////////////////////////////////////////////////////////////////////////////////////// | |
| 200 | + | |
| 201 | +/** | |
| 202 | + * 是否已经使用过 | |
| 203 | + * | |
| 204 | + * @return YES为已经使用过,NO反之 | |
| 205 | + */ | |
| 206 | +- (BOOL)isLogined; | |
| 207 | + | |
| 208 | +/** | |
| 209 | + * 获取当前版本号 | |
| 210 | + * | |
| 211 | + * @return 当前版本字符串 | |
| 212 | + */ | |
| 213 | +- (NSString *)currentVersion; | |
| 214 | + | |
| 215 | +/** | |
| 216 | + * 測試所用,realse包无效 | |
| 217 | + * | |
| 218 | + * @param url 测试环境 | |
| 219 | + */ | |
| 220 | +- (void)setUrl:(NSString *)url; | |
| 221 | + | |
| 222 | +/** | |
| 223 | + * 支付前主动更新本地配置 | |
| 224 | + * | |
| 225 | + * @param block 更新请求结果回调 | |
| 226 | + */ | |
| 227 | +- (void)fetchSdkConfigWithBlock:(void(^)(BOOL success))block; | |
| 228 | + | |
| 229 | + | |
| 230 | +typedef void(^APLogBlock)(NSString *log); | |
| 231 | + | |
| 232 | +/** | |
| 233 | +* 接收AlipaySDK的log信息 | |
| 234 | +* | |
| 235 | +* @param logBlock 打印log的回调block | |
| 236 | +*/ | |
| 237 | ++ (void)startLogWithBlock:(APLogBlock)logBlock; | |
| 238 | + | |
| 239 | +/** | |
| 240 | +* 停止输出log,会释放logBlock | |
| 241 | +* | |
| 242 | +* | |
| 243 | +*/ | |
| 244 | ++ (void)stopLog; | |
| 245 | + | |
| 246 | +@end | ... | ... |
Example/Pods/AlipaySDK-iOS/AlipaySDK.xcframework/ios-arm64_x86_64-simulator/AlipaySDK.framework/AlipaySDK
0 → 100644
No preview for this file type
Example/Pods/AlipaySDK-iOS/AlipaySDK.xcframework/ios-arm64_x86_64-simulator/AlipaySDK.framework/AlipaySDK-inside-Info.plist
0 → 100644
No preview for this file type
Example/Pods/AlipaySDK-iOS/AlipaySDK.xcframework/ios-arm64_x86_64-simulator/AlipaySDK.framework/AlipaySDK.bundle/alipay_msp_back@2x.png
0 → 100644
409 Bytes
Example/Pods/AlipaySDK-iOS/AlipaySDK.xcframework/ios-arm64_x86_64-simulator/AlipaySDK.framework/AlipaySDK.bundle/alipay_msp_refresh@2x.png
0 → 100644
663 Bytes
Example/Pods/AlipaySDK-iOS/AlipaySDK.xcframework/ios-arm64_x86_64-simulator/AlipaySDK.framework/AlipaySDK.bundle/bar@2x.png
0 → 100644
1011 Bytes
Example/Pods/AlipaySDK-iOS/AlipaySDK.xcframework/ios-arm64_x86_64-simulator/AlipaySDK.framework/AlipaySDK.bundle/bridge.js
0 → 100644
| 1 | +!function(){if(!window.AlipayJSBridge){window.alipayjsbridgeSetTitle=function(e){document.title=e,t("alipayjsbridge://setTitle?title="+encodeURIComponent(e))},window.alipayjsbridgeRefresh=function(){t("alipayjsbridge://onRefresh?")},window.alipayjsbridgeBack=function(){t("alipayjsbridge://onBack?")},window.alipayjsbridgeExit=function(e){t("alipayjsbridge://onExit?bsucc="+e)},window.alipayjsbridgeShowBackButton=function(e){t("alipayjsbridge://showBackButton?bshow="+e)},window.AlipayJSBridge={version:"2.0",addListener:function(e,i){a[e]=i},hasListener:function(e){if(!a[e])return!1;return!0},callListener:function(e,i,n){var t;n&&(t=function(e){var i="";e&&(i=encodeURIComponent(JSON.stringify(e)));var a="func=h5JsFuncCallback&cbId="+n+"&data="+i;o(a)});var r=a[e];r?r(i,t):console.log("AlipayJSBridge: no h5JsFunc ",e+i)},callNativeFunc:function(e,a,t){var r="";t&&(r="cb_"+i+++"_"+(new Date).getTime(),n[r]=t);var d="";a&&(d=encodeURIComponent(JSON.stringify(a)));o("func="+e+"&cbId="+r+"&data="+d)},callBackFromNativeFunc:function(e,i){var a=n[e];a&&(a(i),delete n[i])}};var e,i=1,n={},a={};window.CustomEvent?e=new CustomEvent("alipayjsbridgeready"):(e=document.createEvent("Event")).initEvent("alipayjsbridgeready",!0,!0),document.dispatchEvent(e),setTimeout(function(){if(window.AlipayJSBridgeInitArray){var e=window.AlipayJSBridgeInitArray;delete window.AlipayJSBridgeInitArray;for(var i=0;i<e.length;i++)try{e[i](AlipayJSBridge)}catch(e){setTimeout(function(){throw e})}}},0)}function t(e){window.webkit&&window.webkit.messageHandlers&&window.webkit.messageHandlers.MQPJSBridgeScheme&&window.webkit.messageHandlers.MQPJSBridgeScheme.postMessage&&window.webkit.messageHandlers.MQPJSBridgeScheme.postMessage(e)}function o(e){t("alipayjsbridge://callNativeFunc?"+e)}}(); | ... | ... |
Example/Pods/AlipaySDK-iOS/AlipaySDK.xcframework/ios-arm64_x86_64-simulator/AlipaySDK.framework/AlipaySDK.bundle/refresh@2x.png
0 → 100644
605 Bytes
Example/Pods/AlipaySDK-iOS/AlipaySDK.xcframework/ios-arm64_x86_64-simulator/AlipaySDK.framework/AlipaySDK.bundle/refresh_click@2x.png
0 → 100644
1.78 KB
Example/Pods/AlipaySDK-iOS/AlipaySDK.xcframework/ios-arm64_x86_64-simulator/AlipaySDK.framework/AlipaySDK.bundle/shutdown@2x.png
0 → 100644
222 Bytes
Example/Pods/AlipaySDK-iOS/AlipaySDK.xcframework/ios-arm64_x86_64-simulator/AlipaySDK.framework/AlipaySDK.bundle/shutdown_click@2x.png
0 → 100644
1.29 KB
Example/Pods/AlipaySDK-iOS/AlipaySDK.xcframework/ios-arm64_x86_64-simulator/AlipaySDK.framework/Headers/AFServiceCenter.h
0 → 100644
| 1 | +// | |
| 2 | +// AFServiceCenter.h | |
| 3 | +// AFServiceSDK | |
| 4 | +// | |
| 5 | +// Created by jiajunchen on 02/01/2018. | |
| 6 | +// Copyright © 2018 antfin. All rights reserved. | |
| 7 | +// | |
| 8 | + | |
| 9 | +#import <Foundation/Foundation.h> | |
| 10 | + | |
| 11 | +@class AFServiceResponse; | |
| 12 | + | |
| 13 | +/** | |
| 14 | + SDK支持的业务枚举值 | |
| 15 | + | |
| 16 | + - AFServiceEInvoice: 电子发票 | |
| 17 | + - AFServiceAuth: 账户授权 | |
| 18 | + */ | |
| 19 | +typedef NS_ENUM(NSUInteger, AFService) { | |
| 20 | + AFServiceEInvoice, | |
| 21 | + AFServiceAuth, | |
| 22 | + AFServiceDeduct | |
| 23 | +}; | |
| 24 | + | |
| 25 | + | |
| 26 | +extern NSString * const kAFServiceOptionBizParams; // 钱包服务调用入参 | |
| 27 | +extern NSString * const kAFServiceOptionCallbackScheme; // 业务回跳当前app的scheme | |
| 28 | +extern NSString * const kAFServiceOptionNotUseLanding; // 不使用支付宝提示下载页做补偿,为true时需要商户自己处理用户未安装支付宝的情况 | |
| 29 | +extern NSString * const kAFServiceBizParamsKeyUrl; // 独立签约入参url | |
| 30 | + | |
| 31 | +typedef void(^AFServiceResultBlock)(AFServiceResponse *response); | |
| 32 | + | |
| 33 | +@interface AFServiceCenter : NSObject | |
| 34 | + | |
| 35 | +/** | |
| 36 | + 调用钱包服务 | |
| 37 | + | |
| 38 | + @param service 业务service, 见AFService枚举值 | |
| 39 | + @param params 参数Dictionary, key值详情参见kAFServiceOptionBizParams、kAFServiceOptionCallbackScheme注释 | |
| 40 | + @param block 业务结果回调的block, block参数是AFServiceResponse类型,业务结果通过result属性获取,如果未用户未安装支付宝并且kAFServiceOptionNotUseLanding未设置为true,会使用H5landing页做补偿,这种情况下不会有block回调结果。 | |
| 41 | + */ | |
| 42 | ++ (void)callService:(AFService)service | |
| 43 | + withParams:(NSDictionary *)params | |
| 44 | + andCompletion:(AFServiceResultBlock)block; | |
| 45 | + | |
| 46 | + | |
| 47 | +/** | |
| 48 | + 处理钱包服务回跳APP的URL | |
| 49 | + | |
| 50 | + @param url 回跳URL | |
| 51 | + @param block 业务结果回掉的block,详情见调用接口入参上的block。注意此接口上的block只有在跳转钱包后,当前APP被系统回收的情况下回跳才生效 | |
| 52 | + */ | |
| 53 | ++ (void)handleResponseURL:(NSURL *)url | |
| 54 | + withCompletion:(AFServiceResultBlock)block; | |
| 55 | + | |
| 56 | +@end | ... | ... |
Example/Pods/AlipaySDK-iOS/AlipaySDK.xcframework/ios-arm64_x86_64-simulator/AlipaySDK.framework/Headers/AFServiceResponse.h
0 → 100644
| 1 | +// | |
| 2 | +// AFServiceResponse.h | |
| 3 | +// AFServiceSDK | |
| 4 | +// | |
| 5 | +// Created by jiajunchen on 08/01/2018. | |
| 6 | +// Copyright © 2018 antfin. All rights reserved. | |
| 7 | +// | |
| 8 | + | |
| 9 | +#import <Foundation/Foundation.h> | |
| 10 | + | |
| 11 | +/** | |
| 12 | + 钱包服务调用结果状态吗 | |
| 13 | + | |
| 14 | + - AFResSuccess: 默认值,业务调用成功,结果数据参见result字段 | |
| 15 | + - AFResInvalidService: service枚举值错误 | |
| 16 | + - AFResInvalidURL: 钱包回跳URL错误 | |
| 17 | + - AFResRepeatCall: 业务重复调用(3s内) | |
| 18 | + - AFResOpenURLErr: 跳转失败 | |
| 19 | + */ | |
| 20 | +typedef NS_ENUM(NSUInteger, AFResCode) { | |
| 21 | + AFResSuccess = 0, | |
| 22 | + AFResInvalidService = 100, | |
| 23 | + AFResInvalidURL, | |
| 24 | + AFResRepeatCall, | |
| 25 | + AFResOpenURLErr, | |
| 26 | +}; | |
| 27 | + | |
| 28 | + | |
| 29 | +@interface AFServiceResponse : NSObject | |
| 30 | + | |
| 31 | + | |
| 32 | +/** | |
| 33 | + 业务调用状态吗 | |
| 34 | + */ | |
| 35 | +@property (nonatomic, assign) AFResCode responseCode; | |
| 36 | + | |
| 37 | + | |
| 38 | +/** | |
| 39 | + 业务结果Dictionary, 内容请参考具体业务方接入文档 | |
| 40 | + */ | |
| 41 | +@property (readonly) NSDictionary *result; | |
| 42 | + | |
| 43 | +@end | ... | ... |
Example/Pods/AlipaySDK-iOS/AlipaySDK.xcframework/ios-arm64_x86_64-simulator/AlipaySDK.framework/Headers/APayAuthInfo.h
0 → 100644
| 1 | +// | |
| 2 | +// APAuthInfo.h | |
| 3 | +// APAuth | |
| 4 | +// | |
| 5 | +// Created by antfin on 17-10-24. | |
| 6 | +// Copyright (c) 2017年 AntFin. All rights reserved. | |
| 7 | +// | |
| 8 | + | |
| 9 | +#import <Foundation/Foundation.h> | |
| 10 | + | |
| 11 | +@interface APayAuthInfo : NSObject | |
| 12 | + | |
| 13 | +@property(nonatomic, copy)NSString *appID; | |
| 14 | +@property(nonatomic, copy)NSString *pid; | |
| 15 | +@property(nonatomic, copy)NSString *redirectUri; | |
| 16 | + | |
| 17 | +/** | |
| 18 | + * 初始化AuthInfo | |
| 19 | + * | |
| 20 | + * @param appIDStr 应用ID | |
| 21 | + * @param pidStr 商户ID 可不填 | |
| 22 | + * @param uriStr 授权的应用回调地址 比如:alidemo://auth | |
| 23 | + * | |
| 24 | + * @return authinfo实例 | |
| 25 | + */ | |
| 26 | +- (id)initWithAppID:(NSString *)appIDStr | |
| 27 | + pid:(NSString *)pidStr | |
| 28 | + redirectUri:(NSString *)uriStr; | |
| 29 | + | |
| 30 | +- (NSString *)description; | |
| 31 | +- (NSString *)wapDescription; | |
| 32 | + | |
| 33 | +@end | ... | ... |
Example/Pods/AlipaySDK-iOS/AlipaySDK.xcframework/ios-arm64_x86_64-simulator/AlipaySDK.framework/Headers/AlipaySDK.h
0 → 100644
| 1 | +// | |
| 2 | +// AlipaySDK.h | |
| 3 | +// AlipaySDK | |
| 4 | +// | |
| 5 | +// Created by antfin on 17-10-24. | |
| 6 | +// Copyright (c) 2017年 AntFin. All rights reserved. | |
| 7 | +// | |
| 8 | + | |
| 9 | + | |
| 10 | +//////////////////////////////////////////////////////// | |
| 11 | +///////////////// 支付宝标准版本支付SDK /////////////////// | |
| 12 | +///////// version:15.8.16 modify:2023.08.02/////////// | |
| 13 | +//////////////////////////////////////////////////////// | |
| 14 | + | |
| 15 | +#import <UIKit/UIKit.h> | |
| 16 | +#import "APayAuthInfo.h" | |
| 17 | +#import "AFServiceCenter.h" | |
| 18 | +#import "AFServiceResponse.h" | |
| 19 | + | |
| 20 | +typedef void(^CompletionBlock)(NSDictionary *resultDic); | |
| 21 | + | |
| 22 | +typedef enum { | |
| 23 | + ALIPAY_TIDFACTOR_IMEI, | |
| 24 | + ALIPAY_TIDFACTOR_IMSI, | |
| 25 | + ALIPAY_TIDFACTOR_TID, | |
| 26 | + ALIPAY_TIDFACTOR_CLIENTKEY, | |
| 27 | + ALIPAY_TIDFACTOR_VIMEI, | |
| 28 | + ALIPAY_TIDFACTOR_VIMSI, | |
| 29 | + ALIPAY_TIDFACTOR_CLIENTID, | |
| 30 | + ALIPAY_TIDFACTOR_APDID, | |
| 31 | + ALIPAY_TIDFACTOR_MAX | |
| 32 | +} AlipayTidFactor; | |
| 33 | + | |
| 34 | +@interface AlipaySDK : NSObject | |
| 35 | + | |
| 36 | +/** | |
| 37 | + * 创建支付单例服务 | |
| 38 | + * | |
| 39 | + * @return 返回单例对象 | |
| 40 | + */ | |
| 41 | ++ (AlipaySDK *)defaultService; | |
| 42 | + | |
| 43 | +/** | |
| 44 | + * 用于设置SDK使用的window,如果没有自行创建window无需设置此接口 | |
| 45 | + */ | |
| 46 | +@property (nonatomic, weak) UIWindow *targetWindow; | |
| 47 | + | |
| 48 | +////////////////////////////////////////////////////////////////////////////////////////////// | |
| 49 | +//////////////////////////支付宝支付相关接口///////////////////////////////////////////////////// | |
| 50 | +////////////////////////////////////////////////////////////////////////////////////////////// | |
| 51 | + | |
| 52 | +/** | |
| 53 | + * 支付接口 | |
| 54 | + * | |
| 55 | + * @param orderStr 支付订单信息字串 | |
| 56 | + * @param schemeStr 调用支付的app注册在info.plist中的scheme | |
| 57 | + * @param completionBlock 支付结果回调Block,用于wap支付结果回调,跳转支付宝支付时只有当processOrderWithPaymentResult接口的completionBlock为nil时会使用这个bolock | |
| 58 | + */ | |
| 59 | +- (void)payOrder:(NSString *)orderStr | |
| 60 | + fromScheme:(NSString *)schemeStr | |
| 61 | + callback:(CompletionBlock)completionBlock; | |
| 62 | + | |
| 63 | +/** | |
| 64 | + * 支付接口 v2 | |
| 65 | + * | |
| 66 | + * @param orderStr 支付订单信息字串 | |
| 67 | + * @param dynamicLaunch 是否使用动态配置策略跳转支付宝支付 | |
| 68 | + * @param schemeStr 调用支付的app注册在info.plist中的scheme | |
| 69 | + * @param completionBlock 支付结果回调Block,用于wap支付结果回调 | |
| 70 | + 跳转支付宝支付时只有当processOrderWithPaymentResult接口的completionBlock为nil时会使用这个bolock | |
| 71 | + */ | |
| 72 | +- (void)payOrder:(NSString *)orderStr | |
| 73 | + dynamicLaunch:(BOOL)dynamicLaunch | |
| 74 | + fromScheme:(NSString *)schemeStr | |
| 75 | + callback:(CompletionBlock)completionBlock; | |
| 76 | + | |
| 77 | +/** | |
| 78 | + * 处理支付宝app支付后跳回商户app携带的支付结果Url | |
| 79 | + * | |
| 80 | + * @param resultUrl 支付宝app返回的支付结果url | |
| 81 | + * @param completionBlock 支付结果回调 为nil时默认使用支付接口的completionBlock | |
| 82 | + */ | |
| 83 | +- (void)processOrderWithPaymentResult:(NSURL *)resultUrl | |
| 84 | + standbyCallback:(CompletionBlock)completionBlock; | |
| 85 | + | |
| 86 | + | |
| 87 | +/** | |
| 88 | + * 商户接入UniversalLink支付接口使用该接口 | |
| 89 | + * | |
| 90 | + * @param orderStr 支付订单信息字串 | |
| 91 | + * @param schemeStr 调用支付的app注册在info.plist中的scheme | |
| 92 | + * @param universalLink 调用支付的app关联的universalLink,如'https://render.alipay.com/' | |
| 93 | + * @param completionBlock 支付结果回调Block,用于wap支付结果回调,跳转支付宝支付时只有当processOrderWithPaymentResult接口的completionBlock为nil时会使用这个bolock | |
| 94 | + */ | |
| 95 | +- (void) payOrder:(NSString *)orderStr | |
| 96 | + fromScheme:(NSString *)schemeStr | |
| 97 | +fromUniversalLink:(NSString *)universalLink | |
| 98 | + callback:(CompletionBlock)completionBlock; | |
| 99 | + | |
| 100 | + | |
| 101 | +/** | |
| 102 | + * 处理支付宝app支付后通过universalLink跳回商户app携带的支付结果处理 | |
| 103 | + * | |
| 104 | + * @param userActivity 系统接口传入的userActivity | |
| 105 | + * @param completionBlock 支付结果回调 为nil时默认使用支付接口的completionBlock | |
| 106 | + */ | |
| 107 | +- (void)handleOpenUniversalLink:(NSUserActivity *)userActivity standbyCallback:(CompletionBlock)completionBlock; | |
| 108 | + | |
| 109 | + | |
| 110 | +/** | |
| 111 | + * 获取交易token。 | |
| 112 | + * | |
| 113 | + * @return 交易token,若无则为空。 | |
| 114 | + */ | |
| 115 | +- (NSString *)fetchTradeToken; | |
| 116 | + | |
| 117 | + | |
| 118 | +////////////////////////////////////////////////////////////////////////////////////////////// | |
| 119 | +//////////////////////////支付宝授权 2.0 相关接口//////////////////////////////////////////////// | |
| 120 | +////////////////////////////////////////////////////////////////////////////////////////////// | |
| 121 | + | |
| 122 | +/** | |
| 123 | + * 快登授权2.0 | |
| 124 | + * | |
| 125 | + * @param infoStr 授权请求信息字串 | |
| 126 | + * @param schemeStr 调用授权的app注册在info.plist中的scheme | |
| 127 | + * @param completionBlock 授权结果回调,需要调用方在appDelegate中调用processAuth_V2Result:standbyCallback:方法获取授权结果 | |
| 128 | + * 若在授权过程中,调用方应用被系统终止则此block无效(此时会调用'processAuth_V2Result:standbyCallback:'传入的standbyCallback) | |
| 129 | + */ | |
| 130 | +- (void)auth_V2WithInfo:(NSString *)infoStr | |
| 131 | + fromScheme:(NSString *)schemeStr | |
| 132 | + callback:(CompletionBlock)completionBlock; | |
| 133 | + | |
| 134 | +/** | |
| 135 | + * 处理支付宝app授权后跳回商户app携带的授权结果Url | |
| 136 | + * | |
| 137 | + * @param resultUrl 支付宝app返回的授权结果url | |
| 138 | + * @param completionBlock 授权结果回调,用于处理跳转支付宝授权过程中商户APP被系统终止的情况 | |
| 139 | + */ | |
| 140 | +- (void)processAuth_V2Result:(NSURL *)resultUrl | |
| 141 | + standbyCallback:(CompletionBlock)completionBlock; | |
| 142 | + | |
| 143 | + | |
| 144 | +////////////////////////////////////////////////////////////////////////////////////////////// | |
| 145 | +//////////////////////////支付宝授权 1.0 相关接口//////////////////////////////////////////////// | |
| 146 | +////////////////////////////////////////////////////////////////////////////////////////////// | |
| 147 | + | |
| 148 | + | |
| 149 | +/** | |
| 150 | + * 快登授权 | |
| 151 | + * @param authInfo 授权相关信息 | |
| 152 | + * @param completionBlock 授权结果回调,若在授权过程中,调用方应用被系统终止,则此block无效, | |
| 153 | + 需要调用方在appDelegate中调用processAuth_V2Result:standbyCallback:方法获取授权结果 | |
| 154 | + */ | |
| 155 | +- (void)authWithInfo:(APayAuthInfo *)authInfo | |
| 156 | + callback:(CompletionBlock)completionBlock; | |
| 157 | + | |
| 158 | +/** | |
| 159 | + * 处理支付宝app授权后跳回商户app携带的授权结果Url | |
| 160 | + * | |
| 161 | + * @param resultUrl 支付宝app返回的授权结果url | |
| 162 | + * @param completionBlock 授权结果回调 | |
| 163 | + */ | |
| 164 | +- (void)processAuthResult:(NSURL *)resultUrl | |
| 165 | + standbyCallback:(CompletionBlock)completionBlock; | |
| 166 | + | |
| 167 | + | |
| 168 | +////////////////////////////////////////////////////////////////////////////////////////////// | |
| 169 | +//////////////////////////支付宝 h5 支付转 native 支付接口//////////////////////////////////////// | |
| 170 | +////////////////////////////////////////////////////////////////////////////////////////////// | |
| 171 | +/** | |
| 172 | + * 从h5链接中获取订单串并支付接口(自版本15.4.0起,推荐使用该接口) | |
| 173 | + * | |
| 174 | + * @param urlStr 拦截的 url string | |
| 175 | + * | |
| 176 | + * @return YES为成功获取订单信息并发起支付流程;NO为无法获取订单信息,输入url是普通url | |
| 177 | + */ | |
| 178 | +- (BOOL)payInterceptorWithUrl:(NSString *)urlStr | |
| 179 | + fromScheme:(NSString *)schemeStr | |
| 180 | + callback:(CompletionBlock)completionBlock; | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | +////////////////////////////////////////////////////////////////////////////////////////////// | |
| 185 | +//////////////////////////支付宝 tid 相关信息获取接口///////////////////////////////////////////// | |
| 186 | +////////////////////////////////////////////////////////////////////////////////////////////// | |
| 187 | + | |
| 188 | +/** | |
| 189 | + * 获取当前tid相关信息 | |
| 190 | + * | |
| 191 | + * @return tid相关信息 | |
| 192 | + */ | |
| 193 | +- (NSString*)queryTidFactor:(AlipayTidFactor)factor; | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | +////////////////////////////////////////////////////////////////////////////////////////////// | |
| 198 | +//////////////////////////支付宝支付环境相关信息接口////////////////////////////////////////////// | |
| 199 | +////////////////////////////////////////////////////////////////////////////////////////////// | |
| 200 | + | |
| 201 | +/** | |
| 202 | + * 是否已经使用过 | |
| 203 | + * | |
| 204 | + * @return YES为已经使用过,NO反之 | |
| 205 | + */ | |
| 206 | +- (BOOL)isLogined; | |
| 207 | + | |
| 208 | +/** | |
| 209 | + * 获取当前版本号 | |
| 210 | + * | |
| 211 | + * @return 当前版本字符串 | |
| 212 | + */ | |
| 213 | +- (NSString *)currentVersion; | |
| 214 | + | |
| 215 | +/** | |
| 216 | + * 測試所用,realse包无效 | |
| 217 | + * | |
| 218 | + * @param url 测试环境 | |
| 219 | + */ | |
| 220 | +- (void)setUrl:(NSString *)url; | |
| 221 | + | |
| 222 | +/** | |
| 223 | + * 支付前主动更新本地配置 | |
| 224 | + * | |
| 225 | + * @param block 更新请求结果回调 | |
| 226 | + */ | |
| 227 | +- (void)fetchSdkConfigWithBlock:(void(^)(BOOL success))block; | |
| 228 | + | |
| 229 | + | |
| 230 | +typedef void(^APLogBlock)(NSString *log); | |
| 231 | + | |
| 232 | +/** | |
| 233 | +* 接收AlipaySDK的log信息 | |
| 234 | +* | |
| 235 | +* @param logBlock 打印log的回调block | |
| 236 | +*/ | |
| 237 | ++ (void)startLogWithBlock:(APLogBlock)logBlock; | |
| 238 | + | |
| 239 | +/** | |
| 240 | +* 停止输出log,会释放logBlock | |
| 241 | +* | |
| 242 | +* | |
| 243 | +*/ | |
| 244 | ++ (void)stopLog; | |
| 245 | + | |
| 246 | +@end | ... | ... |
Example/Pods/AlipaySDK-iOS/AlipaySDK.xcframework/ios-arm64_x86_64-simulator/AlipaySDK.framework/_CodeSignature/CodeDirectory
0 → 100644
No preview for this file type
Example/Pods/AlipaySDK-iOS/AlipaySDK.xcframework/ios-arm64_x86_64-simulator/AlipaySDK.framework/_CodeSignature/CodeRequirements
0 → 100644
No preview for this file type
Example/Pods/AlipaySDK-iOS/AlipaySDK.xcframework/ios-arm64_x86_64-simulator/AlipaySDK.framework/_CodeSignature/CodeRequirements-1
0 → 100644
No preview for this file type
Example/Pods/AlipaySDK-iOS/AlipaySDK.xcframework/ios-arm64_x86_64-simulator/AlipaySDK.framework/_CodeSignature/CodeResources
0 → 100644
| 1 | +<?xml version="1.0" encoding="UTF-8"?> | |
| 2 | +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| 3 | +<plist version="1.0"> | |
| 4 | +<dict> | |
| 5 | + <key>files</key> | |
| 6 | + <dict> | |
| 7 | + <key>AlipaySDK-inside-Info.plist</key> | |
| 8 | + <data> | |
| 9 | + 1eNodgoJjexIXNkgnNN0zvMoQWI= | |
| 10 | + </data> | |
| 11 | + <key>AlipaySDK.bundle/alipay_msp_back@2x.png</key> | |
| 12 | + <data> | |
| 13 | + 9QmweA7IyncTPWZIOx5ECL2ne4o= | |
| 14 | + </data> | |
| 15 | + <key>AlipaySDK.bundle/alipay_msp_refresh@2x.png</key> | |
| 16 | + <data> | |
| 17 | + ivQn6LWpOB8BoUbNdxsIvfbJbuM= | |
| 18 | + </data> | |
| 19 | + <key>AlipaySDK.bundle/bar@2x.png</key> | |
| 20 | + <data> | |
| 21 | + ENmQmLXuSOxBy844XKkdTedcv2Y= | |
| 22 | + </data> | |
| 23 | + <key>AlipaySDK.bundle/bridge.js</key> | |
| 24 | + <data> | |
| 25 | + sgZ31kacqvJAHbN7Ywt45Mglc6o= | |
| 26 | + </data> | |
| 27 | + <key>AlipaySDK.bundle/refresh@2x.png</key> | |
| 28 | + <data> | |
| 29 | + MrXCB0ZUwnx4+zfw1X2jzlNdDc4= | |
| 30 | + </data> | |
| 31 | + <key>AlipaySDK.bundle/refresh_click@2x.png</key> | |
| 32 | + <data> | |
| 33 | + Q5O/60AWCbG5LfvVC3+guPjpeFs= | |
| 34 | + </data> | |
| 35 | + <key>AlipaySDK.bundle/shutdown@2x.png</key> | |
| 36 | + <data> | |
| 37 | + Z3Jf5aw1lVPaKemSw8qXPabBLcw= | |
| 38 | + </data> | |
| 39 | + <key>AlipaySDK.bundle/shutdown_click@2x.png</key> | |
| 40 | + <data> | |
| 41 | + v8pstv1HbmoW3gdlKZzSqn31WHY= | |
| 42 | + </data> | |
| 43 | + <key>Headers/AFServiceCenter.h</key> | |
| 44 | + <data> | |
| 45 | + AQaJpNuFjISlEnxg4oc++V6HKDs= | |
| 46 | + </data> | |
| 47 | + <key>Headers/AFServiceResponse.h</key> | |
| 48 | + <data> | |
| 49 | + kmXpMRX3EHJQ2GcKHGTF42sh5W0= | |
| 50 | + </data> | |
| 51 | + <key>Headers/APayAuthInfo.h</key> | |
| 52 | + <data> | |
| 53 | + gJOMjyPrvesSF0hKcHM3CVMNDJQ= | |
| 54 | + </data> | |
| 55 | + <key>Headers/AlipaySDK.h</key> | |
| 56 | + <data> | |
| 57 | + 8XwC+MqQpDbmMpi+DX1Rqs4rmm4= | |
| 58 | + </data> | |
| 59 | + <key>Info.plist</key> | |
| 60 | + <data> | |
| 61 | + 8zhFy4JJEZW3WMNlkPg+bXYE9Gc= | |
| 62 | + </data> | |
| 63 | + <key>en.lproj/InfoPlist.strings</key> | |
| 64 | + <dict> | |
| 65 | + <key>hash</key> | |
| 66 | + <data> | |
| 67 | + zmV6UqBSo6r1NOz798vd5O4zTBA= | |
| 68 | + </data> | |
| 69 | + <key>optional</key> | |
| 70 | + <true/> | |
| 71 | + </dict> | |
| 72 | + </dict> | |
| 73 | + <key>files2</key> | |
| 74 | + <dict> | |
| 75 | + <key>AlipaySDK-inside-Info.plist</key> | |
| 76 | + <dict> | |
| 77 | + <key>hash</key> | |
| 78 | + <data> | |
| 79 | + 1eNodgoJjexIXNkgnNN0zvMoQWI= | |
| 80 | + </data> | |
| 81 | + <key>hash2</key> | |
| 82 | + <data> | |
| 83 | + BrDPBL2W2wSe1mgUv7agJTpxXb/lKF3XOJfP0w2hoNc= | |
| 84 | + </data> | |
| 85 | + </dict> | |
| 86 | + <key>AlipaySDK.bundle/alipay_msp_back@2x.png</key> | |
| 87 | + <dict> | |
| 88 | + <key>hash</key> | |
| 89 | + <data> | |
| 90 | + 9QmweA7IyncTPWZIOx5ECL2ne4o= | |
| 91 | + </data> | |
| 92 | + <key>hash2</key> | |
| 93 | + <data> | |
| 94 | + pqv6sMiIl+QnblEyN3FQCDRwbxFEJpY5Roe80rSkaA4= | |
| 95 | + </data> | |
| 96 | + </dict> | |
| 97 | + <key>AlipaySDK.bundle/alipay_msp_refresh@2x.png</key> | |
| 98 | + <dict> | |
| 99 | + <key>hash</key> | |
| 100 | + <data> | |
| 101 | + ivQn6LWpOB8BoUbNdxsIvfbJbuM= | |
| 102 | + </data> | |
| 103 | + <key>hash2</key> | |
| 104 | + <data> | |
| 105 | + eSIZGIUsqcDz03r9ISTu2jNwTz0msn0tSSEOTq8KYz0= | |
| 106 | + </data> | |
| 107 | + </dict> | |
| 108 | + <key>AlipaySDK.bundle/bar@2x.png</key> | |
| 109 | + <dict> | |
| 110 | + <key>hash</key> | |
| 111 | + <data> | |
| 112 | + ENmQmLXuSOxBy844XKkdTedcv2Y= | |
| 113 | + </data> | |
| 114 | + <key>hash2</key> | |
| 115 | + <data> | |
| 116 | + 38AV6Lw9+K+g+t7MHjtEKIJarVILLcTXm0o58ki9C3Q= | |
| 117 | + </data> | |
| 118 | + </dict> | |
| 119 | + <key>AlipaySDK.bundle/bridge.js</key> | |
| 120 | + <dict> | |
| 121 | + <key>hash</key> | |
| 122 | + <data> | |
| 123 | + sgZ31kacqvJAHbN7Ywt45Mglc6o= | |
| 124 | + </data> | |
| 125 | + <key>hash2</key> | |
| 126 | + <data> | |
| 127 | + 5Sf9BPwyQ3bHoIdJYsGubF6CsgDuqngeWVkh3Ggm5Rc= | |
| 128 | + </data> | |
| 129 | + </dict> | |
| 130 | + <key>AlipaySDK.bundle/refresh@2x.png</key> | |
| 131 | + <dict> | |
| 132 | + <key>hash</key> | |
| 133 | + <data> | |
| 134 | + MrXCB0ZUwnx4+zfw1X2jzlNdDc4= | |
| 135 | + </data> | |
| 136 | + <key>hash2</key> | |
| 137 | + <data> | |
| 138 | + mR8Iqbh2To/+bYNWFk0IbpoorNfzg31HgUB8v89EphQ= | |
| 139 | + </data> | |
| 140 | + </dict> | |
| 141 | + <key>AlipaySDK.bundle/refresh_click@2x.png</key> | |
| 142 | + <dict> | |
| 143 | + <key>hash</key> | |
| 144 | + <data> | |
| 145 | + Q5O/60AWCbG5LfvVC3+guPjpeFs= | |
| 146 | + </data> | |
| 147 | + <key>hash2</key> | |
| 148 | + <data> | |
| 149 | + qkSv6KIv4z3l+TmK/G5Gms3oYZripYuLCK2rB2rmyhY= | |
| 150 | + </data> | |
| 151 | + </dict> | |
| 152 | + <key>AlipaySDK.bundle/shutdown@2x.png</key> | |
| 153 | + <dict> | |
| 154 | + <key>hash</key> | |
| 155 | + <data> | |
| 156 | + Z3Jf5aw1lVPaKemSw8qXPabBLcw= | |
| 157 | + </data> | |
| 158 | + <key>hash2</key> | |
| 159 | + <data> | |
| 160 | + mWjeqq55Ym3S0vhMp13qIXpvbIkaeheRy9CnDbpcqhQ= | |
| 161 | + </data> | |
| 162 | + </dict> | |
| 163 | + <key>AlipaySDK.bundle/shutdown_click@2x.png</key> | |
| 164 | + <dict> | |
| 165 | + <key>hash</key> | |
| 166 | + <data> | |
| 167 | + v8pstv1HbmoW3gdlKZzSqn31WHY= | |
| 168 | + </data> | |
| 169 | + <key>hash2</key> | |
| 170 | + <data> | |
| 171 | + dE2ndHqk8MuNrgTt2yHONxfP38nq2HUgB4t2jKRl8SI= | |
| 172 | + </data> | |
| 173 | + </dict> | |
| 174 | + <key>Headers/AFServiceCenter.h</key> | |
| 175 | + <dict> | |
| 176 | + <key>hash</key> | |
| 177 | + <data> | |
| 178 | + AQaJpNuFjISlEnxg4oc++V6HKDs= | |
| 179 | + </data> | |
| 180 | + <key>hash2</key> | |
| 181 | + <data> | |
| 182 | + 6LTn9ui9fej1+gAIMRA0A8tYete1h+5FyCKvdDubNTY= | |
| 183 | + </data> | |
| 184 | + </dict> | |
| 185 | + <key>Headers/AFServiceResponse.h</key> | |
| 186 | + <dict> | |
| 187 | + <key>hash</key> | |
| 188 | + <data> | |
| 189 | + kmXpMRX3EHJQ2GcKHGTF42sh5W0= | |
| 190 | + </data> | |
| 191 | + <key>hash2</key> | |
| 192 | + <data> | |
| 193 | + Asp+7KYSwYGi9WCHRSYYiTb3SBRlkdfI0FVEIYrI3gg= | |
| 194 | + </data> | |
| 195 | + </dict> | |
| 196 | + <key>Headers/APayAuthInfo.h</key> | |
| 197 | + <dict> | |
| 198 | + <key>hash</key> | |
| 199 | + <data> | |
| 200 | + gJOMjyPrvesSF0hKcHM3CVMNDJQ= | |
| 201 | + </data> | |
| 202 | + <key>hash2</key> | |
| 203 | + <data> | |
| 204 | + YdDScCCH/DS/7WgISrrhBnFB06W7eY1H1UQNRFImM2w= | |
| 205 | + </data> | |
| 206 | + </dict> | |
| 207 | + <key>Headers/AlipaySDK.h</key> | |
| 208 | + <dict> | |
| 209 | + <key>hash</key> | |
| 210 | + <data> | |
| 211 | + 8XwC+MqQpDbmMpi+DX1Rqs4rmm4= | |
| 212 | + </data> | |
| 213 | + <key>hash2</key> | |
| 214 | + <data> | |
| 215 | + JzobtSIFkFOPENnZPYwM6VyyesCbgdsUTeeQZV4+ZXY= | |
| 216 | + </data> | |
| 217 | + </dict> | |
| 218 | + <key>en.lproj/InfoPlist.strings</key> | |
| 219 | + <dict> | |
| 220 | + <key>hash</key> | |
| 221 | + <data> | |
| 222 | + zmV6UqBSo6r1NOz798vd5O4zTBA= | |
| 223 | + </data> | |
| 224 | + <key>hash2</key> | |
| 225 | + <data> | |
| 226 | + kmHsztpgjvF0JW5f3HdMHm49z1M0CcG8OT1JDQHHE/E= | |
| 227 | + </data> | |
| 228 | + <key>optional</key> | |
| 229 | + <true/> | |
| 230 | + </dict> | |
| 231 | + </dict> | |
| 232 | + <key>rules</key> | |
| 233 | + <dict> | |
| 234 | + <key>^.*</key> | |
| 235 | + <true/> | |
| 236 | + <key>^.*\.lproj/</key> | |
| 237 | + <dict> | |
| 238 | + <key>optional</key> | |
| 239 | + <true/> | |
| 240 | + <key>weight</key> | |
| 241 | + <real>1000</real> | |
| 242 | + </dict> | |
| 243 | + <key>^.*\.lproj/locversion.plist$</key> | |
| 244 | + <dict> | |
| 245 | + <key>omit</key> | |
| 246 | + <true/> | |
| 247 | + <key>weight</key> | |
| 248 | + <real>1100</real> | |
| 249 | + </dict> | |
| 250 | + <key>^Base\.lproj/</key> | |
| 251 | + <dict> | |
| 252 | + <key>weight</key> | |
| 253 | + <real>1010</real> | |
| 254 | + </dict> | |
| 255 | + <key>^version.plist$</key> | |
| 256 | + <true/> | |
| 257 | + </dict> | |
| 258 | + <key>rules2</key> | |
| 259 | + <dict> | |
| 260 | + <key>.*\.dSYM($|/)</key> | |
| 261 | + <dict> | |
| 262 | + <key>weight</key> | |
| 263 | + <real>11</real> | |
| 264 | + </dict> | |
| 265 | + <key>^(.*/)?\.DS_Store$</key> | |
| 266 | + <dict> | |
| 267 | + <key>omit</key> | |
| 268 | + <true/> | |
| 269 | + <key>weight</key> | |
| 270 | + <real>2000</real> | |
| 271 | + </dict> | |
| 272 | + <key>^.*</key> | |
| 273 | + <true/> | |
| 274 | + <key>^.*\.lproj/</key> | |
| 275 | + <dict> | |
| 276 | + <key>optional</key> | |
| 277 | + <true/> | |
| 278 | + <key>weight</key> | |
| 279 | + <real>1000</real> | |
| 280 | + </dict> | |
| 281 | + <key>^.*\.lproj/locversion.plist$</key> | |
| 282 | + <dict> | |
| 283 | + <key>omit</key> | |
| 284 | + <true/> | |
| 285 | + <key>weight</key> | |
| 286 | + <real>1100</real> | |
| 287 | + </dict> | |
| 288 | + <key>^Base\.lproj/</key> | |
| 289 | + <dict> | |
| 290 | + <key>weight</key> | |
| 291 | + <real>1010</real> | |
| 292 | + </dict> | |
| 293 | + <key>^Info\.plist$</key> | |
| 294 | + <dict> | |
| 295 | + <key>omit</key> | |
| 296 | + <true/> | |
| 297 | + <key>weight</key> | |
| 298 | + <real>20</real> | |
| 299 | + </dict> | |
| 300 | + <key>^PkgInfo$</key> | |
| 301 | + <dict> | |
| 302 | + <key>omit</key> | |
| 303 | + <true/> | |
| 304 | + <key>weight</key> | |
| 305 | + <real>20</real> | |
| 306 | + </dict> | |
| 307 | + <key>^embedded\.provisionprofile$</key> | |
| 308 | + <dict> | |
| 309 | + <key>weight</key> | |
| 310 | + <real>20</real> | |
| 311 | + </dict> | |
| 312 | + <key>^version\.plist$</key> | |
| 313 | + <dict> | |
| 314 | + <key>weight</key> | |
| 315 | + <real>20</real> | |
| 316 | + </dict> | |
| 317 | + </dict> | |
| 318 | +</dict> | |
| 319 | +</plist> | ... | ... |
Example/Pods/AlipaySDK-iOS/AlipaySDK.xcframework/ios-arm64_x86_64-simulator/AlipaySDK.framework/_CodeSignature/CodeSignature
0 → 100644
Example/Pods/AlipaySDK-iOS/LICENSE
0 → 100644
| 1 | +MIT License | |
| 2 | + | |
| 3 | +Copyright (c) 2023 Antfin | |
| 4 | + | |
| 5 | +Permission is hereby granted, free of charge, to any person obtaining a copy | |
| 6 | +of this software and associated documentation files (the "Software"), to deal | |
| 7 | +in the Software without restriction, including without limitation the rights | |
| 8 | +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
| 9 | +copies of the Software, and to permit persons to whom the Software is | |
| 10 | +furnished to do so, subject to the following conditions: | |
| 11 | + | |
| 12 | +The above copyright notice and this permission notice shall be included in all | |
| 13 | +copies or substantial portions of the Software. | |
| 14 | + | |
| 15 | +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | |
| 16 | +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | |
| 17 | +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | |
| 18 | +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | |
| 19 | +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | |
| 20 | +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | |
| 21 | +SOFTWARE. | ... | ... |
Example/Pods/Local Podspecs/CNLivePayCostModule.podspec.json
| 1 | 1 | { |
| 2 | 2 | "name": "CNLivePayCostModule", |
| 3 | - "version": "0.1.4", | |
| 3 | + "version": "0.1.7", | |
| 4 | 4 | "summary": "A short description of CNLivePayCostModule.", |
| 5 | 5 | "description": "TODO: Add long description of the pod here.", |
| 6 | 6 | "homepage": "http://bj.gitlab.cnlive.com/ios-team/CNLivePayCostModule", |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | }, |
| 14 | 14 | "source": { |
| 15 | 15 | "git": "http://bj.gitlab.cnlive.com/ios-team/CNLivePayCostModule.git", |
| 16 | - "tag": "0.1.4" | |
| 16 | + "tag": "0.1.7" | |
| 17 | 17 | }, |
| 18 | 18 | "platforms": { |
| 19 | 19 | "ios": "10.0" |
| ... | ... | @@ -71,6 +71,9 @@ |
| 71 | 71 | ], |
| 72 | 72 | "WechatOpenSDK": [ |
| 73 | 73 | |
| 74 | + ], | |
| 75 | + "AlipaySDK-iOS": [ | |
| 76 | + | |
| 74 | 77 | ] |
| 75 | 78 | } |
| 76 | 79 | } | ... | ... |
Example/Pods/Manifest.lock
| ... | ... | @@ -14,6 +14,7 @@ PODS: |
| 14 | 14 | - AFNetworking/Serialization (4.0.1) |
| 15 | 15 | - AFNetworking/UIKit (4.0.1): |
| 16 | 16 | - AFNetworking/NSURLSession |
| 17 | + - AlipaySDK-iOS (15.8.16) | |
| 17 | 18 | - CNLiveBaseKit (0.1.29): |
| 18 | 19 | - CNLiveNewTripartiteManagement/MJExtension |
| 19 | 20 | - CNLiveBaseTools (0.0.9): |
| ... | ... | @@ -95,7 +96,8 @@ PODS: |
| 95 | 96 | - YYText (= 1.0.7) |
| 96 | 97 | - CNLiveNewTripartiteManagement/YYWebImage (0.2.1.1): |
| 97 | 98 | - YYWebImage (= 1.0.5) |
| 98 | - - CNLivePayCostModule (0.1.4): | |
| 99 | + - CNLivePayCostModule (0.1.7): | |
| 100 | + - AlipaySDK-iOS | |
| 99 | 101 | - CNLiveBaseKit |
| 100 | 102 | - CNLiveBaseTools |
| 101 | 103 | - CNLiveCommonCategory |
| ... | ... | @@ -481,6 +483,7 @@ SPEC REPOS: |
| 481 | 483 | - CNLiveUserManagement |
| 482 | 484 | https://mirrors.tuna.tsinghua.edu.cn/git/CocoaPods/Specs.git: |
| 483 | 485 | - AFNetworking |
| 486 | + - AlipaySDK-iOS | |
| 484 | 487 | - CNLiveSDK |
| 485 | 488 | - Masonry |
| 486 | 489 | - MJExtension |
| ... | ... | @@ -508,6 +511,7 @@ EXTERNAL SOURCES: |
| 508 | 511 | |
| 509 | 512 | SPEC CHECKSUMS: |
| 510 | 513 | AFNetworking: 3bd23d814e976cd148d7d44c3ab78017b744cd58 |
| 514 | + AlipaySDK-iOS: 5e6011fbd546e7db6b43c1f527d164ee63f3d7cb | |
| 511 | 515 | CNLiveBaseKit: 6f1fbe1b4f501f7102d0ee4864b1c21ca93b24e6 |
| 512 | 516 | CNLiveBaseTools: 063db5132ffb117628e3d79c34477a0eab630aca |
| 513 | 517 | CNLiveBeeHive: 1e105b15b6ccaad546258fcf91231563beb853d4 |
| ... | ... | @@ -516,7 +520,7 @@ SPEC CHECKSUMS: |
| 516 | 520 | CNLiveCustomUI: b5fb09a8514cf5aa07ba13e6282f3d1c8d554a46 |
| 517 | 521 | CNLiveEnvironment: 58db88eb40e856413e21feca39011f085724179d |
| 518 | 522 | CNLiveNewTripartiteManagement: 9f175b357771f36fdf00c8a5302306d129717b55 |
| 519 | - CNLivePayCostModule: 389511935296d6afb42980bf05930487e887a545 | |
| 523 | + CNLivePayCostModule: 9549046e4b2f1d054f99eedcb18be282596f2b88 | |
| 520 | 524 | CNLiveRequestBastKit: d4c9364ec9cb0cdba2ae81f792a34f9d0c7a10d9 |
| 521 | 525 | CNLiveSDK: 7a1fe52130343ddcc0b66adf40109fe916138bfa |
| 522 | 526 | CNLiveUserManagement: ce9078fdebb1692c4117e758b0e85463b45474b0 | ... | ... |