diff --git a/android/build.gradle b/android/build.gradle index bb08f12..e8e41ef 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -9,7 +9,7 @@ buildscript { } dependencies { - classpath 'com.android.tools.build:gradle:7.3.0' + classpath 'com.android.tools.build:gradle:7.3.1' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" } } @@ -28,12 +28,12 @@ android { compileSdkVersion 31 compileOptions { - sourceCompatibility JavaVersion.VERSION_1_8 - targetCompatibility JavaVersion.VERSION_1_8 + sourceCompatibility JavaVersion.VERSION_11 + targetCompatibility JavaVersion.VERSION_11 } kotlinOptions { - jvmTarget = '1.8' + jvmTarget = '11' } sourceSets { @@ -47,7 +47,7 @@ android { } dependencies { - implementation 'com.alipay.sdk:alipaysdk-android:15.8.15' + implementation 'com.alipay.sdk:alipaysdk-android:15.8.17' implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.4' implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.6.4' diff --git a/ios/AlipaySDK/NoUtdid/AlipaySDK.framework/AlipaySDK b/ios/AlipaySDK/NoUtdid/AlipaySDK.framework/AlipaySDK new file mode 100644 index 0000000..9115692 Binary files /dev/null and b/ios/AlipaySDK/NoUtdid/AlipaySDK.framework/AlipaySDK differ diff --git a/ios/AlipaySDK/NoUtdid/AlipaySDK.xcframework/ios-arm64/AlipaySDK.framework/AlipaySDK-inside-Info.plist b/ios/AlipaySDK/NoUtdid/AlipaySDK.framework/AlipaySDK-inside-Info.plist similarity index 100% rename from ios/AlipaySDK/NoUtdid/AlipaySDK.xcframework/ios-arm64/AlipaySDK.framework/AlipaySDK-inside-Info.plist rename to ios/AlipaySDK/NoUtdid/AlipaySDK.framework/AlipaySDK-inside-Info.plist diff --git a/ios/AlipaySDK/NoUtdid/AlipaySDK.xcframework/ios-arm64/AlipaySDK.framework/Headers/AFServiceCenter.h b/ios/AlipaySDK/NoUtdid/AlipaySDK.framework/Headers/AFServiceCenter.h similarity index 100% rename from ios/AlipaySDK/NoUtdid/AlipaySDK.xcframework/ios-arm64/AlipaySDK.framework/Headers/AFServiceCenter.h rename to ios/AlipaySDK/NoUtdid/AlipaySDK.framework/Headers/AFServiceCenter.h diff --git a/ios/AlipaySDK/NoUtdid/AlipaySDK.xcframework/ios-arm64/AlipaySDK.framework/Headers/AFServiceResponse.h b/ios/AlipaySDK/NoUtdid/AlipaySDK.framework/Headers/AFServiceResponse.h similarity index 100% rename from ios/AlipaySDK/NoUtdid/AlipaySDK.xcframework/ios-arm64/AlipaySDK.framework/Headers/AFServiceResponse.h rename to ios/AlipaySDK/NoUtdid/AlipaySDK.framework/Headers/AFServiceResponse.h diff --git a/ios/AlipaySDK/NoUtdid/AlipaySDK.xcframework/ios-arm64/AlipaySDK.framework/Headers/APayAuthInfo.h b/ios/AlipaySDK/NoUtdid/AlipaySDK.framework/Headers/APayAuthInfo.h similarity index 100% rename from ios/AlipaySDK/NoUtdid/AlipaySDK.xcframework/ios-arm64/AlipaySDK.framework/Headers/APayAuthInfo.h rename to ios/AlipaySDK/NoUtdid/AlipaySDK.framework/Headers/APayAuthInfo.h diff --git a/ios/AlipaySDK/NoUtdid/AlipaySDK.xcframework/ios-arm64/AlipaySDK.framework/Headers/AlipaySDK.h b/ios/AlipaySDK/NoUtdid/AlipaySDK.framework/Headers/AlipaySDK.h similarity index 99% rename from ios/AlipaySDK/NoUtdid/AlipaySDK.xcframework/ios-arm64/AlipaySDK.framework/Headers/AlipaySDK.h rename to ios/AlipaySDK/NoUtdid/AlipaySDK.framework/Headers/AlipaySDK.h index b97115c..c04d726 100644 --- a/ios/AlipaySDK/NoUtdid/AlipaySDK.xcframework/ios-arm64/AlipaySDK.framework/Headers/AlipaySDK.h +++ b/ios/AlipaySDK/NoUtdid/AlipaySDK.framework/Headers/AlipaySDK.h @@ -9,7 +9,7 @@ //////////////////////////////////////////////////////// ///////////////// 支付宝标准版本支付SDK /////////////////// -///////// version:15.8.15 modify:2023.06.10/////////// +///////// version:15.8.16 modify:2023.08.02/////////// //////////////////////////////////////////////////////// #import diff --git a/ios/AlipaySDK/NoUtdid/AlipaySDK.framework/Headers/AlipaySDKModule.h b/ios/AlipaySDK/NoUtdid/AlipaySDK.framework/Headers/AlipaySDKModule.h new file mode 100644 index 0000000..00183b9 --- /dev/null +++ b/ios/AlipaySDK/NoUtdid/AlipaySDK.framework/Headers/AlipaySDKModule.h @@ -0,0 +1,17 @@ +// +// AlipaySDKModule.h +// AlipaySDK +// +// Created by mingsheng on 2023/11/14. +// Copyright © 2023 Alipay. All rights reserved. +// + +#ifndef AlipaySDKModule_h +#define AlipaySDKModule_h + +#import "AlipaySDK.h" +#import "APayAuthInfo.h" +#import "AFServiceCenter.h" +#import "AFServiceResponse.h" + +#endif /* AlipaySDKModule_h */ diff --git a/ios/AlipaySDK/NoUtdid/AlipaySDK.framework/Modules/module.modulemap b/ios/AlipaySDK/NoUtdid/AlipaySDK.framework/Modules/module.modulemap new file mode 100644 index 0000000..a7db362 --- /dev/null +++ b/ios/AlipaySDK/NoUtdid/AlipaySDK.framework/Modules/module.modulemap @@ -0,0 +1,14 @@ +// +// AlipaySDK.modulemap +// AlipaySDK +// +// Created by mingsheng on 2023/11/14. +// Copyright © 2023 Alipay. All rights reserved. +// + +framework module AlipaySDK { + umbrella header "AlipaySDKModule.h" + + export * + module * { export * } +} diff --git a/ios/AlipaySDK/NoUtdid/AlipaySDK.xcframework/Info.plist b/ios/AlipaySDK/NoUtdid/AlipaySDK.xcframework/Info.plist deleted file mode 100644 index 951d33b..0000000 --- a/ios/AlipaySDK/NoUtdid/AlipaySDK.xcframework/Info.plist +++ /dev/null @@ -1,40 +0,0 @@ - - - - - AvailableLibraries - - - LibraryIdentifier - ios-arm64 - LibraryPath - AlipaySDK.framework - SupportedArchitectures - - arm64 - - SupportedPlatform - ios - - - LibraryIdentifier - ios-arm64_x86_64-simulator - LibraryPath - AlipaySDK.framework - SupportedArchitectures - - arm64 - x86_64 - - SupportedPlatform - ios - SupportedPlatformVariant - simulator - - - CFBundlePackageType - XFWK - XCFrameworkFormatVersion - 1.0 - - diff --git a/ios/AlipaySDK/NoUtdid/AlipaySDK.xcframework/ios-arm64/AlipaySDK.framework/AlipaySDK b/ios/AlipaySDK/NoUtdid/AlipaySDK.xcframework/ios-arm64/AlipaySDK.framework/AlipaySDK deleted file mode 100644 index baa8eef..0000000 Binary files a/ios/AlipaySDK/NoUtdid/AlipaySDK.xcframework/ios-arm64/AlipaySDK.framework/AlipaySDK and /dev/null differ diff --git a/ios/AlipaySDK/NoUtdid/AlipaySDK.xcframework/ios-arm64/AlipaySDK.framework/AlipaySDK.bundle/alipay_msp_back@2x.png b/ios/AlipaySDK/NoUtdid/AlipaySDK.xcframework/ios-arm64/AlipaySDK.framework/AlipaySDK.bundle/alipay_msp_back@2x.png deleted file mode 100644 index 4a55816..0000000 Binary files a/ios/AlipaySDK/NoUtdid/AlipaySDK.xcframework/ios-arm64/AlipaySDK.framework/AlipaySDK.bundle/alipay_msp_back@2x.png and /dev/null differ diff --git a/ios/AlipaySDK/NoUtdid/AlipaySDK.xcframework/ios-arm64/AlipaySDK.framework/AlipaySDK.bundle/alipay_msp_refresh@2x.png b/ios/AlipaySDK/NoUtdid/AlipaySDK.xcframework/ios-arm64/AlipaySDK.framework/AlipaySDK.bundle/alipay_msp_refresh@2x.png deleted file mode 100644 index 767d84c..0000000 Binary files a/ios/AlipaySDK/NoUtdid/AlipaySDK.xcframework/ios-arm64/AlipaySDK.framework/AlipaySDK.bundle/alipay_msp_refresh@2x.png and /dev/null differ diff --git a/ios/AlipaySDK/NoUtdid/AlipaySDK.xcframework/ios-arm64/AlipaySDK.framework/AlipaySDK.bundle/bar@2x.png b/ios/AlipaySDK/NoUtdid/AlipaySDK.xcframework/ios-arm64/AlipaySDK.framework/AlipaySDK.bundle/bar@2x.png deleted file mode 100644 index 9f5fa56..0000000 Binary files a/ios/AlipaySDK/NoUtdid/AlipaySDK.xcframework/ios-arm64/AlipaySDK.framework/AlipaySDK.bundle/bar@2x.png and /dev/null differ diff --git a/ios/AlipaySDK/NoUtdid/AlipaySDK.xcframework/ios-arm64/AlipaySDK.framework/AlipaySDK.bundle/bridge.js b/ios/AlipaySDK/NoUtdid/AlipaySDK.xcframework/ios-arm64/AlipaySDK.framework/AlipaySDK.bundle/bridge.js deleted file mode 100644 index 0d37a94..0000000 --- a/ios/AlipaySDK/NoUtdid/AlipaySDK.xcframework/ios-arm64/AlipaySDK.framework/AlipaySDK.bundle/bridge.js +++ /dev/null @@ -1 +0,0 @@ -!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 - - - - files - - AlipaySDK-inside-Info.plist - - 1eNodgoJjexIXNkgnNN0zvMoQWI= - - AlipaySDK.bundle/alipay_msp_back@2x.png - - 9QmweA7IyncTPWZIOx5ECL2ne4o= - - AlipaySDK.bundle/alipay_msp_refresh@2x.png - - ivQn6LWpOB8BoUbNdxsIvfbJbuM= - - AlipaySDK.bundle/bar@2x.png - - ENmQmLXuSOxBy844XKkdTedcv2Y= - - AlipaySDK.bundle/bridge.js - - sgZ31kacqvJAHbN7Ywt45Mglc6o= - - AlipaySDK.bundle/refresh@2x.png - - MrXCB0ZUwnx4+zfw1X2jzlNdDc4= - - AlipaySDK.bundle/refresh_click@2x.png - - Q5O/60AWCbG5LfvVC3+guPjpeFs= - - AlipaySDK.bundle/shutdown@2x.png - - Z3Jf5aw1lVPaKemSw8qXPabBLcw= - - AlipaySDK.bundle/shutdown_click@2x.png - - v8pstv1HbmoW3gdlKZzSqn31WHY= - - Headers/AFServiceCenter.h - - AQaJpNuFjISlEnxg4oc++V6HKDs= - - Headers/AFServiceResponse.h - - kmXpMRX3EHJQ2GcKHGTF42sh5W0= - - Headers/APayAuthInfo.h - - gJOMjyPrvesSF0hKcHM3CVMNDJQ= - - Headers/AlipaySDK.h - - BbpP+p4DlW3qaPyCpBlVfTQCIg8= - - Info.plist - - 8zhFy4JJEZW3WMNlkPg+bXYE9Gc= - - en.lproj/InfoPlist.strings - - hash - - zmV6UqBSo6r1NOz798vd5O4zTBA= - - optional - - - - files2 - - AlipaySDK-inside-Info.plist - - hash - - 1eNodgoJjexIXNkgnNN0zvMoQWI= - - hash2 - - BrDPBL2W2wSe1mgUv7agJTpxXb/lKF3XOJfP0w2hoNc= - - - AlipaySDK.bundle/alipay_msp_back@2x.png - - hash - - 9QmweA7IyncTPWZIOx5ECL2ne4o= - - hash2 - - pqv6sMiIl+QnblEyN3FQCDRwbxFEJpY5Roe80rSkaA4= - - - AlipaySDK.bundle/alipay_msp_refresh@2x.png - - hash - - ivQn6LWpOB8BoUbNdxsIvfbJbuM= - - hash2 - - eSIZGIUsqcDz03r9ISTu2jNwTz0msn0tSSEOTq8KYz0= - - - AlipaySDK.bundle/bar@2x.png - - hash - - ENmQmLXuSOxBy844XKkdTedcv2Y= - - hash2 - - 38AV6Lw9+K+g+t7MHjtEKIJarVILLcTXm0o58ki9C3Q= - - - AlipaySDK.bundle/bridge.js - - hash - - sgZ31kacqvJAHbN7Ywt45Mglc6o= - - hash2 - - 5Sf9BPwyQ3bHoIdJYsGubF6CsgDuqngeWVkh3Ggm5Rc= - - - AlipaySDK.bundle/refresh@2x.png - - hash - - MrXCB0ZUwnx4+zfw1X2jzlNdDc4= - - hash2 - - mR8Iqbh2To/+bYNWFk0IbpoorNfzg31HgUB8v89EphQ= - - - AlipaySDK.bundle/refresh_click@2x.png - - hash - - Q5O/60AWCbG5LfvVC3+guPjpeFs= - - hash2 - - qkSv6KIv4z3l+TmK/G5Gms3oYZripYuLCK2rB2rmyhY= - - - AlipaySDK.bundle/shutdown@2x.png - - hash - - Z3Jf5aw1lVPaKemSw8qXPabBLcw= - - hash2 - - mWjeqq55Ym3S0vhMp13qIXpvbIkaeheRy9CnDbpcqhQ= - - - AlipaySDK.bundle/shutdown_click@2x.png - - hash - - v8pstv1HbmoW3gdlKZzSqn31WHY= - - hash2 - - dE2ndHqk8MuNrgTt2yHONxfP38nq2HUgB4t2jKRl8SI= - - - Headers/AFServiceCenter.h - - hash - - AQaJpNuFjISlEnxg4oc++V6HKDs= - - hash2 - - 6LTn9ui9fej1+gAIMRA0A8tYete1h+5FyCKvdDubNTY= - - - Headers/AFServiceResponse.h - - hash - - kmXpMRX3EHJQ2GcKHGTF42sh5W0= - - hash2 - - Asp+7KYSwYGi9WCHRSYYiTb3SBRlkdfI0FVEIYrI3gg= - - - Headers/APayAuthInfo.h - - hash - - gJOMjyPrvesSF0hKcHM3CVMNDJQ= - - hash2 - - YdDScCCH/DS/7WgISrrhBnFB06W7eY1H1UQNRFImM2w= - - - Headers/AlipaySDK.h - - hash - - BbpP+p4DlW3qaPyCpBlVfTQCIg8= - - hash2 - - 631iVMeudWHb2NmaIOc8FW4RN69MjMzd+SMNDbNWhX0= - - - en.lproj/InfoPlist.strings - - hash - - zmV6UqBSo6r1NOz798vd5O4zTBA= - - hash2 - - kmHsztpgjvF0JW5f3HdMHm49z1M0CcG8OT1JDQHHE/E= - - optional - - - - rules - - ^.* - - ^.*\.lproj/ - - optional - - weight - 1000 - - ^.*\.lproj/locversion.plist$ - - omit - - weight - 1100 - - ^Base\.lproj/ - - weight - 1010 - - ^version.plist$ - - - rules2 - - .*\.dSYM($|/) - - weight - 11 - - ^(.*/)?\.DS_Store$ - - omit - - weight - 2000 - - ^.* - - ^.*\.lproj/ - - optional - - weight - 1000 - - ^.*\.lproj/locversion.plist$ - - omit - - weight - 1100 - - ^Base\.lproj/ - - weight - 1010 - - ^Info\.plist$ - - omit - - weight - 20 - - ^PkgInfo$ - - omit - - weight - 20 - - ^embedded\.provisionprofile$ - - weight - 20 - - ^version\.plist$ - - weight - 20 - - - - diff --git a/ios/AlipaySDK/NoUtdid/AlipaySDK.xcframework/ios-arm64_x86_64-simulator/AlipaySDK.framework/_CodeSignature/CodeSignature b/ios/AlipaySDK/NoUtdid/AlipaySDK.xcframework/ios-arm64_x86_64-simulator/AlipaySDK.framework/_CodeSignature/CodeSignature deleted file mode 100644 index e69de29..0000000 diff --git a/ios/AlipaySDK/Standard/AlipaySDK.framework/AlipaySDK b/ios/AlipaySDK/Standard/AlipaySDK.framework/AlipaySDK new file mode 100644 index 0000000..77af67f Binary files /dev/null and b/ios/AlipaySDK/Standard/AlipaySDK.framework/AlipaySDK differ diff --git a/ios/AlipaySDK/NoUtdid/AlipaySDK.xcframework/ios-arm64_x86_64-simulator/AlipaySDK.framework/AlipaySDK-inside-Info.plist b/ios/AlipaySDK/Standard/AlipaySDK.framework/AlipaySDK-inside-Info.plist similarity index 100% rename from ios/AlipaySDK/NoUtdid/AlipaySDK.xcframework/ios-arm64_x86_64-simulator/AlipaySDK.framework/AlipaySDK-inside-Info.plist rename to ios/AlipaySDK/Standard/AlipaySDK.framework/AlipaySDK-inside-Info.plist diff --git a/ios/AlipaySDK/NoUtdid/AlipaySDK.xcframework/ios-arm64_x86_64-simulator/AlipaySDK.framework/Headers/AFServiceCenter.h b/ios/AlipaySDK/Standard/AlipaySDK.framework/Headers/AFServiceCenter.h similarity index 100% rename from ios/AlipaySDK/NoUtdid/AlipaySDK.xcframework/ios-arm64_x86_64-simulator/AlipaySDK.framework/Headers/AFServiceCenter.h rename to ios/AlipaySDK/Standard/AlipaySDK.framework/Headers/AFServiceCenter.h diff --git a/ios/AlipaySDK/NoUtdid/AlipaySDK.xcframework/ios-arm64_x86_64-simulator/AlipaySDK.framework/Headers/AFServiceResponse.h b/ios/AlipaySDK/Standard/AlipaySDK.framework/Headers/AFServiceResponse.h similarity index 100% rename from ios/AlipaySDK/NoUtdid/AlipaySDK.xcframework/ios-arm64_x86_64-simulator/AlipaySDK.framework/Headers/AFServiceResponse.h rename to ios/AlipaySDK/Standard/AlipaySDK.framework/Headers/AFServiceResponse.h diff --git a/ios/AlipaySDK/NoUtdid/AlipaySDK.xcframework/ios-arm64_x86_64-simulator/AlipaySDK.framework/Headers/APayAuthInfo.h b/ios/AlipaySDK/Standard/AlipaySDK.framework/Headers/APayAuthInfo.h similarity index 100% rename from ios/AlipaySDK/NoUtdid/AlipaySDK.xcframework/ios-arm64_x86_64-simulator/AlipaySDK.framework/Headers/APayAuthInfo.h rename to ios/AlipaySDK/Standard/AlipaySDK.framework/Headers/APayAuthInfo.h diff --git a/ios/AlipaySDK/NoUtdid/AlipaySDK.xcframework/ios-arm64_x86_64-simulator/AlipaySDK.framework/Headers/AlipaySDK.h b/ios/AlipaySDK/Standard/AlipaySDK.framework/Headers/AlipaySDK.h similarity index 99% rename from ios/AlipaySDK/NoUtdid/AlipaySDK.xcframework/ios-arm64_x86_64-simulator/AlipaySDK.framework/Headers/AlipaySDK.h rename to ios/AlipaySDK/Standard/AlipaySDK.framework/Headers/AlipaySDK.h index b97115c..c04d726 100644 --- a/ios/AlipaySDK/NoUtdid/AlipaySDK.xcframework/ios-arm64_x86_64-simulator/AlipaySDK.framework/Headers/AlipaySDK.h +++ b/ios/AlipaySDK/Standard/AlipaySDK.framework/Headers/AlipaySDK.h @@ -9,7 +9,7 @@ //////////////////////////////////////////////////////// ///////////////// 支付宝标准版本支付SDK /////////////////// -///////// version:15.8.15 modify:2023.06.10/////////// +///////// version:15.8.16 modify:2023.08.02/////////// //////////////////////////////////////////////////////// #import diff --git a/ios/AlipaySDK/Standard/AlipaySDK.framework/Headers/AlipaySDKModule.h b/ios/AlipaySDK/Standard/AlipaySDK.framework/Headers/AlipaySDKModule.h new file mode 100644 index 0000000..00183b9 --- /dev/null +++ b/ios/AlipaySDK/Standard/AlipaySDK.framework/Headers/AlipaySDKModule.h @@ -0,0 +1,17 @@ +// +// AlipaySDKModule.h +// AlipaySDK +// +// Created by mingsheng on 2023/11/14. +// Copyright © 2023 Alipay. All rights reserved. +// + +#ifndef AlipaySDKModule_h +#define AlipaySDKModule_h + +#import "AlipaySDK.h" +#import "APayAuthInfo.h" +#import "AFServiceCenter.h" +#import "AFServiceResponse.h" + +#endif /* AlipaySDKModule_h */ diff --git a/ios/AlipaySDK/Standard/AlipaySDK.framework/Modules/module.modulemap b/ios/AlipaySDK/Standard/AlipaySDK.framework/Modules/module.modulemap new file mode 100644 index 0000000..a7db362 --- /dev/null +++ b/ios/AlipaySDK/Standard/AlipaySDK.framework/Modules/module.modulemap @@ -0,0 +1,14 @@ +// +// AlipaySDK.modulemap +// AlipaySDK +// +// Created by mingsheng on 2023/11/14. +// Copyright © 2023 Alipay. All rights reserved. +// + +framework module AlipaySDK { + umbrella header "AlipaySDKModule.h" + + export * + module * { export * } +} diff --git a/ios/AlipaySDK/Standard/AlipaySDK.xcframework/Info.plist b/ios/AlipaySDK/Standard/AlipaySDK.xcframework/Info.plist deleted file mode 100644 index 90e2704..0000000 --- a/ios/AlipaySDK/Standard/AlipaySDK.xcframework/Info.plist +++ /dev/null @@ -1,40 +0,0 @@ - - - - - AvailableLibraries - - - LibraryIdentifier - ios-arm64_x86_64-simulator - LibraryPath - AlipaySDK.framework - SupportedArchitectures - - arm64 - x86_64 - - SupportedPlatform - ios - SupportedPlatformVariant - simulator - - - LibraryIdentifier - ios-arm64 - LibraryPath - AlipaySDK.framework - SupportedArchitectures - - arm64 - - SupportedPlatform - ios - - - CFBundlePackageType - XFWK - XCFrameworkFormatVersion - 1.0 - - diff --git a/ios/AlipaySDK/Standard/AlipaySDK.xcframework/ios-arm64/AlipaySDK.framework/AlipaySDK b/ios/AlipaySDK/Standard/AlipaySDK.xcframework/ios-arm64/AlipaySDK.framework/AlipaySDK deleted file mode 100644 index d57ae63..0000000 Binary files a/ios/AlipaySDK/Standard/AlipaySDK.xcframework/ios-arm64/AlipaySDK.framework/AlipaySDK and /dev/null differ diff --git a/ios/AlipaySDK/Standard/AlipaySDK.xcframework/ios-arm64/AlipaySDK.framework/AlipaySDK-inside-Info.plist b/ios/AlipaySDK/Standard/AlipaySDK.xcframework/ios-arm64/AlipaySDK.framework/AlipaySDK-inside-Info.plist deleted file mode 100644 index 8d88a41..0000000 Binary files a/ios/AlipaySDK/Standard/AlipaySDK.xcframework/ios-arm64/AlipaySDK.framework/AlipaySDK-inside-Info.plist and /dev/null differ diff --git a/ios/AlipaySDK/Standard/AlipaySDK.xcframework/ios-arm64/AlipaySDK.framework/AlipaySDK.bundle/alipay_msp_back@2x.png b/ios/AlipaySDK/Standard/AlipaySDK.xcframework/ios-arm64/AlipaySDK.framework/AlipaySDK.bundle/alipay_msp_back@2x.png deleted file mode 100644 index 4a55816..0000000 Binary files a/ios/AlipaySDK/Standard/AlipaySDK.xcframework/ios-arm64/AlipaySDK.framework/AlipaySDK.bundle/alipay_msp_back@2x.png and /dev/null differ diff --git a/ios/AlipaySDK/Standard/AlipaySDK.xcframework/ios-arm64/AlipaySDK.framework/AlipaySDK.bundle/alipay_msp_refresh@2x.png b/ios/AlipaySDK/Standard/AlipaySDK.xcframework/ios-arm64/AlipaySDK.framework/AlipaySDK.bundle/alipay_msp_refresh@2x.png deleted file mode 100644 index 767d84c..0000000 Binary files a/ios/AlipaySDK/Standard/AlipaySDK.xcframework/ios-arm64/AlipaySDK.framework/AlipaySDK.bundle/alipay_msp_refresh@2x.png and /dev/null differ diff --git a/ios/AlipaySDK/Standard/AlipaySDK.xcframework/ios-arm64/AlipaySDK.framework/AlipaySDK.bundle/bar@2x.png b/ios/AlipaySDK/Standard/AlipaySDK.xcframework/ios-arm64/AlipaySDK.framework/AlipaySDK.bundle/bar@2x.png deleted file mode 100644 index 9f5fa56..0000000 Binary files a/ios/AlipaySDK/Standard/AlipaySDK.xcframework/ios-arm64/AlipaySDK.framework/AlipaySDK.bundle/bar@2x.png and /dev/null differ diff --git a/ios/AlipaySDK/Standard/AlipaySDK.xcframework/ios-arm64/AlipaySDK.framework/AlipaySDK.bundle/bridge.js b/ios/AlipaySDK/Standard/AlipaySDK.xcframework/ios-arm64/AlipaySDK.framework/AlipaySDK.bundle/bridge.js deleted file mode 100644 index 0d37a94..0000000 --- a/ios/AlipaySDK/Standard/AlipaySDK.xcframework/ios-arm64/AlipaySDK.framework/AlipaySDK.bundle/bridge.js +++ /dev/null @@ -1 +0,0 @@ -!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 - -@class AFServiceResponse; - -/** - SDK支持的业务枚举值 - - - AFServiceEInvoice: 电子发票 - - AFServiceAuth: 账户授权 - */ -typedef NS_ENUM(NSUInteger, AFService) { - AFServiceEInvoice, - AFServiceAuth, - AFServiceDeduct -}; - - -extern NSString * const kAFServiceOptionBizParams; // 钱包服务调用入参 -extern NSString * const kAFServiceOptionCallbackScheme; // 业务回跳当前app的scheme -extern NSString * const kAFServiceOptionNotUseLanding; // 不使用支付宝提示下载页做补偿,为true时需要商户自己处理用户未安装支付宝的情况 -extern NSString * const kAFServiceBizParamsKeyUrl; // 独立签约入参url - -typedef void(^AFServiceResultBlock)(AFServiceResponse *response); - -@interface AFServiceCenter : NSObject - -/** - 调用钱包服务 - - @param service 业务service, 见AFService枚举值 - @param params 参数Dictionary, key值详情参见kAFServiceOptionBizParams、kAFServiceOptionCallbackScheme注释 - @param block 业务结果回调的block, block参数是AFServiceResponse类型,业务结果通过result属性获取,如果未用户未安装支付宝并且kAFServiceOptionNotUseLanding未设置为true,会使用H5landing页做补偿,这种情况下不会有block回调结果。 - */ -+ (void)callService:(AFService)service - withParams:(NSDictionary *)params - andCompletion:(AFServiceResultBlock)block; - - -/** - 处理钱包服务回跳APP的URL - - @param url 回跳URL - @param block 业务结果回掉的block,详情见调用接口入参上的block。注意此接口上的block只有在跳转钱包后,当前APP被系统回收的情况下回跳才生效 - */ -+ (void)handleResponseURL:(NSURL *)url - withCompletion:(AFServiceResultBlock)block; - -@end diff --git a/ios/AlipaySDK/Standard/AlipaySDK.xcframework/ios-arm64/AlipaySDK.framework/Headers/AFServiceResponse.h b/ios/AlipaySDK/Standard/AlipaySDK.xcframework/ios-arm64/AlipaySDK.framework/Headers/AFServiceResponse.h deleted file mode 100644 index 801fbf8..0000000 --- a/ios/AlipaySDK/Standard/AlipaySDK.xcframework/ios-arm64/AlipaySDK.framework/Headers/AFServiceResponse.h +++ /dev/null @@ -1,43 +0,0 @@ -// -// AFServiceResponse.h -// AFServiceSDK -// -// Created by jiajunchen on 08/01/2018. -// Copyright © 2018 antfin. All rights reserved. -// - -#import - -/** - 钱包服务调用结果状态吗 - - - AFResSuccess: 默认值,业务调用成功,结果数据参见result字段 - - AFResInvalidService: service枚举值错误 - - AFResInvalidURL: 钱包回跳URL错误 - - AFResRepeatCall: 业务重复调用(3s内) - - AFResOpenURLErr: 跳转失败 - */ -typedef NS_ENUM(NSUInteger, AFResCode) { - AFResSuccess = 0, - AFResInvalidService = 100, - AFResInvalidURL, - AFResRepeatCall, - AFResOpenURLErr, -}; - - -@interface AFServiceResponse : NSObject - - -/** - 业务调用状态吗 - */ -@property (nonatomic, assign) AFResCode responseCode; - - -/** - 业务结果Dictionary, 内容请参考具体业务方接入文档 - */ -@property (readonly) NSDictionary *result; - -@end diff --git a/ios/AlipaySDK/Standard/AlipaySDK.xcframework/ios-arm64/AlipaySDK.framework/Headers/APayAuthInfo.h b/ios/AlipaySDK/Standard/AlipaySDK.xcframework/ios-arm64/AlipaySDK.framework/Headers/APayAuthInfo.h deleted file mode 100644 index afab31e..0000000 --- a/ios/AlipaySDK/Standard/AlipaySDK.xcframework/ios-arm64/AlipaySDK.framework/Headers/APayAuthInfo.h +++ /dev/null @@ -1,33 +0,0 @@ -// -// APAuthInfo.h -// APAuth -// -// Created by antfin on 17-10-24. -// Copyright (c) 2017年 AntFin. All rights reserved. -// - -#import - -@interface APayAuthInfo : NSObject - -@property(nonatomic, copy)NSString *appID; -@property(nonatomic, copy)NSString *pid; -@property(nonatomic, copy)NSString *redirectUri; - -/** - * 初始化AuthInfo - * - * @param appIDStr 应用ID - * @param pidStr 商户ID 可不填 - * @param uriStr 授权的应用回调地址 比如:alidemo://auth - * - * @return authinfo实例 - */ -- (id)initWithAppID:(NSString *)appIDStr - pid:(NSString *)pidStr - redirectUri:(NSString *)uriStr; - -- (NSString *)description; -- (NSString *)wapDescription; - -@end diff --git a/ios/AlipaySDK/Standard/AlipaySDK.xcframework/ios-arm64/AlipaySDK.framework/Headers/AlipaySDK.h b/ios/AlipaySDK/Standard/AlipaySDK.xcframework/ios-arm64/AlipaySDK.framework/Headers/AlipaySDK.h deleted file mode 100644 index b97115c..0000000 --- a/ios/AlipaySDK/Standard/AlipaySDK.xcframework/ios-arm64/AlipaySDK.framework/Headers/AlipaySDK.h +++ /dev/null @@ -1,246 +0,0 @@ -// -// AlipaySDK.h -// AlipaySDK -// -// Created by antfin on 17-10-24. -// Copyright (c) 2017年 AntFin. All rights reserved. -// - - -//////////////////////////////////////////////////////// -///////////////// 支付宝标准版本支付SDK /////////////////// -///////// version:15.8.15 modify:2023.06.10/////////// -//////////////////////////////////////////////////////// - -#import -#import "APayAuthInfo.h" -#import "AFServiceCenter.h" -#import "AFServiceResponse.h" - -typedef void(^CompletionBlock)(NSDictionary *resultDic); - -typedef enum { - ALIPAY_TIDFACTOR_IMEI, - ALIPAY_TIDFACTOR_IMSI, - ALIPAY_TIDFACTOR_TID, - ALIPAY_TIDFACTOR_CLIENTKEY, - ALIPAY_TIDFACTOR_VIMEI, - ALIPAY_TIDFACTOR_VIMSI, - ALIPAY_TIDFACTOR_CLIENTID, - ALIPAY_TIDFACTOR_APDID, - ALIPAY_TIDFACTOR_MAX -} AlipayTidFactor; - -@interface AlipaySDK : NSObject - -/** - * 创建支付单例服务 - * - * @return 返回单例对象 - */ -+ (AlipaySDK *)defaultService; - -/** - * 用于设置SDK使用的window,如果没有自行创建window无需设置此接口 - */ -@property (nonatomic, weak) UIWindow *targetWindow; - -////////////////////////////////////////////////////////////////////////////////////////////// -//////////////////////////支付宝支付相关接口///////////////////////////////////////////////////// -////////////////////////////////////////////////////////////////////////////////////////////// - -/** - * 支付接口 - * - * @param orderStr 支付订单信息字串 - * @param schemeStr 调用支付的app注册在info.plist中的scheme - * @param completionBlock 支付结果回调Block,用于wap支付结果回调,跳转支付宝支付时只有当processOrderWithPaymentResult接口的completionBlock为nil时会使用这个bolock - */ -- (void)payOrder:(NSString *)orderStr - fromScheme:(NSString *)schemeStr - callback:(CompletionBlock)completionBlock; - -/** - * 支付接口 v2 - * - * @param orderStr 支付订单信息字串 - * @param dynamicLaunch 是否使用动态配置策略跳转支付宝支付 - * @param schemeStr 调用支付的app注册在info.plist中的scheme - * @param completionBlock 支付结果回调Block,用于wap支付结果回调 - 跳转支付宝支付时只有当processOrderWithPaymentResult接口的completionBlock为nil时会使用这个bolock - */ -- (void)payOrder:(NSString *)orderStr - dynamicLaunch:(BOOL)dynamicLaunch - fromScheme:(NSString *)schemeStr - callback:(CompletionBlock)completionBlock; - -/** - * 处理支付宝app支付后跳回商户app携带的支付结果Url - * - * @param resultUrl 支付宝app返回的支付结果url - * @param completionBlock 支付结果回调 为nil时默认使用支付接口的completionBlock - */ -- (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。 - * - * @return 交易token,若无则为空。 - */ -- (NSString *)fetchTradeToken; - - -////////////////////////////////////////////////////////////////////////////////////////////// -//////////////////////////支付宝授权 2.0 相关接口//////////////////////////////////////////////// -////////////////////////////////////////////////////////////////////////////////////////////// - -/** - * 快登授权2.0 - * - * @param infoStr 授权请求信息字串 - * @param schemeStr 调用授权的app注册在info.plist中的scheme - * @param completionBlock 授权结果回调,需要调用方在appDelegate中调用processAuth_V2Result:standbyCallback:方法获取授权结果 - * 若在授权过程中,调用方应用被系统终止则此block无效(此时会调用'processAuth_V2Result:standbyCallback:'传入的standbyCallback) - */ -- (void)auth_V2WithInfo:(NSString *)infoStr - fromScheme:(NSString *)schemeStr - callback:(CompletionBlock)completionBlock; - -/** - * 处理支付宝app授权后跳回商户app携带的授权结果Url - * - * @param resultUrl 支付宝app返回的授权结果url - * @param completionBlock 授权结果回调,用于处理跳转支付宝授权过程中商户APP被系统终止的情况 - */ -- (void)processAuth_V2Result:(NSURL *)resultUrl - standbyCallback:(CompletionBlock)completionBlock; - - -////////////////////////////////////////////////////////////////////////////////////////////// -//////////////////////////支付宝授权 1.0 相关接口//////////////////////////////////////////////// -////////////////////////////////////////////////////////////////////////////////////////////// - - -/** - * 快登授权 - * @param authInfo 授权相关信息 - * @param completionBlock 授权结果回调,若在授权过程中,调用方应用被系统终止,则此block无效, - 需要调用方在appDelegate中调用processAuth_V2Result:standbyCallback:方法获取授权结果 - */ -- (void)authWithInfo:(APayAuthInfo *)authInfo - callback:(CompletionBlock)completionBlock; - -/** - * 处理支付宝app授权后跳回商户app携带的授权结果Url - * - * @param resultUrl 支付宝app返回的授权结果url - * @param completionBlock 授权结果回调 - */ -- (void)processAuthResult:(NSURL *)resultUrl - standbyCallback:(CompletionBlock)completionBlock; - - -////////////////////////////////////////////////////////////////////////////////////////////// -//////////////////////////支付宝 h5 支付转 native 支付接口//////////////////////////////////////// -////////////////////////////////////////////////////////////////////////////////////////////// -/** - * 从h5链接中获取订单串并支付接口(自版本15.4.0起,推荐使用该接口) - * - * @param urlStr 拦截的 url string - * - * @return YES为成功获取订单信息并发起支付流程;NO为无法获取订单信息,输入url是普通url - */ -- (BOOL)payInterceptorWithUrl:(NSString *)urlStr - fromScheme:(NSString *)schemeStr - callback:(CompletionBlock)completionBlock; - - - -////////////////////////////////////////////////////////////////////////////////////////////// -//////////////////////////支付宝 tid 相关信息获取接口///////////////////////////////////////////// -////////////////////////////////////////////////////////////////////////////////////////////// - -/** - * 获取当前tid相关信息 - * - * @return tid相关信息 - */ -- (NSString*)queryTidFactor:(AlipayTidFactor)factor; - - - -////////////////////////////////////////////////////////////////////////////////////////////// -//////////////////////////支付宝支付环境相关信息接口////////////////////////////////////////////// -////////////////////////////////////////////////////////////////////////////////////////////// - -/** - * 是否已经使用过 - * - * @return YES为已经使用过,NO反之 - */ -- (BOOL)isLogined; - -/** - * 获取当前版本号 - * - * @return 当前版本字符串 - */ -- (NSString *)currentVersion; - -/** - * 測試所用,realse包无效 - * - * @param url 测试环境 - */ -- (void)setUrl:(NSString *)url; - -/** - * 支付前主动更新本地配置 - * - * @param block 更新请求结果回调 - */ -- (void)fetchSdkConfigWithBlock:(void(^)(BOOL success))block; - - -typedef void(^APLogBlock)(NSString *log); - -/** -* 接收AlipaySDK的log信息 -* -* @param logBlock 打印log的回调block -*/ -+ (void)startLogWithBlock:(APLogBlock)logBlock; - -/** -* 停止输出log,会释放logBlock -* -* -*/ -+ (void)stopLog; - -@end diff --git a/ios/AlipaySDK/Standard/AlipaySDK.xcframework/ios-arm64_x86_64-simulator/AlipaySDK.framework/AlipaySDK b/ios/AlipaySDK/Standard/AlipaySDK.xcframework/ios-arm64_x86_64-simulator/AlipaySDK.framework/AlipaySDK deleted file mode 100644 index dedc525..0000000 Binary files a/ios/AlipaySDK/Standard/AlipaySDK.xcframework/ios-arm64_x86_64-simulator/AlipaySDK.framework/AlipaySDK and /dev/null differ diff --git a/ios/AlipaySDK/Standard/AlipaySDK.xcframework/ios-arm64_x86_64-simulator/AlipaySDK.framework/AlipaySDK-inside-Info.plist b/ios/AlipaySDK/Standard/AlipaySDK.xcframework/ios-arm64_x86_64-simulator/AlipaySDK.framework/AlipaySDK-inside-Info.plist deleted file mode 100644 index 8d88a41..0000000 Binary files a/ios/AlipaySDK/Standard/AlipaySDK.xcframework/ios-arm64_x86_64-simulator/AlipaySDK.framework/AlipaySDK-inside-Info.plist and /dev/null differ diff --git a/ios/AlipaySDK/Standard/AlipaySDK.xcframework/ios-arm64_x86_64-simulator/AlipaySDK.framework/AlipaySDK.bundle/alipay_msp_back@2x.png b/ios/AlipaySDK/Standard/AlipaySDK.xcframework/ios-arm64_x86_64-simulator/AlipaySDK.framework/AlipaySDK.bundle/alipay_msp_back@2x.png deleted file mode 100644 index 4a55816..0000000 Binary files a/ios/AlipaySDK/Standard/AlipaySDK.xcframework/ios-arm64_x86_64-simulator/AlipaySDK.framework/AlipaySDK.bundle/alipay_msp_back@2x.png and /dev/null differ diff --git a/ios/AlipaySDK/Standard/AlipaySDK.xcframework/ios-arm64_x86_64-simulator/AlipaySDK.framework/AlipaySDK.bundle/alipay_msp_refresh@2x.png b/ios/AlipaySDK/Standard/AlipaySDK.xcframework/ios-arm64_x86_64-simulator/AlipaySDK.framework/AlipaySDK.bundle/alipay_msp_refresh@2x.png deleted file mode 100644 index 767d84c..0000000 Binary files a/ios/AlipaySDK/Standard/AlipaySDK.xcframework/ios-arm64_x86_64-simulator/AlipaySDK.framework/AlipaySDK.bundle/alipay_msp_refresh@2x.png and /dev/null differ diff --git a/ios/AlipaySDK/Standard/AlipaySDK.xcframework/ios-arm64_x86_64-simulator/AlipaySDK.framework/AlipaySDK.bundle/bar@2x.png b/ios/AlipaySDK/Standard/AlipaySDK.xcframework/ios-arm64_x86_64-simulator/AlipaySDK.framework/AlipaySDK.bundle/bar@2x.png deleted file mode 100644 index 9f5fa56..0000000 Binary files a/ios/AlipaySDK/Standard/AlipaySDK.xcframework/ios-arm64_x86_64-simulator/AlipaySDK.framework/AlipaySDK.bundle/bar@2x.png and /dev/null differ diff --git a/ios/AlipaySDK/Standard/AlipaySDK.xcframework/ios-arm64_x86_64-simulator/AlipaySDK.framework/AlipaySDK.bundle/bridge.js b/ios/AlipaySDK/Standard/AlipaySDK.xcframework/ios-arm64_x86_64-simulator/AlipaySDK.framework/AlipaySDK.bundle/bridge.js deleted file mode 100644 index 0d37a94..0000000 --- a/ios/AlipaySDK/Standard/AlipaySDK.xcframework/ios-arm64_x86_64-simulator/AlipaySDK.framework/AlipaySDK.bundle/bridge.js +++ /dev/null @@ -1 +0,0 @@ -!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 - -@class AFServiceResponse; - -/** - SDK支持的业务枚举值 - - - AFServiceEInvoice: 电子发票 - - AFServiceAuth: 账户授权 - */ -typedef NS_ENUM(NSUInteger, AFService) { - AFServiceEInvoice, - AFServiceAuth, - AFServiceDeduct -}; - - -extern NSString * const kAFServiceOptionBizParams; // 钱包服务调用入参 -extern NSString * const kAFServiceOptionCallbackScheme; // 业务回跳当前app的scheme -extern NSString * const kAFServiceOptionNotUseLanding; // 不使用支付宝提示下载页做补偿,为true时需要商户自己处理用户未安装支付宝的情况 -extern NSString * const kAFServiceBizParamsKeyUrl; // 独立签约入参url - -typedef void(^AFServiceResultBlock)(AFServiceResponse *response); - -@interface AFServiceCenter : NSObject - -/** - 调用钱包服务 - - @param service 业务service, 见AFService枚举值 - @param params 参数Dictionary, key值详情参见kAFServiceOptionBizParams、kAFServiceOptionCallbackScheme注释 - @param block 业务结果回调的block, block参数是AFServiceResponse类型,业务结果通过result属性获取,如果未用户未安装支付宝并且kAFServiceOptionNotUseLanding未设置为true,会使用H5landing页做补偿,这种情况下不会有block回调结果。 - */ -+ (void)callService:(AFService)service - withParams:(NSDictionary *)params - andCompletion:(AFServiceResultBlock)block; - - -/** - 处理钱包服务回跳APP的URL - - @param url 回跳URL - @param block 业务结果回掉的block,详情见调用接口入参上的block。注意此接口上的block只有在跳转钱包后,当前APP被系统回收的情况下回跳才生效 - */ -+ (void)handleResponseURL:(NSURL *)url - withCompletion:(AFServiceResultBlock)block; - -@end diff --git a/ios/AlipaySDK/Standard/AlipaySDK.xcframework/ios-arm64_x86_64-simulator/AlipaySDK.framework/Headers/AFServiceResponse.h b/ios/AlipaySDK/Standard/AlipaySDK.xcframework/ios-arm64_x86_64-simulator/AlipaySDK.framework/Headers/AFServiceResponse.h deleted file mode 100644 index 801fbf8..0000000 --- a/ios/AlipaySDK/Standard/AlipaySDK.xcframework/ios-arm64_x86_64-simulator/AlipaySDK.framework/Headers/AFServiceResponse.h +++ /dev/null @@ -1,43 +0,0 @@ -// -// AFServiceResponse.h -// AFServiceSDK -// -// Created by jiajunchen on 08/01/2018. -// Copyright © 2018 antfin. All rights reserved. -// - -#import - -/** - 钱包服务调用结果状态吗 - - - AFResSuccess: 默认值,业务调用成功,结果数据参见result字段 - - AFResInvalidService: service枚举值错误 - - AFResInvalidURL: 钱包回跳URL错误 - - AFResRepeatCall: 业务重复调用(3s内) - - AFResOpenURLErr: 跳转失败 - */ -typedef NS_ENUM(NSUInteger, AFResCode) { - AFResSuccess = 0, - AFResInvalidService = 100, - AFResInvalidURL, - AFResRepeatCall, - AFResOpenURLErr, -}; - - -@interface AFServiceResponse : NSObject - - -/** - 业务调用状态吗 - */ -@property (nonatomic, assign) AFResCode responseCode; - - -/** - 业务结果Dictionary, 内容请参考具体业务方接入文档 - */ -@property (readonly) NSDictionary *result; - -@end diff --git a/ios/AlipaySDK/Standard/AlipaySDK.xcframework/ios-arm64_x86_64-simulator/AlipaySDK.framework/Headers/APayAuthInfo.h b/ios/AlipaySDK/Standard/AlipaySDK.xcframework/ios-arm64_x86_64-simulator/AlipaySDK.framework/Headers/APayAuthInfo.h deleted file mode 100644 index afab31e..0000000 --- a/ios/AlipaySDK/Standard/AlipaySDK.xcframework/ios-arm64_x86_64-simulator/AlipaySDK.framework/Headers/APayAuthInfo.h +++ /dev/null @@ -1,33 +0,0 @@ -// -// APAuthInfo.h -// APAuth -// -// Created by antfin on 17-10-24. -// Copyright (c) 2017年 AntFin. All rights reserved. -// - -#import - -@interface APayAuthInfo : NSObject - -@property(nonatomic, copy)NSString *appID; -@property(nonatomic, copy)NSString *pid; -@property(nonatomic, copy)NSString *redirectUri; - -/** - * 初始化AuthInfo - * - * @param appIDStr 应用ID - * @param pidStr 商户ID 可不填 - * @param uriStr 授权的应用回调地址 比如:alidemo://auth - * - * @return authinfo实例 - */ -- (id)initWithAppID:(NSString *)appIDStr - pid:(NSString *)pidStr - redirectUri:(NSString *)uriStr; - -- (NSString *)description; -- (NSString *)wapDescription; - -@end diff --git a/ios/AlipaySDK/Standard/AlipaySDK.xcframework/ios-arm64_x86_64-simulator/AlipaySDK.framework/Headers/AlipaySDK.h b/ios/AlipaySDK/Standard/AlipaySDK.xcframework/ios-arm64_x86_64-simulator/AlipaySDK.framework/Headers/AlipaySDK.h deleted file mode 100644 index b97115c..0000000 --- a/ios/AlipaySDK/Standard/AlipaySDK.xcframework/ios-arm64_x86_64-simulator/AlipaySDK.framework/Headers/AlipaySDK.h +++ /dev/null @@ -1,246 +0,0 @@ -// -// AlipaySDK.h -// AlipaySDK -// -// Created by antfin on 17-10-24. -// Copyright (c) 2017年 AntFin. All rights reserved. -// - - -//////////////////////////////////////////////////////// -///////////////// 支付宝标准版本支付SDK /////////////////// -///////// version:15.8.15 modify:2023.06.10/////////// -//////////////////////////////////////////////////////// - -#import -#import "APayAuthInfo.h" -#import "AFServiceCenter.h" -#import "AFServiceResponse.h" - -typedef void(^CompletionBlock)(NSDictionary *resultDic); - -typedef enum { - ALIPAY_TIDFACTOR_IMEI, - ALIPAY_TIDFACTOR_IMSI, - ALIPAY_TIDFACTOR_TID, - ALIPAY_TIDFACTOR_CLIENTKEY, - ALIPAY_TIDFACTOR_VIMEI, - ALIPAY_TIDFACTOR_VIMSI, - ALIPAY_TIDFACTOR_CLIENTID, - ALIPAY_TIDFACTOR_APDID, - ALIPAY_TIDFACTOR_MAX -} AlipayTidFactor; - -@interface AlipaySDK : NSObject - -/** - * 创建支付单例服务 - * - * @return 返回单例对象 - */ -+ (AlipaySDK *)defaultService; - -/** - * 用于设置SDK使用的window,如果没有自行创建window无需设置此接口 - */ -@property (nonatomic, weak) UIWindow *targetWindow; - -////////////////////////////////////////////////////////////////////////////////////////////// -//////////////////////////支付宝支付相关接口///////////////////////////////////////////////////// -////////////////////////////////////////////////////////////////////////////////////////////// - -/** - * 支付接口 - * - * @param orderStr 支付订单信息字串 - * @param schemeStr 调用支付的app注册在info.plist中的scheme - * @param completionBlock 支付结果回调Block,用于wap支付结果回调,跳转支付宝支付时只有当processOrderWithPaymentResult接口的completionBlock为nil时会使用这个bolock - */ -- (void)payOrder:(NSString *)orderStr - fromScheme:(NSString *)schemeStr - callback:(CompletionBlock)completionBlock; - -/** - * 支付接口 v2 - * - * @param orderStr 支付订单信息字串 - * @param dynamicLaunch 是否使用动态配置策略跳转支付宝支付 - * @param schemeStr 调用支付的app注册在info.plist中的scheme - * @param completionBlock 支付结果回调Block,用于wap支付结果回调 - 跳转支付宝支付时只有当processOrderWithPaymentResult接口的completionBlock为nil时会使用这个bolock - */ -- (void)payOrder:(NSString *)orderStr - dynamicLaunch:(BOOL)dynamicLaunch - fromScheme:(NSString *)schemeStr - callback:(CompletionBlock)completionBlock; - -/** - * 处理支付宝app支付后跳回商户app携带的支付结果Url - * - * @param resultUrl 支付宝app返回的支付结果url - * @param completionBlock 支付结果回调 为nil时默认使用支付接口的completionBlock - */ -- (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。 - * - * @return 交易token,若无则为空。 - */ -- (NSString *)fetchTradeToken; - - -////////////////////////////////////////////////////////////////////////////////////////////// -//////////////////////////支付宝授权 2.0 相关接口//////////////////////////////////////////////// -////////////////////////////////////////////////////////////////////////////////////////////// - -/** - * 快登授权2.0 - * - * @param infoStr 授权请求信息字串 - * @param schemeStr 调用授权的app注册在info.plist中的scheme - * @param completionBlock 授权结果回调,需要调用方在appDelegate中调用processAuth_V2Result:standbyCallback:方法获取授权结果 - * 若在授权过程中,调用方应用被系统终止则此block无效(此时会调用'processAuth_V2Result:standbyCallback:'传入的standbyCallback) - */ -- (void)auth_V2WithInfo:(NSString *)infoStr - fromScheme:(NSString *)schemeStr - callback:(CompletionBlock)completionBlock; - -/** - * 处理支付宝app授权后跳回商户app携带的授权结果Url - * - * @param resultUrl 支付宝app返回的授权结果url - * @param completionBlock 授权结果回调,用于处理跳转支付宝授权过程中商户APP被系统终止的情况 - */ -- (void)processAuth_V2Result:(NSURL *)resultUrl - standbyCallback:(CompletionBlock)completionBlock; - - -////////////////////////////////////////////////////////////////////////////////////////////// -//////////////////////////支付宝授权 1.0 相关接口//////////////////////////////////////////////// -////////////////////////////////////////////////////////////////////////////////////////////// - - -/** - * 快登授权 - * @param authInfo 授权相关信息 - * @param completionBlock 授权结果回调,若在授权过程中,调用方应用被系统终止,则此block无效, - 需要调用方在appDelegate中调用processAuth_V2Result:standbyCallback:方法获取授权结果 - */ -- (void)authWithInfo:(APayAuthInfo *)authInfo - callback:(CompletionBlock)completionBlock; - -/** - * 处理支付宝app授权后跳回商户app携带的授权结果Url - * - * @param resultUrl 支付宝app返回的授权结果url - * @param completionBlock 授权结果回调 - */ -- (void)processAuthResult:(NSURL *)resultUrl - standbyCallback:(CompletionBlock)completionBlock; - - -////////////////////////////////////////////////////////////////////////////////////////////// -//////////////////////////支付宝 h5 支付转 native 支付接口//////////////////////////////////////// -////////////////////////////////////////////////////////////////////////////////////////////// -/** - * 从h5链接中获取订单串并支付接口(自版本15.4.0起,推荐使用该接口) - * - * @param urlStr 拦截的 url string - * - * @return YES为成功获取订单信息并发起支付流程;NO为无法获取订单信息,输入url是普通url - */ -- (BOOL)payInterceptorWithUrl:(NSString *)urlStr - fromScheme:(NSString *)schemeStr - callback:(CompletionBlock)completionBlock; - - - -////////////////////////////////////////////////////////////////////////////////////////////// -//////////////////////////支付宝 tid 相关信息获取接口///////////////////////////////////////////// -////////////////////////////////////////////////////////////////////////////////////////////// - -/** - * 获取当前tid相关信息 - * - * @return tid相关信息 - */ -- (NSString*)queryTidFactor:(AlipayTidFactor)factor; - - - -////////////////////////////////////////////////////////////////////////////////////////////// -//////////////////////////支付宝支付环境相关信息接口////////////////////////////////////////////// -////////////////////////////////////////////////////////////////////////////////////////////// - -/** - * 是否已经使用过 - * - * @return YES为已经使用过,NO反之 - */ -- (BOOL)isLogined; - -/** - * 获取当前版本号 - * - * @return 当前版本字符串 - */ -- (NSString *)currentVersion; - -/** - * 測試所用,realse包无效 - * - * @param url 测试环境 - */ -- (void)setUrl:(NSString *)url; - -/** - * 支付前主动更新本地配置 - * - * @param block 更新请求结果回调 - */ -- (void)fetchSdkConfigWithBlock:(void(^)(BOOL success))block; - - -typedef void(^APLogBlock)(NSString *log); - -/** -* 接收AlipaySDK的log信息 -* -* @param logBlock 打印log的回调block -*/ -+ (void)startLogWithBlock:(APLogBlock)logBlock; - -/** -* 停止输出log,会释放logBlock -* -* -*/ -+ (void)stopLog; - -@end diff --git a/ios/AlipaySDK/Standard/AlipaySDK.xcframework/ios-arm64_x86_64-simulator/AlipaySDK.framework/_CodeSignature/CodeDirectory b/ios/AlipaySDK/Standard/AlipaySDK.xcframework/ios-arm64_x86_64-simulator/AlipaySDK.framework/_CodeSignature/CodeDirectory deleted file mode 100644 index b755a46..0000000 Binary files a/ios/AlipaySDK/Standard/AlipaySDK.xcframework/ios-arm64_x86_64-simulator/AlipaySDK.framework/_CodeSignature/CodeDirectory and /dev/null differ diff --git a/ios/AlipaySDK/Standard/AlipaySDK.xcframework/ios-arm64_x86_64-simulator/AlipaySDK.framework/_CodeSignature/CodeRequirements b/ios/AlipaySDK/Standard/AlipaySDK.xcframework/ios-arm64_x86_64-simulator/AlipaySDK.framework/_CodeSignature/CodeRequirements deleted file mode 100644 index dbf9d61..0000000 Binary files a/ios/AlipaySDK/Standard/AlipaySDK.xcframework/ios-arm64_x86_64-simulator/AlipaySDK.framework/_CodeSignature/CodeRequirements and /dev/null differ diff --git a/ios/AlipaySDK/Standard/AlipaySDK.xcframework/ios-arm64_x86_64-simulator/AlipaySDK.framework/_CodeSignature/CodeRequirements-1 b/ios/AlipaySDK/Standard/AlipaySDK.xcframework/ios-arm64_x86_64-simulator/AlipaySDK.framework/_CodeSignature/CodeRequirements-1 deleted file mode 100644 index d511b61..0000000 Binary files a/ios/AlipaySDK/Standard/AlipaySDK.xcframework/ios-arm64_x86_64-simulator/AlipaySDK.framework/_CodeSignature/CodeRequirements-1 and /dev/null differ diff --git a/ios/AlipaySDK/Standard/AlipaySDK.xcframework/ios-arm64_x86_64-simulator/AlipaySDK.framework/_CodeSignature/CodeResources b/ios/AlipaySDK/Standard/AlipaySDK.xcframework/ios-arm64_x86_64-simulator/AlipaySDK.framework/_CodeSignature/CodeResources deleted file mode 100644 index 7373b6e..0000000 --- a/ios/AlipaySDK/Standard/AlipaySDK.xcframework/ios-arm64_x86_64-simulator/AlipaySDK.framework/_CodeSignature/CodeResources +++ /dev/null @@ -1,319 +0,0 @@ - - - - - files - - AlipaySDK-inside-Info.plist - - 1eNodgoJjexIXNkgnNN0zvMoQWI= - - AlipaySDK.bundle/alipay_msp_back@2x.png - - 9QmweA7IyncTPWZIOx5ECL2ne4o= - - AlipaySDK.bundle/alipay_msp_refresh@2x.png - - ivQn6LWpOB8BoUbNdxsIvfbJbuM= - - AlipaySDK.bundle/bar@2x.png - - ENmQmLXuSOxBy844XKkdTedcv2Y= - - AlipaySDK.bundle/bridge.js - - sgZ31kacqvJAHbN7Ywt45Mglc6o= - - AlipaySDK.bundle/refresh@2x.png - - MrXCB0ZUwnx4+zfw1X2jzlNdDc4= - - AlipaySDK.bundle/refresh_click@2x.png - - Q5O/60AWCbG5LfvVC3+guPjpeFs= - - AlipaySDK.bundle/shutdown@2x.png - - Z3Jf5aw1lVPaKemSw8qXPabBLcw= - - AlipaySDK.bundle/shutdown_click@2x.png - - v8pstv1HbmoW3gdlKZzSqn31WHY= - - Headers/AFServiceCenter.h - - AQaJpNuFjISlEnxg4oc++V6HKDs= - - Headers/AFServiceResponse.h - - kmXpMRX3EHJQ2GcKHGTF42sh5W0= - - Headers/APayAuthInfo.h - - gJOMjyPrvesSF0hKcHM3CVMNDJQ= - - Headers/AlipaySDK.h - - BbpP+p4DlW3qaPyCpBlVfTQCIg8= - - Info.plist - - 8zhFy4JJEZW3WMNlkPg+bXYE9Gc= - - en.lproj/InfoPlist.strings - - hash - - zmV6UqBSo6r1NOz798vd5O4zTBA= - - optional - - - - files2 - - AlipaySDK-inside-Info.plist - - hash - - 1eNodgoJjexIXNkgnNN0zvMoQWI= - - hash2 - - BrDPBL2W2wSe1mgUv7agJTpxXb/lKF3XOJfP0w2hoNc= - - - AlipaySDK.bundle/alipay_msp_back@2x.png - - hash - - 9QmweA7IyncTPWZIOx5ECL2ne4o= - - hash2 - - pqv6sMiIl+QnblEyN3FQCDRwbxFEJpY5Roe80rSkaA4= - - - AlipaySDK.bundle/alipay_msp_refresh@2x.png - - hash - - ivQn6LWpOB8BoUbNdxsIvfbJbuM= - - hash2 - - eSIZGIUsqcDz03r9ISTu2jNwTz0msn0tSSEOTq8KYz0= - - - AlipaySDK.bundle/bar@2x.png - - hash - - ENmQmLXuSOxBy844XKkdTedcv2Y= - - hash2 - - 38AV6Lw9+K+g+t7MHjtEKIJarVILLcTXm0o58ki9C3Q= - - - AlipaySDK.bundle/bridge.js - - hash - - sgZ31kacqvJAHbN7Ywt45Mglc6o= - - hash2 - - 5Sf9BPwyQ3bHoIdJYsGubF6CsgDuqngeWVkh3Ggm5Rc= - - - AlipaySDK.bundle/refresh@2x.png - - hash - - MrXCB0ZUwnx4+zfw1X2jzlNdDc4= - - hash2 - - mR8Iqbh2To/+bYNWFk0IbpoorNfzg31HgUB8v89EphQ= - - - AlipaySDK.bundle/refresh_click@2x.png - - hash - - Q5O/60AWCbG5LfvVC3+guPjpeFs= - - hash2 - - qkSv6KIv4z3l+TmK/G5Gms3oYZripYuLCK2rB2rmyhY= - - - AlipaySDK.bundle/shutdown@2x.png - - hash - - Z3Jf5aw1lVPaKemSw8qXPabBLcw= - - hash2 - - mWjeqq55Ym3S0vhMp13qIXpvbIkaeheRy9CnDbpcqhQ= - - - AlipaySDK.bundle/shutdown_click@2x.png - - hash - - v8pstv1HbmoW3gdlKZzSqn31WHY= - - hash2 - - dE2ndHqk8MuNrgTt2yHONxfP38nq2HUgB4t2jKRl8SI= - - - Headers/AFServiceCenter.h - - hash - - AQaJpNuFjISlEnxg4oc++V6HKDs= - - hash2 - - 6LTn9ui9fej1+gAIMRA0A8tYete1h+5FyCKvdDubNTY= - - - Headers/AFServiceResponse.h - - hash - - kmXpMRX3EHJQ2GcKHGTF42sh5W0= - - hash2 - - Asp+7KYSwYGi9WCHRSYYiTb3SBRlkdfI0FVEIYrI3gg= - - - Headers/APayAuthInfo.h - - hash - - gJOMjyPrvesSF0hKcHM3CVMNDJQ= - - hash2 - - YdDScCCH/DS/7WgISrrhBnFB06W7eY1H1UQNRFImM2w= - - - Headers/AlipaySDK.h - - hash - - BbpP+p4DlW3qaPyCpBlVfTQCIg8= - - hash2 - - 631iVMeudWHb2NmaIOc8FW4RN69MjMzd+SMNDbNWhX0= - - - en.lproj/InfoPlist.strings - - hash - - zmV6UqBSo6r1NOz798vd5O4zTBA= - - hash2 - - kmHsztpgjvF0JW5f3HdMHm49z1M0CcG8OT1JDQHHE/E= - - optional - - - - rules - - ^.* - - ^.*\.lproj/ - - optional - - weight - 1000 - - ^.*\.lproj/locversion.plist$ - - omit - - weight - 1100 - - ^Base\.lproj/ - - weight - 1010 - - ^version.plist$ - - - rules2 - - .*\.dSYM($|/) - - weight - 11 - - ^(.*/)?\.DS_Store$ - - omit - - weight - 2000 - - ^.* - - ^.*\.lproj/ - - optional - - weight - 1000 - - ^.*\.lproj/locversion.plist$ - - omit - - weight - 1100 - - ^Base\.lproj/ - - weight - 1010 - - ^Info\.plist$ - - omit - - weight - 20 - - ^PkgInfo$ - - omit - - weight - 20 - - ^embedded\.provisionprofile$ - - weight - 20 - - ^version\.plist$ - - weight - 20 - - - - diff --git a/ios/AlipaySDK/Standard/AlipaySDK.xcframework/ios-arm64_x86_64-simulator/AlipaySDK.framework/_CodeSignature/CodeSignature b/ios/AlipaySDK/Standard/AlipaySDK.xcframework/ios-arm64_x86_64-simulator/AlipaySDK.framework/_CodeSignature/CodeSignature deleted file mode 100644 index e69de29..0000000