From a99a11b7232e20abd6f6f82c67a41ef2bb782c14 Mon Sep 17 00:00:00 2001 From: Andrea Bianchi Date: Mon, 21 Sep 2026 17:15:38 +0100 Subject: [PATCH 1/2] chore: update android and ios sdk versions --- android/build.gradle | 4 +- dojo-react-native-pay-sdk.podspec | 4 +- .../android/app/build.gradle | 4 +- example-new-architecture/ios/Podfile | 9 +++- example-new-architecture/ios/Podfile.lock | 42 +++++++++---------- example/android/app/build.gradle | 4 +- example/ios/Podfile | 4 +- example/ios/Podfile.lock | 40 +++++++++--------- 8 files changed, 58 insertions(+), 53 deletions(-) diff --git a/android/build.gradle b/android/build.gradle index 043a433..00e2d38 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -87,8 +87,8 @@ dependencies { //noinspection GradleDynamicVersion implementation "com.facebook.react:react-native:+" implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version" - implementation "tech.dojo.pay:uisdk:1.7.0" - implementation "tech.dojo.pay:sdk:1.8.1" + implementation "tech.dojo.pay:uisdk:1.8.0" + implementation "tech.dojo.pay:sdk:1.9.0" } if (isNewArchitectureEnabled()) { diff --git a/dojo-react-native-pay-sdk.podspec b/dojo-react-native-pay-sdk.podspec index 810916f..2ee773a 100644 --- a/dojo-react-native-pay-sdk.podspec +++ b/dojo-react-native-pay-sdk.podspec @@ -19,8 +19,8 @@ Pod::Spec.new do |s| s.dependency "React-Core" # Dojo iOS SDK Dependencies - s.dependency 'dojo-ios-sdk-drop-in-ui', '1.4.5' - s.dependency 'dojo-ios-sdk', '1.4.3' + s.dependency 'dojo-ios-sdk-drop-in-ui', '1.4.6' + s.dependency 'dojo-ios-sdk', '1.4.5' if ENV['RCT_NEW_ARCH_ENABLED'] != '1' then s.compiler_flags = '-fmodules -fcxx-modules' # Enable C++ compiler for modules in old architecture diff --git a/example-new-architecture/android/app/build.gradle b/example-new-architecture/android/app/build.gradle index 85f7eb7..0a02415 100644 --- a/example-new-architecture/android/app/build.gradle +++ b/example-new-architecture/android/app/build.gradle @@ -111,8 +111,8 @@ dependencies { // The version of react-native is set by the React Native Gradle Plugin implementation("com.facebook.react:react-android") - implementation("tech.dojo.pay:uisdk:1.6.1") - implementation("tech.dojo.pay:sdk:1.7.2") + implementation("tech.dojo.pay:uisdk:1.8.0") + implementation("tech.dojo.pay:sdk:1.9.0") if (hermesEnabled.toBoolean()) { implementation("com.facebook.react:hermes-android") diff --git a/example-new-architecture/ios/Podfile b/example-new-architecture/ios/Podfile index 1cd1668..4c24cfa 100644 --- a/example-new-architecture/ios/Podfile +++ b/example-new-architecture/ios/Podfile @@ -5,8 +5,8 @@ require Pod::Executable.execute_command('node', ['-p', {paths: [process.argv[1]]}, )', __dir__]).strip -pod 'dojo-ios-sdk', :git => 'git@github.com:Dojo-Engineering/dojo-ios-sdk.git', :tag => '1.4.3' -pod 'dojo-ios-sdk-drop-in-ui', :git => 'git@github.com:dojo-engineering/dojo-ios-sdk-drop-in-ui.git', :tag => '1.4.5' +pod 'dojo-ios-sdk', :git => 'https://github.com/dojo-engineering/dojo-ios-sdk.git', :tag => '1.4.5' +pod 'dojo-ios-sdk-drop-in-ui', :git => 'https://github.com/dojo-engineering/dojo-ios-sdk-drop-in-ui.git', :tag => '1.4.6' use_frameworks! :linkage => :static use_modular_headers! @@ -46,5 +46,10 @@ target 'DojoPaySdkExample' do :mac_catalyst_enabled => false, # :ccache_enabled => true ) + installer.pods_project.targets.each do |target| + target.build_configurations.each do |config| + config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '15.1' + end + end end end diff --git a/example-new-architecture/ios/Podfile.lock b/example-new-architecture/ios/Podfile.lock index 09b7c22..7f3cc14 100644 --- a/example-new-architecture/ios/Podfile.lock +++ b/example-new-architecture/ios/Podfile.lock @@ -1,11 +1,11 @@ PODS: - boost (1.84.0) - - dojo-ios-sdk (1.4.3) - - dojo-ios-sdk-drop-in-ui (1.4.5): - - dojo-ios-sdk (= 1.4.3) - - dojo-react-native-pay-sdk (0.17.0): - - dojo-ios-sdk (= 1.4.3) - - dojo-ios-sdk-drop-in-ui (= 1.4.5) + - dojo-ios-sdk (1.4.5) + - dojo-ios-sdk-drop-in-ui (1.4.6): + - dojo-ios-sdk (= 1.4.5) + - dojo-react-native-pay-sdk (0.17.4): + - dojo-ios-sdk (= 1.4.5) + - dojo-ios-sdk-drop-in-ui (= 1.4.6) - DoubleConversion - glog - hermes-engine @@ -1674,8 +1674,8 @@ PODS: DEPENDENCIES: - boost (from `../node_modules/react-native/third-party-podspecs/boost.podspec`) - - "dojo-ios-sdk (from `git@github.com:Dojo-Engineering/dojo-ios-sdk.git`, tag `1.4.3`)" - - "dojo-ios-sdk-drop-in-ui (from `git@github.com:dojo-engineering/dojo-ios-sdk-drop-in-ui.git`, tag `1.4.5`)" + - dojo-ios-sdk (from `https://github.com/dojo-engineering/dojo-ios-sdk.git`, tag `1.4.5`) + - dojo-ios-sdk-drop-in-ui (from `https://github.com/dojo-engineering/dojo-ios-sdk-drop-in-ui.git`, tag `1.4.6`) - dojo-react-native-pay-sdk (from `../..`) - DoubleConversion (from `../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec`) - FBLazyVector (from `../node_modules/react-native/Libraries/FBLazyVector`) @@ -1754,11 +1754,11 @@ EXTERNAL SOURCES: boost: :podspec: "../node_modules/react-native/third-party-podspecs/boost.podspec" dojo-ios-sdk: - :git: "git@github.com:Dojo-Engineering/dojo-ios-sdk.git" - :tag: 1.4.3 - dojo-ios-sdk-drop-in-ui: - :git: "git@github.com:dojo-engineering/dojo-ios-sdk-drop-in-ui.git" + :git: https://github.com/dojo-engineering/dojo-ios-sdk.git :tag: 1.4.5 + dojo-ios-sdk-drop-in-ui: + :git: https://github.com/dojo-engineering/dojo-ios-sdk-drop-in-ui.git + :tag: 1.4.6 dojo-react-native-pay-sdk: :path: "../.." DoubleConversion: @@ -1897,17 +1897,17 @@ EXTERNAL SOURCES: CHECKOUT OPTIONS: dojo-ios-sdk: - :git: "git@github.com:Dojo-Engineering/dojo-ios-sdk.git" - :tag: 1.4.3 - dojo-ios-sdk-drop-in-ui: - :git: "git@github.com:dojo-engineering/dojo-ios-sdk-drop-in-ui.git" + :git: https://github.com/dojo-engineering/dojo-ios-sdk.git :tag: 1.4.5 + dojo-ios-sdk-drop-in-ui: + :git: https://github.com/dojo-engineering/dojo-ios-sdk-drop-in-ui.git + :tag: 1.4.6 SPEC CHECKSUMS: boost: 1dca942403ed9342f98334bf4c3621f011aa7946 - dojo-ios-sdk: cc855ff5b4e0edc6c6bffc97e830e6bccc2b2a0e - dojo-ios-sdk-drop-in-ui: d9d8678ca3cd8a075f9c4eef8159728905bae052 - dojo-react-native-pay-sdk: c9f54cbc7c52b4807fd497048bb8778bcd972dab + dojo-ios-sdk: 1e67c18b802f13f2bd10e087169bb9579627c60c + dojo-ios-sdk-drop-in-ui: fc0a3770862ebafb8faf157d6adbfac7acba4a49 + dojo-react-native-pay-sdk: ff1ccef3ff74ffd1ba3d506a0ff62922ddc2e26b DoubleConversion: f16ae600a246532c4020132d54af21d0ddb2a385 FBLazyVector: bc70dcb22ad30ce734a7cce7210791dc737e230f fmt: 10c6e61f4be25dc963c36bd73fc7b1705fe975be @@ -1976,6 +1976,6 @@ SPEC CHECKSUMS: SocketRocket: d4aabe649be1e368d1318fdf28a022d714d65748 Yoga: 513b871d622689bd53b51481bbcfb6b8f1a3de5b -PODFILE CHECKSUM: c9321ee6aeb2a3974da6a48a5223bf83e7226e7d +PODFILE CHECKSUM: 2740dd1c2a4628dfbb31c4b0009c5e6d7b590b17 -COCOAPODS: 1.15.2 +COCOAPODS: 1.17.0 diff --git a/example/android/app/build.gradle b/example/android/app/build.gradle index 0e84712..2a2f4f4 100644 --- a/example/android/app/build.gradle +++ b/example/android/app/build.gradle @@ -165,8 +165,8 @@ dependencies { implementation("androidx.swiperefreshlayout:swiperefreshlayout:1.1.0") - implementation("tech.dojo.pay:uisdk:1.6.1") - implementation("tech.dojo.pay:sdk:1.7.2") + implementation("tech.dojo.pay:uisdk:1.8.0") + implementation("tech.dojo.pay:sdk:1.9.0") debugImplementation("com.facebook.flipper:flipper:${FLIPPER_VERSION}") debugImplementation("com.facebook.flipper:flipper-network-plugin:${FLIPPER_VERSION}") { diff --git a/example/ios/Podfile b/example/ios/Podfile index eb3a946..ccb7d6a 100644 --- a/example/ios/Podfile +++ b/example/ios/Podfile @@ -1,8 +1,8 @@ require_relative '../node_modules/react-native/scripts/react_native_pods' require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules' -pod 'dojo-ios-sdk', :git => 'git@github.com:Dojo-Engineering/dojo-ios-sdk.git', :tag => '1.4.3' -pod 'dojo-ios-sdk-drop-in-ui', :git => 'git@github.com:dojo-engineering/dojo-ios-sdk-drop-in-ui.git', :tag => '1.4.5' +pod 'dojo-ios-sdk', :git => 'https://github.com/dojo-engineering/dojo-ios-sdk.git', :tag => '1.4.5' +pod 'dojo-ios-sdk-drop-in-ui', :git => 'https://github.com/dojo-engineering/dojo-ios-sdk-drop-in-ui.git', :tag => '1.4.6' platform :ios, min_ios_version_supported prepare_react_native_project! diff --git a/example/ios/Podfile.lock b/example/ios/Podfile.lock index 1bab3b4..51846d0 100644 --- a/example/ios/Podfile.lock +++ b/example/ios/Podfile.lock @@ -1,11 +1,11 @@ PODS: - boost (1.76.0) - - dojo-ios-sdk (1.4.3) - - dojo-ios-sdk-drop-in-ui (1.4.5): - - dojo-ios-sdk (= 1.4.3) - - dojo-react-native-pay-sdk (0.17.0): - - dojo-ios-sdk (= 1.4.3) - - dojo-ios-sdk-drop-in-ui (= 1.4.5) + - dojo-ios-sdk (1.4.5) + - dojo-ios-sdk-drop-in-ui (1.4.6): + - dojo-ios-sdk (= 1.4.5) + - dojo-react-native-pay-sdk (0.17.4): + - dojo-ios-sdk (= 1.4.5) + - dojo-ios-sdk-drop-in-ui (= 1.4.6) - RCT-Folly (= 2021.07.22.00) - React-Core - DoubleConversion (1.1.6) @@ -403,8 +403,8 @@ PODS: DEPENDENCIES: - boost (from `../node_modules/react-native/third-party-podspecs/boost.podspec`) - - "dojo-ios-sdk (from `git@github.com:Dojo-Engineering/dojo-ios-sdk.git`, tag `1.4.3`)" - - "dojo-ios-sdk-drop-in-ui (from `git@github.com:dojo-engineering/dojo-ios-sdk-drop-in-ui.git`, tag `1.4.5`)" + - "dojo-ios-sdk (from `https://github.com/dojo-engineering/dojo-ios-sdk.git`, tag `1.4.5`)" + - "dojo-ios-sdk-drop-in-ui (from `https://github.com/dojo-engineering/dojo-ios-sdk-drop-in-ui.git`, tag `1.4.6`)" - dojo-react-native-pay-sdk (from `../..`) - DoubleConversion (from `../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec`) - FBLazyVector (from `../node_modules/react-native/Libraries/FBLazyVector`) @@ -457,11 +457,11 @@ EXTERNAL SOURCES: boost: :podspec: "../node_modules/react-native/third-party-podspecs/boost.podspec" dojo-ios-sdk: - :git: "git@github.com:Dojo-Engineering/dojo-ios-sdk.git" - :tag: 1.4.3 - dojo-ios-sdk-drop-in-ui: - :git: "git@github.com:dojo-engineering/dojo-ios-sdk-drop-in-ui.git" + :git: "https://github.com/dojo-engineering/dojo-ios-sdk.git" :tag: 1.4.5 + dojo-ios-sdk-drop-in-ui: + :git: "https://github.com/dojo-engineering/dojo-ios-sdk-drop-in-ui.git" + :tag: 1.4.6 dojo-react-native-pay-sdk: :path: "../.." DoubleConversion: @@ -545,17 +545,17 @@ EXTERNAL SOURCES: CHECKOUT OPTIONS: dojo-ios-sdk: - :git: "git@github.com:Dojo-Engineering/dojo-ios-sdk.git" - :tag: 1.4.3 - dojo-ios-sdk-drop-in-ui: - :git: "git@github.com:dojo-engineering/dojo-ios-sdk-drop-in-ui.git" + :git: "https://github.com/dojo-engineering/dojo-ios-sdk.git" :tag: 1.4.5 + dojo-ios-sdk-drop-in-ui: + :git: "https://github.com/dojo-engineering/dojo-ios-sdk-drop-in-ui.git" + :tag: 1.4.6 SPEC CHECKSUMS: boost: 57d2868c099736d80fcd648bf211b4431e51a558 - dojo-ios-sdk: cc855ff5b4e0edc6c6bffc97e830e6bccc2b2a0e - dojo-ios-sdk-drop-in-ui: d9d8678ca3cd8a075f9c4eef8159728905bae052 - dojo-react-native-pay-sdk: 4863bf7a945bc8400adb3335966b6c9191a1f4d6 + dojo-ios-sdk: 1e67c18b802f13f2bd10e087169bb9579627c60c + dojo-ios-sdk-drop-in-ui: fc0a3770862ebafb8faf157d6adbfac7acba4a49 + dojo-react-native-pay-sdk: ff1ccef3ff74ffd1ba3d506a0ff62922ddc2e26b DoubleConversion: 5189b271737e1565bdce30deb4a08d647e3f5f54 FBLazyVector: c511d4cd0210f416cb5c289bd5ae6b36d909b048 FBReactNativeSpec: a911fb22def57aef1d74215e8b6b8761d25c1c54 @@ -598,6 +598,6 @@ SPEC CHECKSUMS: RNVectorIcons: 42c2c63b4d6e909a2b2497017e03ea04034b6722 Yoga: f7decafdc5e8c125e6fa0da38a687e35238420fa -PODFILE CHECKSUM: 1e0e199ba267ddbfc44453578f981aafdc83c175 +PODFILE CHECKSUM: ad1137b2a4fdfccf0712a880036adb32c9e8442a COCOAPODS: 1.16.2 From 86368beaa80fa4af38b76067e77b603e74500920 Mon Sep 17 00:00:00 2001 From: Andrea Bianchi Date: Tue, 22 Sep 2026 10:04:24 +0100 Subject: [PATCH 2/2] fix: conditionally bump IPHONEOS_DEPLOYMENT_TARGET in Podfile --- example-new-architecture/ios/Podfile | 5 ++++- example-new-architecture/ios/Podfile.lock | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/example-new-architecture/ios/Podfile b/example-new-architecture/ios/Podfile index 4c24cfa..24f0add 100644 --- a/example-new-architecture/ios/Podfile +++ b/example-new-architecture/ios/Podfile @@ -48,7 +48,10 @@ target 'DojoPaySdkExample' do ) installer.pods_project.targets.each do |target| target.build_configurations.each do |config| - config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '15.1' + current_target = config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] + if current_target && Gem::Version.new(current_target) < Gem::Version.new('15.1') + config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '15.1' + end end end end diff --git a/example-new-architecture/ios/Podfile.lock b/example-new-architecture/ios/Podfile.lock index 7f3cc14..23850c7 100644 --- a/example-new-architecture/ios/Podfile.lock +++ b/example-new-architecture/ios/Podfile.lock @@ -1976,6 +1976,6 @@ SPEC CHECKSUMS: SocketRocket: d4aabe649be1e368d1318fdf28a022d714d65748 Yoga: 513b871d622689bd53b51481bbcfb6b8f1a3de5b -PODFILE CHECKSUM: 2740dd1c2a4628dfbb31c4b0009c5e6d7b590b17 +PODFILE CHECKSUM: 9e08d1b6bf5ca980dabe8527780da7bf087aad87 COCOAPODS: 1.17.0