Releases: stripe/stripe-terminal-react-native
Releases · stripe/stripe-terminal-react-native
v0.0.1-beta.23
Changelog
- Native SDKs are upgraded to 3.10.1 for Android and 3.9.1 for iOS:
- Preview: Surcharging is now available in private preview. If you are interested in joining this preview, please email stripe-terminal-betas@stripe.com.
- Preview: Added a
collectData
method to collect eligible magstripe data, such as gift cards, using a mobile reader. If you are interested in joining this preview, please email stripe-terminal-betas@stripe.com. - Preview: WeChat Pay support for smart readers is now available in private preview. If you are interested in joining this preview, please email stripe-terminal-betas@stripe.com.
- New: Support
locationId
parameter when callingdiscoverReaders
. - New: Support
setLocalMobileUxConfiguration
method to customize Tap to Pay screen. - New: Added
getNativeSdkVersion
andgetSdkVersion
methods to access native Terminal SDK and Terminal React Native versions respectively. - Fix: Standardized types returned by CollectInputs feature in both iOS and Android SDKs. Fixes #743.
- Fix: Renamed
customer
tocustomerId
forcreateSetupIntent
. Fixes #591.
What's Changed
- Modify script to allow release from non-main branch by @nazli-stripe in #760
- Support surcharging by @EricLin-BBpos in #759
- Fix issue with CollectInputs return values on iOS by @ianlin-bbpos in #748
- Wire up ability to write iOS unit tests by @bric-stripe in #761
- Fix wrong display of the "terminal.didRequestReaderDisplayMessage" by @EricLin-BBpos in #762
- beta.20 release updates by @nazli-stripe in #763
- Fix Mismatch between documentation and types file when calling createSetupIntent by @EricLin-BBpos in #766
- Upgrade example-app to RN SDK beta.20 by @EricLin-BBpos in #767
- Bump fast-xml-parser from 4.3.2 to 4.4.1 in /dev-app by @dependabot in #768
- Bump fast-xml-parser from 4.3.2 to 4.4.1 in /example-app by @dependabot in #770
- Add unit test on iOS by @ianlin-bbpos in #764
- Add missing locationId parameter in discoverReaders method by @EricLin-BBpos in #777
- Upgrade expo to 51 by @ianlin-bbpos in #769
- Bump SDKs to 3.8.0 by @ianlin-bbpos in #775
- Support CollectData feature by @EricLin-BBpos in #765
- Integrate ios local mobile terms of service accept callback by @tim-lin-bbpos in #771
- Bump fast-xml-parser from 4.3.2 to 4.4.1 by @dependabot in #774
- Add test item of updating reader software by @ianlin-bbpos in #772
- Bump rexml from 3.2.8 to 3.3.3 in /dev-app by @dependabot in #779
- Add setLocalMobileUxConfiguration. by @ianlin-bbpos in #778
- Add type field to PaymentMethod mappers by @EricLin-BBpos in #782
- append to UIBackgroundModes instead of overriding it. by @a-eid in #781
- Fix getLocation api param limit wrong value by @tim-lin-bbpos in #785
- Fix infinite loop location api by @tim-lin-bbpos in #787
- Bump ios sdk version to 3.8.3 by @tim-lin-bbpos in #800
- Bump micromatch from 4.0.4 to 4.0.8 by @dependabot in #801
- Bump micromatch from 4.0.7 to 4.0.8 in /example-app by @dependabot in #802
- Bump rexml from 3.3.3 to 3.3.6 in /dev-app by @dependabot in #794
- add aod support to example-app by @ianlin-bbpos in #792
- Update withStripeTerminal variable reference link by @tim-lin-bbpos in #797
- fix connection issue by @ianlin-bbpos in #791
- Add
getNativeSdkVersion
to get native sdk version by @tim-lin-bbpos in #790 - Expose RN SDK version by @tim-lin-bbpos in #803
- Update public docs by @nazli-stripe in #804
- Add version info in home page by @tim-lin-bbpos in #806
- Bump ios sdk to 3.9.1 by @tim-lin-bbpos in #805
- Bump android to 3.9.1 by @nazli-stripe in #808
- Bump braces from 3.0.2 to 3.0.3 in /dev-app by @dependabot in #737
- Bump android sdk to 3.9.2 by @tim-lin-bbpos in #815
- Upgrade example-app to use beta.21 by @nazli-stripe in #814
- SDK version updates by @nazli-stripe in #816
- Add timeout in discover reader in dev-app by @tim-lin-bbpos in #818
- Bump serve-static from 1.14.2 to 1.16.2 by @dependabot in #812
- Bump android sdk to 3.9.5 by @tim-lin-bbpos in #823
- Add ACCEPT_TERMS_OF_SERVICE event in StripeTerminalProvider by @tim-lin-bbpos in #828
- Fix dev-app location page not scrollable issue by @tim-lin-bbpos in #829
- By pass user cancel error in DiscoverReaderScreen page by @tim-lin-bbpos in #831
- Update README.md for Android requirements by @nazli-stripe in #832
- Bump android sdk to 3.10.0 by @tim-lin-bbpos in #833
- [QR] add support for QR fields by @henryx-stripe in #827
- Update collect input to use FormType variable by @tim-lin-bbpos in #834
- Update target android sdk to 35 by @tim-lin-bbpos in #835
- Add ios error code to skip display error when discovering by @tim-lin-bbpos in #839
- Enable toggle for local mobile discovery method by @tim-lin-bbpos in #841
- Update to M2 CI by @davidme-stripe in #845
- Update collectData response to return as a CollectDataResultType by @mindy-stripe in #849
- Sync interac_present info in CollectCardPaymentScreen in dev-app. by @tim-lin-bbpos in #850
- Beta.23 release prep by @nazli-stripe in #844
- Fix surcharge param passing in dev-app and iOS bridge by @nazli-stripe in #853
New Contributors
- @tim-lin-bbpos made their first contribution in #771
- @a-eid made their first contribution in #781
Full Changelog: v0.0.1-beta.22...v0.0.1-beta.23
v0.0.1-beta.22
Changelog
- Upgrades Terminal Android SDK to 3.9.5:
What's Changed
- Bump android sdk to 3.9.5 by @tim-lin-bbpos in #823
Full Changelog: v0.0.1-beta.21...v0.0.1-beta.22
v0.0.1-beta.21
Changelog
- Fix #807: Upgraded iOS SDK to v3.8.3, as versions v3.7.0 and lower were susceptible to a crash on iOS 18 when accepting payments with paymentIntent.amount greater than 99999 (e.g. USD charge of 999.99).
- Fix #789: Improved reader connection call refresh handling to address timeouts when initializing the SDK.
What's Changed
- Bump ios sdk version to 3.8.3 by @tim-lin-bbpos in #800
- Fix connection issue by @ianlin-bbpos in #791
Full Changelog: v0.0.1-beta.20...v0.0.1-beta.21
v0.0.1-beta.20
- Native SDKs upgraded to 3.7.0 for iOS and 3.7.1 for Android.
- Breaking: confirmPaymentIntent now accepts params object to be consistent with collectPaymentMethod
- Fix: correct unix time conversion for Android. Fixes #718
- Fix: remove incorrect required parameter for [collectInputs])(https://stripe.dev/stripe-terminal-react-native/api-reference/interfaces/StripeTerminalSdkType.html#collectInputs) on iOS. Fixes #742
- Fix: correct onDidRequestReaderInput mapping for iOS for swipeCard and tapCard enums.
- Improvement: Jetifier is disabled by default for Expo apps. Fixes #653
What's Changed
- Bump ws from 6.2.2 to 6.2.3 by @dependabot in #736
- Fix incorrect unix time conversion at android layer by @EricLin-BBpos in #731
- Support Connecting reader after registration by @ianlin-bbpos in #732
- Fix required param name for collectInputs by @nazli-stripe in #740
- Regenerate docs by @nazli-stripe in #741
- Fix dev-app cache Stripe-Account header-issue by @EricLin-BBpos in #726
- Fix reconnect popup issue by @ianlin-bbpos in #730
- ConfirmPaymentIntent methods accept param objects by @EricLin-BBpos in #734
- Disable jetifier for jackson-core by default by @ianlin-bbpos in #754
- Bump fast-loops from 1.1.3 to 1.1.4 in /example-app by @dependabot in #755
- Bump sdk to 3.7.0 by @EricLin-BBpos in #757
- Bump android 3.7.1 by @nazli-stripe in #758
- Fix wrong display of the "terminal.didRequestReaderDisplayMessage" @EricLin-BBpos in #762
Full Changelog: v0.0.1-beta.19...v0.0.1-beta.20
v0.0.1-beta.19
- Native SDKs upgrade to 3.6.0.
- New: Added a new SDK method,
supportsReadersOfType
, to allow runtime checking of device hardware compatibility for TTP devices. - New: Added support for displaying toggles with
collectInputs
. - New: Added getters for PaymentStatus, ConnectionStatus and connectedReader.
- New: Added callbacks for
onDidUpdateBatteryLevel
,onDidReportLowBatteryWarning
andonDidReportReaderEvent
. - Improvement: When there is an API error during the payment flow, the latest PaymentIntent is returned in addition to the errors. Addresses #674
- Improvement:
createPaymentIntent
method by default createscard_present
PaymentIntents ifpayment_method
is not specified.offlineBehavior
is no longer a required field. - Beta: Support for dynamic currency conversion when taking payments.
- To request access, please email stripe-terminal-betas@stripe.com
- Bug fix: Fixed a bug in PaymentMethod mapping. Fixes #697
What's Changed
- Bump SDK target to 34 by @ianlin-bbpos in #690
- Upgrade example app dependencies by @nazli-stripe in #689
- Upgrade SDK version to .18 by @nazli-stripe in #691
- Support Invalid location registration for mPOS readers. by @ianlin-bbpos in #692
- Add method of supportsReadersOfType by @ianlin-bbpos in #686
- Support toggles of collectinput by @ianlin-bbpos in #694
- Bump rexml from 3.2.6 to 3.2.8 in /dev-app by @dependabot in #699
- Fix PaymentMethod mapping by @nazli-stripe in #698
- Add support for dynamic currency conversion (beta) by @henryx-stripe in #700
- Nullify collect cancelables after confirm by @nazli-stripe in #703
- Update docs by @nazli-stripe in #704
- Support test case of declining transaction based on card brand by @ianlin-bbpos in #701
- Fixed the amount mismatch in full refund by @EricLin-BBpos in #710
- Support getting payment status by @ianlin-bbpos in #705
- Upgrade cocoapods version by @nazli-stripe in #713
- Bump to sdks 3.6.0 by @EricLin-BBpos in #715
- Support getting ConnectionStatus value from Terminal by @EricLin-BBpos in #712
- Populate pi in error by @ianlin-bbpos in #707
- Add missing Reader callbacks by @EricLin-BBpos in #706
- Support getting connectedReader from Terminal by @EricLin-BBpos in #716
- Fix PaymentScreen.tsx example in README.md by @rdupon in #717
- Minor typo when reader is disconnected caught during QA by @martinmroz-stripe in #723
- CreatePaymentIntent improvements by @EricLin-BBpos in #724
- Rename collect input types. by @ianlin-bbpos in #721
- beta.19 release prep by @nazli-stripe in #728
- Bump braces from 3.0.2 to 3.0.3 by @dependabot in #729
New Contributors
- @henryx-stripe made their first contribution in #663
- @rdupon made their first contribution in #717
- @martinmroz-stripe made their first contribution in #723
Full Changelog: v0.0.1-beta.17...v0.0.1-beta.19
v0.0.1-beta.18
- Native SDKs upgrade to 3.5.0.
- New: Added new fields to PaymentIntent, SetupIntent and Refund objects returned by the SDK.
- New: Added support for specifying a
timeout
value todiscoverReaders
function for discovery by Bluetooth scan.
What's Changed
- Bump tar from 6.2.0 to 6.2.1 in /example-app by @dependabot in #667
- Timeout for BT discovery scan by @ianlin-bbpos in #662
- [TERMINAL] Cache locations for offline mode pairing by @henryx-stripe in #663
- Add missing fields to PI object by @ianlin-bbpos in #665
- Bump to sdks 3.5.0 by @ianlin-bbpos in #671
- Complete setupIntent&refund fields by @ianlin-bbpos in #672
- Bump ejs from 3.1.8 to 3.1.10 by @dependabot in #681
- Add reconnecting popup by @ianlin-bbpos in #685
- Bump json5 from 2.2.0 to 2.2.3 by @dependabot in #688
- Bump @sideway/formula from 3.0.0 to 3.0.1 by @dependabot in #462
- Bump http-cache-semantics from 4.1.0 to 4.1.1 by @dependabot in #433
New Contributors
- @henryx-stripe made their first contribution in #663
Full Changelog: v0.0.1-beta.17...v0.0.1-beta.18
v0.0.1-beta.17
- New: Adds support for taking offline payments with smart readers.
- The offline mode feature is in private beta. To request access, please email stripe-terminal-betas@stripe.com
- New: PaymentIntent objects returned by the SDK now contains
metadata
field. - Breaking:
tsi
andtvr
fields on ReceiptDetails are displayed astransactionStatusInformation
andterminalVerificationResult
on Android. - Fix: Fixes a bug where
CardPresentDetails.network
field wasn't being displayed correctly. - Fix: Fixes plugin resolution issues for Expo.
What's Changed
- fix card present detail network issue by @ianlin-bbpos in #648
- Upgrade config-plugins by @nazli-stripe in #652
- sPOS offline mode support by @nazli-stripe in #649
- .17 prep by @nazli-stripe in #654
- Add metadata field to payment intent by @nazli-stripe in #656
- Upgrade Expo to 50 by @ianlin-bbpos in #657
Full Changelog: v0.0.1-beta.16...v0.0.1-beta.17
v0.0.1-beta.16
- Native SDKs upgraded to 3.4.0
- New: Disconnect callback now includes a disconnect reason.
- New: Added support for refunding payments by passing PaymentIntent id.
- New: Added
autoReconnectOnUnexpectedDisconnect
for Tap to Pay. - New: Added
rebootReader
support to restart the connected reader. This method is currently only available for Bluetooth and USB readers. - Beta: Added
collectInputs
support to display on-reader forms and collect information from customers.- If you are interested in joining this beta, please email stripe-terminal-betas@stripe.com
- Beta: Added support for retrieving and updating reader settings on WisePOS E and Stripe S700 by calling
getReaderSettings
andsetReaderSettings
. Accessibility settings are provided at this time, allowing text-to-speech via speakers to be turned on and off as needed.- If you are interested in joining this beta, please email stripe-terminal-betas@stripe.com
What's Changed
- Fix detox issue by @nazli-stripe in #618
- Upgrade docs for 0.15 release by @nazli-stripe in #608
- Update codeowners by @nazli-stripe in #620
- Fix jvm target compatibility issue by @ianlin-bbpos in #616
- Bump SDK to 3.3.1 & fix Bitrise test issue by @ianlin-bbpos in #622
- Bump ip from 1.1.8 to 1.1.9 in /example-app by @dependabot in #625
- Bump ip from 1.1.8 to 1.1.9 in /dev-app by @dependabot in #624
- Bump ip from 1.1.5 to 1.1.9 by @dependabot in #623
- Support Card Present Details by @ianlin-bbpos in #626
- Support Interac Refund by @ianlin-bbpos in #627
- Add rebootReader method by @ianlin-bbpos in #629
- Support reader disconnect reason by @ianlin-bbpos in #628
- Support reader settings by @ianlin-bbpos in #630
- Adds addListener and removeListeners react methods to android module by @SudoPlz in #636
- Upgrade xcode to 15 by @nazli-stripe in #640
- Disable Flipper in dev-app and example-app by @maxa-stripe in #632
- Bump sdk to 3.4.0 by @ianlin-bbpos in #641
- Add TTP auto-reconnect support by @nazli-stripe in #642
- Support collect inputs by @ianlin-bbpos in #633
- Remove toggle type by @nazli-stripe in #643
- 0.16 release prep by @nazli-stripe in #646
New Contributors
- @SudoPlz made their first contribution in #636
- @maxa-stripe made their first contribution in #632
Full Changelog: v0.0.1-beta.15...v0.0.1-beta.16
v0.0.1-beta.15
- Native Terminal SDKs upgraded to 3.2.1
- Added support for Apps on Devices
What's Changed
- Update README.md for min iOS and Android versions by @nazli-stripe in #582
- FIx repo name by @nazli-stripe in #586
- Added correct example app name by @thePianoKid in #587
- Upgrade example-app to RN SDK 0.14 by @ianlin-bbpos in #590
- Bump minimatch from 3.0.4 to 3.1.2 by @dependabot in #597
- Bump @xmldom/xmldom from 0.7.5 to 0.7.13 by @dependabot in #599
- Bump SDKs to 3.2.1 by @nazli-stripe in #600
- AoD support by @nazli-stripe in #578
- Update RN SDK version to beta.15 by @nazli-stripe in #603
- feat: allow customization of Local Network message for Expo projects on iOS by @ts-candide in #585
New Contributors
- @thePianoKid made their first contribution in #587
- @ts-candide made their first contribution in #585
Full Changelog: v0.0.1-beta.14...v0.0.1-beta.15
v0.0.1-beta.14
Summary
- Bumps Terminal iOS and Android SDKs to 3.2.0. Minimum requirements are:
- Android API level 26 and above
- iOS 13 and above
- Support for offline mode on mPOS devices
- Bug fixes and improvements:
- Fixes an issue where calling
connectBluetoothReader
withoutautoReconnectOnUnexpectedDisconnect
causes an exception. - Adds support for specifying
statementDescriptorSuffix
when creating PaymentIntents via the SDK - PaymentMethod ID is now returned in the PaymentIntent responses
- Fixes an issue where calling
Breaking Changes
processPayment
has been renamed toconfirmPaymentIntent
processRefund
has been renamed toconfirmRefund
readReusableCard
is no longer supported. Use SetupIntents to store cards.
What's Changed
- Fix not specifying autoReconnectOnUnexpectedDisconnect issue. by @EricLin-BBpos in #534
- Bump activesupport from 7.0.4.3 to 7.0.7.2 in /dev-app by @dependabot in #527
- Upgrade docs for .13 release by @nazli-stripe in #531
- Update bug_report.md by @nazli-stripe in #547
- bump native sdk to v3 by @ianlin-bbpos in #544
- Use sdk_uuid for payment and setup intents by @nazli-stripe in #551
- Bump @babel/traverse from 7.17.10 to 7.23.2 in /dev-app by @dependabot in #556
- Bump @babel/traverse from 7.21.5 to 7.23.2 in /example-app by @dependabot in #557
- Bump @babel/traverse from 7.16.5 to 7.23.2 by @dependabot in #555
- bump native SDKs to 3.1 by @ianlin-bbpos in #558
- Bump react-devtools-core from 4.24.4 to 4.28.4 in /dev-app by @dependabot in #559
- Bump react-devtools-core from 4.24.4 to 4.28.4 by @dependabot in #560
- Bump react-devtools-core from 4.27.7 to 4.28.4 in /example-app by @dependabot in #561
- Update README for 34 clarification by @nazli-stripe in #562
- Improve package names by @nazli-stripe in #568
- Upgrade to RN 0.72 by @nazli-stripe in #572
- support offline mode by @ianlin-bbpos in #564
- Add new parameters for PaymentIntent by @nazli-stripe in #574
- Fix offline status by @nazli-stripe in #579
- .14 release prep by @nazli-stripe in #581
Full Changelog: v0.0.1-beta.13...v0.0.1-beta.14