Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump sdk to 3.7.0 #757

Merged
merged 2 commits into from
Jul 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
8 changes: 4 additions & 4 deletions dev-app/ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down
16 changes: 15 additions & 1 deletion e2e/in-person-refund.e2e.js
Original file line number Diff line number Diff line change
@@ -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);

Expand All @@ -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') {
Expand Down
2 changes: 1 addition & 1 deletion stripe-terminal-react-native.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -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