From a60d2880a6a2274e638dad7c984d438f0433b5b8 Mon Sep 17 00:00:00 2001 From: Cesar Sosa <101717495+cesar-sosa-hol@users.noreply.github.com> Date: Wed, 24 Sep 2025 19:26:33 +0200 Subject: [PATCH 1/2] update version --- example/ios/Podfile.lock | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/example/ios/Podfile.lock b/example/ios/Podfile.lock index ba535fa..a2cab6c 100644 --- a/example/ios/Podfile.lock +++ b/example/ios/Podfile.lock @@ -7,7 +7,7 @@ PODS: - hermes-engine (0.75.3): - hermes-engine/Pre-built (= 0.75.3) - hermes-engine/Pre-built (0.75.3) - - mobile-payments-sdk-react-native (2025.6.1): + - mobile-payments-sdk-react-native (2025.9.1): - DoubleConversion - glog - hermes-engine @@ -1823,7 +1823,7 @@ SPEC CHECKSUMS: fmt: 4c2741a687cc09f0634a2e2c72a838b99f1ff120 glog: 69ef571f3de08433d766d614c73a9838a06bf7eb hermes-engine: 8d2103d6c0176779aea4e25df6bb1410f9946680 - mobile-payments-sdk-react-native: 5b23ebe5ea5fe3e91f64a7fcd596e002db06fdef + mobile-payments-sdk-react-native: 0be0073bdd89d600b12420a93f2e4cd0a1cba80a MockReaderUI: d88d35cb4926b38425c2ba9fa3ef11a4aaf39f21 Permission-BluetoothPeripheral: 34ab829f159c6cf400c57bac05f5ba1b0af7a86e Permission-LocationAccuracy: 30c5421911024b28d8916db5cbd728097da54434 diff --git a/package.json b/package.json index e90ee2c..4f592ef 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "mobile-payments-sdk-react-native", - "version": "2025.6.1", + "version": "2025.9.1", "description": "Mobile Payments SDK plug-in for React Native. Enables developers to build secure in-person payment solutions.", "source": "./src/index.tsx", "main": "./lib/commonjs/index.js", From a02c4535a6e55a330d5f21a86be210a99b95c040 Mon Sep 17 00:00:00 2001 From: Cesar Sosa Date: Thu, 25 Sep 2025 14:50:15 +0200 Subject: [PATCH 2/2] upgrade SDKs --- android/build.gradle | 2 +- android/gradle.properties | 10 +++++----- android/gradle/wrapper/gradle-wrapper.properties | 4 ++-- example/android/build.gradle | 14 +++++++------- .../gradle/wrapper/gradle-wrapper.properties | 4 ++-- .../project.pbxproj | 12 ++++++------ ios/Podfile | 2 +- ios/Podfile.lock | 8 ++++---- ios/RNMobilePaymentSDK.xcodeproj/project.pbxproj | 8 ++++---- mobile-payments-sdk-react-native.podspec | 4 ++-- 10 files changed, 34 insertions(+), 34 deletions(-) diff --git a/android/build.gradle b/android/build.gradle index 614b49c..c1cf90f 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -8,7 +8,7 @@ buildscript { } dependencies { - classpath "com.android.tools.build:gradle:7.2.1" + classpath "com.android.tools.build:gradle:8.6.0" // noinspection DifferentKotlinGradleVersion classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" } diff --git a/android/gradle.properties b/android/gradle.properties index 708b935..60d8881 100644 --- a/android/gradle.properties +++ b/android/gradle.properties @@ -1,5 +1,5 @@ -MobilePaymentsSdkReactNative_kotlinVersion=1.7.0 -MobilePaymentsSdkReactNative_minSdkVersion=21 -MobilePaymentsSdkReactNative_targetSdkVersion=31 -MobilePaymentsSdkReactNative_compileSdkVersion=31 -MobilePaymentsSdkReactNative_ndkversion=21.4.7075529 +MobilePaymentsSdkReactNative_kotlinVersion=2.0.21 +MobilePaymentsSdkReactNative_minSdkVersion=28 +MobilePaymentsSdkReactNative_targetSdkVersion=35 +MobilePaymentsSdkReactNative_compileSdkVersion=35 +MobilePaymentsSdkReactNative_ndkversion=26.1.10909125 diff --git a/android/gradle/wrapper/gradle-wrapper.properties b/android/gradle/wrapper/gradle-wrapper.properties index 1af9e09..d22acce 100644 --- a/android/gradle/wrapper/gradle-wrapper.properties +++ b/android/gradle/wrapper/gradle-wrapper.properties @@ -1,7 +1,7 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-bin.zip -networkTimeout=10000 +distributionUrl=https\://services.gradle.org/distributions/gradle-8.9-bin.zip +networkTimeout=60000 validateDistributionUrl=true zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists diff --git a/example/android/build.gradle b/example/android/build.gradle index 08e5a90..13efb9a 100644 --- a/example/android/build.gradle +++ b/example/android/build.gradle @@ -1,21 +1,21 @@ buildscript { ext { buildToolsVersion = "34.0.0" - minSdkVersion = 24 - compileSdkVersion = 34 - targetSdkVersion = 34 + minSdkVersion = 28 + compileSdkVersion = 35 + targetSdkVersion = 35 ndkVersion = "26.1.10909125" - kotlinVersion = "1.9.24" - squareSdkVersion = "2.3.0" + kotlinVersion = "2.0.21" + squareSdkVersion = "2.3.1" } repositories { google() mavenCentral() } dependencies { - classpath("com.android.tools.build:gradle") + classpath("com.android.tools.build:gradle:8.6.0") classpath("com.facebook.react:react-native-gradle-plugin") - classpath("org.jetbrains.kotlin:kotlin-gradle-plugin") + classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion") } } diff --git a/example/android/gradle/wrapper/gradle-wrapper.properties b/example/android/gradle/wrapper/gradle-wrapper.properties index 6f7a6eb..18f4152 100644 --- a/example/android/gradle/wrapper/gradle-wrapper.properties +++ b/example/android/gradle/wrapper/gradle-wrapper.properties @@ -1,7 +1,7 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.8-all.zip -networkTimeout=10000 +distributionUrl=https\://services.gradle.org/distributions/gradle-8.9-all.zip +networkTimeout=60000 validateDistributionUrl=true zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists diff --git a/example/ios/MobilePaymentsSdkReactNativeExample.xcodeproj/project.pbxproj b/example/ios/MobilePaymentsSdkReactNativeExample.xcodeproj/project.pbxproj index b346bb7..6be7ce0 100644 --- a/example/ios/MobilePaymentsSdkReactNativeExample.xcodeproj/project.pbxproj +++ b/example/ios/MobilePaymentsSdkReactNativeExample.xcodeproj/project.pbxproj @@ -487,7 +487,7 @@ "$(inherited)", ); INFOPLIST_FILE = MobilePaymentsSdkReactNativeExampleTests/Info.plist; - IPHONEOS_DEPLOYMENT_TARGET = 15.0; + IPHONEOS_DEPLOYMENT_TARGET = 16.0; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/Frameworks", @@ -511,7 +511,7 @@ BUNDLE_LOADER = "$(TEST_HOST)"; COPY_PHASE_STRIP = NO; INFOPLIST_FILE = MobilePaymentsSdkReactNativeExampleTests/Info.plist; - IPHONEOS_DEPLOYMENT_TARGET = 15.0; + IPHONEOS_DEPLOYMENT_TARGET = 16.0; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/Frameworks", @@ -538,7 +538,7 @@ DEVELOPMENT_TEAM = ""; ENABLE_BITCODE = NO; INFOPLIST_FILE = MobilePaymentsSdkReactNativeExample/Info.plist; - IPHONEOS_DEPLOYMENT_TARGET = 18.0; + IPHONEOS_DEPLOYMENT_TARGET = 16.0; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/Frameworks", @@ -572,7 +572,7 @@ CURRENT_PROJECT_VERSION = 1; DEVELOPMENT_TEAM = ""; INFOPLIST_FILE = MobilePaymentsSdkReactNativeExample/Info.plist; - IPHONEOS_DEPLOYMENT_TARGET = 18.0; + IPHONEOS_DEPLOYMENT_TARGET = 16.0; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/Frameworks", @@ -647,7 +647,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 15.0; + IPHONEOS_DEPLOYMENT_TARGET = 16.0; LD = ""; LDPLUSPLUS = ""; LD_RUNPATH_SEARCH_PATHS = ( @@ -721,7 +721,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 15.0; + IPHONEOS_DEPLOYMENT_TARGET = 16.0; LD = ""; LDPLUSPLUS = ""; LD_RUNPATH_SEARCH_PATHS = ( diff --git a/ios/Podfile b/ios/Podfile index b9d66e4..d80adf4 100644 --- a/ios/Podfile +++ b/ios/Podfile @@ -7,7 +7,7 @@ target 'RNMobilePaymentSDK' do use_frameworks! # Pods for RNMobilePaymentSDK - pod "SquareMobilePaymentsSDK", "~> 2.2.3" + pod "SquareMobilePaymentsSDK", "~> 2.3.0" target 'RNMobilePaymentSDKTests' do inherit! :search_paths # Pods for testing diff --git a/ios/Podfile.lock b/ios/Podfile.lock index 4461d5f..d272b2e 100644 --- a/ios/Podfile.lock +++ b/ios/Podfile.lock @@ -1,16 +1,16 @@ PODS: - - SquareMobilePaymentsSDK (2.2.3) + - SquareMobilePaymentsSDK (2.3.0) DEPENDENCIES: - - SquareMobilePaymentsSDK (~> 2.2.3) + - SquareMobilePaymentsSDK (~> 2.3.0) SPEC REPOS: trunk: - SquareMobilePaymentsSDK SPEC CHECKSUMS: - SquareMobilePaymentsSDK: 698333088d7200bba3e7991121ba245112390651 + SquareMobilePaymentsSDK: c03d0e848b113e1b0f8232906edfeef0431b12a5 -PODFILE CHECKSUM: 1d34f9a9e2d1b600f03743f8a2b0d0666a02192d +PODFILE CHECKSUM: 7fcda1369bcf901a993048ddfbd46299640d69fd COCOAPODS: 1.16.2 diff --git a/ios/RNMobilePaymentSDK.xcodeproj/project.pbxproj b/ios/RNMobilePaymentSDK.xcodeproj/project.pbxproj index f2640fc..82ee819 100644 --- a/ios/RNMobilePaymentSDK.xcodeproj/project.pbxproj +++ b/ios/RNMobilePaymentSDK.xcodeproj/project.pbxproj @@ -517,7 +517,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 17.0; + IPHONEOS_DEPLOYMENT_TARGET = 16.0; LOCALIZATION_PREFERS_STRING_CATALOGS = YES; MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; MTL_FAST_MATH = YES; @@ -574,7 +574,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 17.0; + IPHONEOS_DEPLOYMENT_TARGET = 16.0; LOCALIZATION_PREFERS_STRING_CATALOGS = YES; MTL_ENABLE_DEBUG_INFO = NO; MTL_FAST_MATH = YES; @@ -649,7 +649,7 @@ CODE_SIGN_STYLE = Automatic; CURRENT_PROJECT_VERSION = 1; GENERATE_INFOPLIST_FILE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 17.0; + IPHONEOS_DEPLOYMENT_TARGET = 16.0; MARKETING_VERSION = 1.0; PRODUCT_BUNDLE_IDENTIFIER = com.RNMobilePaymentSDKTests; PRODUCT_NAME = "$(TARGET_NAME)"; @@ -669,7 +669,7 @@ CODE_SIGN_STYLE = Automatic; CURRENT_PROJECT_VERSION = 1; GENERATE_INFOPLIST_FILE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 17.0; + IPHONEOS_DEPLOYMENT_TARGET = 16.0; MARKETING_VERSION = 1.0; PRODUCT_BUNDLE_IDENTIFIER = com.RNMobilePaymentSDKTests; PRODUCT_NAME = "$(TARGET_NAME)"; diff --git a/mobile-payments-sdk-react-native.podspec b/mobile-payments-sdk-react-native.podspec index aa32243..eb05892 100644 --- a/mobile-payments-sdk-react-native.podspec +++ b/mobile-payments-sdk-react-native.podspec @@ -14,8 +14,8 @@ Pod::Spec.new do |s| s.platforms = { :ios => "16" } s.source = { :git => "https://github.com/square//mobile-payments-sdk-react-native.git", :tag => "#{s.version}" } - s.dependency "MockReaderUI", "~> 2.2.3" - s.dependency "SquareMobilePaymentsSDK", "~> 2.2.3" + s.dependency "MockReaderUI", "~> 2.3.0" + s.dependency "SquareMobilePaymentsSDK", "~> 2.3.0" s.source_files = "ios/**/*.{h,m,mm,swift}"