diff --git a/android/build.gradle b/android/build.gradle index 456bbc48..dd5744cf 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -28,7 +28,7 @@ def getExtOrIntegerDefault(name) { return rootProject.ext.has(name) ? rootProject.ext.get(name) : (project.properties['StripeTerminalReactNative_' + name]).toInteger() } -def terminalAndroidSdkVersion = '3.6.0' +def terminalAndroidSdkVersion = '3.7.0' def reactNativeSdkVersion = getVersionFromNpm() android { diff --git a/dev-app/ios/Podfile.lock b/dev-app/ios/Podfile.lock index 6a76bfca..0950b25f 100644 --- a/dev-app/ios/Podfile.lock +++ b/dev-app/ios/Podfile.lock @@ -440,8 +440,8 @@ PODS: - SocketRocket (0.6.1) - stripe-terminal-react-native (0.0.1-beta.19): - React-Core - - StripeTerminal (~> 3.6.0) - - StripeTerminal (3.6.0) + - StripeTerminal (~> 3.7.0) + - StripeTerminal (3.7.0) - Yoga (1.14.0) DEPENDENCIES: @@ -640,8 +640,8 @@ SPEC CHECKSUMS: RNGestureHandler: 32a01c29ecc9bb0b5bf7bc0a33547f61b4dc2741 RNScreens: 3c2d122f5e08c192e254c510b212306da97d2581 SocketRocket: f32cd54efbe0f095c4d7594881e52619cfe80b17 - stripe-terminal-react-native: 57c8addbeaf62a19953057e54321ac4d2c878b2a - StripeTerminal: d480f58ed3a170695a92954a0f64e97383983a26 + stripe-terminal-react-native: 6ef5eac07c17e9a07da2b40e9a653f21465baa80 + StripeTerminal: 7188b9f8bb3f3c9f0ad5f18217f26ccb07001988 Yoga: 4c3aa327e4a6a23eeacd71f61c81df1bcdf677d5 PODFILE CHECKSUM: 8b6a9ec02d405ae261b816f227c75d2138b656d5 diff --git a/e2e/in-person-refund.e2e.js b/e2e/in-person-refund.e2e.js index bc1f2d4c..aaeb5cb1 100644 --- a/e2e/in-person-refund.e2e.js +++ b/e2e/in-person-refund.e2e.js @@ -1,6 +1,13 @@ /* eslint-env detox/detox, jest */ -const { collectInteracRefund, createInteracPayment } = require('./utils'); +const { + navigateTo, + connectReader, + checkIfConnected, + collectInteracRefund, + changeDiscoveryMethod, + createInteracPayment, +} = require('./utils'); jest.retryTimes(3); @@ -16,6 +23,13 @@ describe('In-Person Refund', () => { await device.sendToHome(); }); + it('Connect and disconnect', async () => { + await changeDiscoveryMethod('Bluetooth Scan'); + await navigateTo('Discover Readers'); + await connectReader(); + await checkIfConnected(); + }); + it('Collect and Refund CA card payment via bt reader', async () => { // android cannot currently refund via the simulator if (device.getPlatform() === 'android') { diff --git a/stripe-terminal-react-native.podspec b/stripe-terminal-react-native.podspec index 9bf57442..8741086a 100644 --- a/stripe-terminal-react-native.podspec +++ b/stripe-terminal-react-native.podspec @@ -16,5 +16,5 @@ Pod::Spec.new do |s| s.source_files = 'ios/**/*.{h,m,mm,swift}' s.dependency 'React-Core' - s.dependency 'StripeTerminal', '~> 3.6.0' + s.dependency 'StripeTerminal', '~> 3.7.0' end