Releases: capacitor-community/stripe
v6.4.2
v6.4.1
This Android plugin has been made with Kotlin.
For a long time, this plugin has been developed in Java.
However, with 2025 just around the corner, and with the Stripe SDK being developed in Kotlin, new feature development required us to revisit the code in Java. Additionally, with the release of Kotlin 2.0 this year, the language has become faster and safer to use.
As a result, this plugin has been reborn in Kotlin. Instead of using Kotlin in just some parts of the code, we have unified everything under Kotlin 🎉
Trouble Shooting
Error: Unable to get provider androidx.startup.InitializationProvider
Unable to get provider androidx.startup.InitializationProvider: androidx.startup.StartupException: androidx.startup.StartupException: java.lang.NoClassDefFoundError: Failed resolution of: Landroidx/lifecycle/ReportFragment$ActivityInitializationListener;
If you got this error message at Android Studio, you should add next block to android/app/build.gradle
like https://github.com/capacitor-community/stripe/blob/main/demo/angular/android/app/build.gradle#L61-L74
+ buildscript {
+ ext.kotlin_version = '2.0.+'
+ repositories {
+ google()
+ mavenCentral()
+ }
+ dependencies {
+ classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
+ }
+ }
+ apply plugin: 'kotlin-android'
Commit
v6.4.1-0
- fix(terminal): require kotlin-android at app/build.gradle 836629f
- chore(android): fix nonNull variables 47a8fba
- chore f1ddf70
- fmt 82eafd3
- chore 8bbc130
- chore(test): change to kotlin 2c1866f
- feat(terminal): remove kotlin settings from demo ac1abdb
- chore 9c55d7f
- feat(demo): kotlin_version to 2.0.+ 596689d
- feat(terminal): kotlin version to 2.0.+ 66282ea
- feat(): kotlin version to 2.0.+ 278dbf0
- feat(identity): Java to Kotlin d1e34db
- feat(payment): Java to Kotlin 9f61469
- released b752145
v6.4.0
@stripe-community/stripe
update
There are no large changes, but the Stripe SDK used has been updated so that the latest UI can be used on Android.
Changes
- Update SDK. I also upgraded Android this time, which I skipped last time due to
bcprov-jdk15to18
conflicts. eb94e48 - Support Swift Package Manager
@stripe-community/stripe-identity
update
There are no large changes.
Changes
- Update SDK
- Support Swift Package Manager
@stripe-community/stripe-terminal
update
There are breaking changes. Please understand that this is currently an rc version.
Breaking Changes
Changed SDK from v3 to v4( #406 ) . Thanks @simPRO-Software ! simPRO-Software@e49f34b simPRO-Software@a000f7e
This has resulted in some disruptive changes.
- Change version name
stripeterminalLocalmobileVersion
tostripeterminalTapToPayVersion
- Unsupport
stripeterminalLocalmobileVersion: 3.x
. This plugin will require 4.x. - Require ios >= 14.
Podfile
will be rewrite toplatform :ios, '14.0'
Changes
- Support multiple calls to fetchConnectionToken from SDK #407
- Support Swift Package Manager
Trouble Shooting
Unable to get provider androidx.startup.InitializationProvider: androidx.startup.StartupException: androidx.startup.StartupException: java.lang.NoClassDefFoundError: Failed resolution of: Landroidx/lifecycle/ReportFragment$ActivityInitializationListener;
If you got this error message at Android Studio, you should add next block to android/app/build.gradle
.
+ buildscript {
+ ext.kotlin_version = '2.0.+'
+ repositories {
+ google()
+ mavenCentral()
+ }
+ dependencies {
+ classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
+ }
+ }
+ apply plugin: 'kotlin-android'
Commit
There are breaking changes , so skipped 6.3.0 and versioned to 6.4.0.
v6.4.0-0
Commit
- chore af48400
- chore(): set next tag 097e47b
- feat(android): remove exclude emoji2 from payment eb94e48
- fix(ios): terminal collect reader require main thread 6628e9a
- chore(terminal): remove deprecated device index 356c317
- fix(terminal): remove pendingCallback = null 2d10f71
- fix(demo): fix run order aef9488
- chore(terminal): update to pod c2db5ea
- chore(demo): set string token is be default 7101384
- fix typo 496c6ed
- fmt 4a66a19
- fix(identity): change how to get icon assets c9d11ce
- chore(demo): new ios template b9c5c6b
- feat(spm): change branch name(follow cap command) 920ad79
- feat(ci): use cache 37d403b
- chore 71ab405
- chore adb4821
- fix(terminal): ios require v14 4c4d7f2
- fix(ci): update scheme name at verify:ios 4babf41
- chore d8d8e8c
- feat(test): add ios test dbb14b7
- fix(): fix Package.swift 4b61dc6
- chore(fmt): update to use prettier-plugin-java 5fbfc1e
- feat(): update every package dependency 1e02a3f
- chore(): remove unused file f3857eb
- feat(): update package.json and gitignore c8f7d8a
- feat(identity): change structure to spm 13c0dc1
- feat(payment): change structure to spm f3b427c
- feat(terminal): change structure to spm e164da4
- feat(ios): change scheme and add Package.swift 382289e
- feat(): setConnectionToken can use multi count #407 d159666
- chore(): camel to kebab-case c2c92af
- chore a4992d7
- merge: simPRO-Software@a000f7e 2d95653
- merge simPRO-Software@e49f34b fda714c
v6.3.0-0
- chore(): set next tag 097e47b
- feat(android): remove exclude emoji2 from payment eb94e48
- fix(ios): terminal collect reader require main thread 6628e9a
- chore(terminal): remove deprecated device index 356c317
- fix(terminal): remove pendingCallback = null 2d10f71
- fix(demo): fix run order aef9488
- chore(terminal): update to pod c2db5ea
- chore(demo): set string token is be default 7101384
- fix typo 496c6ed
- fmt 4a66a19
- fix(identity): change how to get icon assets c9d11ce
- chore(demo): new ios template b9c5c6b
- feat(spm): change branch name(follow cap command) 920ad79
- feat(ci): use cache 37d403b
- chore 71ab405
- chore adb4821
- fix(terminal): ios require v14 4c4d7f2
- fix(ci): update scheme name at verify:ios 4babf41
- chore d8d8e8c
- feat(test): add ios test dbb14b7
- fix(): fix Package.swift 4b61dc6
- chore(fmt): update to use prettier-plugin-java 5fbfc1e
- feat(): update every package dependency 1e02a3f
- chore(): remove unused file f3857eb
- feat(): update package.json and gitignore c8f7d8a
- feat(identity): change structure to spm 13c0dc1
- feat(payment): change structure to spm f3b427c
- feat(terminal): change structure to spm e164da4
- feat(ios): change scheme and add Package.swift 382289e
- feat(): setConnectionToken can use multi count #407 d159666
- chore(): camel to kebab-case c2c92af
- chore a4992d7
- merge: simPRO-Software@a000f7e 2d95653
- merge simPRO-Software@e49f34b fda714c
v6.2.2
Terminal Update
Changes
- Send stripe error and decline code in the reject response (Thanks @shiv19 ) #399 #404
- Update every package and dependencies
Commit
- fix(android): update emoji f64228f
- chore d2cce07
- fix(android): sdk '20.52.+' occurred error "Unable to get provider androidx.startup.InitializationProvider: androidx.startup.StartupException: androidx.startup.StartupException: java.lang.NoClassDefFoundError: Failed resolution of: Landroidx/lifecycle/ReportFragment$ActivityInitializationListener;" 676e6c7
- chore a93dda7
- chore(readme): update 38b8907
- Merge pull request #404 from capacitor-community/feat/fix_terminal-error-and-decline-code 4c05121
- Merge branch 'main' into feat/fix_terminal-error-and-decline-code ba392dd
- chore 989e40d
- feat(terminal): error code and declineCode added to ios, type 4bedf95
- fix(terminal): fixed incorrect version designation 11b5cf2
- feat(sdk): update every sdk version fe531c5
- chore(demo): ng update fa2db02
- chore 611c7bd
- feat(demo): update use package 317caff
- chore(ci): update use action version b4b51ec
- chore(ci): actions/upload-artifact v2 to v4 ec59051
- Merge pull request #399 from simPRO-Software/feat/terminal-error-and-decline-code dbafa1f
- feat(terminal): send stripe error and decline code in the reject response 0263a93
- chore 7b3a81e
- chore(payment): fix type 04253d9
- released 1481940
v6.2.1
v6.2.0
Terminal Update
Terminal has exited beta and is now in the RC (release candidate) phase🎉
Description
In this version, we have more extended the Terminal's functionality. Please read the README carefully.
New function:
- the web implement.
- autoReconnectOnUnexpectedDisconnect(
connectReader
method's option. default is false ) - installAvailableUpdate
- cancelInstallUpdate
- setReaderDisplay
- clearReaderDisplay
- rebootReader
More information is here: v6.0.2...v6.2.0#diff-79cae2b77ba5fa93a1ff52e76ec78a5586d71ef4e95fcfb1ace7f0c20a4e74c4
Breaking changes
Change ReaderSoftwareUpdateInterface to:
export type ReaderSoftwareUpdateInterface = {
deviceSoftwareVersion: string;
estimatedUpdateTime: UpdateTimeEstimate;
requiredAt: number;
};
Changes
- ReaderInterface has been extended. Also, the index property is now deprecated.
Commit
- feat(terminal): add function setReaderDisplay at web dff3b96
- feat(terminal): implement web platform 1e389f9
- Merge branch 'main' of github.com:capacitor-community/stripe 309845d
- chore(identity): web screenshot is added dc7de58
- Merge pull request #377 from capacitor-community/feat/remove_beta_tasks 5562978
- chore(demo): update that select device is arable only 4680e31
- chore(terminal): add enum group by device image 11b47ca
- fix(demo): cancelCollectPaymentMethod set at during collectPaymentMethod 60a0c8c
- fmt c48845a
- update readme d467777
- feat(terminal): add merhantDisplayName and behalfOf for localMobile 9aed853
- feat(terminal): organize cancelable 6c28b80
- feat(terminal): implement cancelReaderConnection acedb40
- feat(teminal): set device type adca78f
- chore 1b294e0
- feat(terminal): set ReaderInterface 331e99c
- refactor(terminal): separate terminalMapper at android e7674ea
- chore d6b6028
- feat(terminal): follow ReaderSoftwareUpdateInterface to reader 09d00bd
- feat(terminal): set reader interface 3f59da8
- fmt 4e37307
- chore 7d83465
- feat(terminal): added demo 48b3263
- fix(terminal): fix type Cart b63ef5e
- chore(terminal): autoReconnectOnUnexpectedDisconnect be option 44728aa
- feat(terminal): add reconnection functions 4d9f0c5
- chore(terminal): update docs de2457b
- feat(terminal): create method of listed 4c617e5
- released 196e7d2
v6.1.0
Terminal Update
Description
In this version, we have extended the Terminal's functionality. This version adds many missing event listeners (especially battery and device updates!) ), and a simulator setting that is useful for testing.
Thanks @DoctorMcKay for the Android implementation. #359
Commit
- fmt 39921b7
- Merge pull request #375 from capacitor-community/feat/terminal_device 6a634ac
- chore 40c8283
- feat(terminal/ios): add setSimulatorConfiguration demo b77a934
- fix(terminal/ios): key is be follow android 8bd4422
- refactor: demo 4fd1a17
- feat(terminal): create demo for BatteryLevel, RequestDisplayMessage, ReaderEvent 24f943c
- chore 4bf9410
- feat(terminal): add ReportAvailableUpdate listener 88edd8b
- chore e296578
- feat(terminal/ios): separate mappers f491b94
- feat(terminal): follow android event value 01e4ee4
- fix(terminal): messageType follow Android Type 422948f
- chore 0146969
- chore f6a4a5a
- chore b3e188e
- fmt 65eb3f6
- feat(terminal): add type of simulateReaderUpdate a9c6144
- feat(terminal/ios): follow android function d681992
- chore d25d310
- fix(android): follow ios error 6db8444
- bump 30afdec
- chore b7183ef
- Merge pull request #359 from DoctorMcKay/feat/reader-status-events e3409e1
- Merge pull request #358 from DoctorMcKay/fix/bluetooth-permission-for-discovery 4b63ca4
- released f3b75b8
- docs(terminal): rebuild docs 1296545
- feat(terminal): implement ConnectionStatusChange and UnexpectedReaderDisconnect 8860263
- docs(terminal): add jsdoc explaining some events 30545cc
- feat(terminal): handle ReaderListener's onDisconnect e8e7196
- feat(terminal): add 4 more reader events 115fdfc
- feat(terminal): event binding for onBatteryLevelUpdate aa4d4ab
- feat(terminal): binding for setSimulatorConfiguration e528fa3
- feat(terminal): add events for reader software update status b65356c
- fix(terminal): request bluetooth permission for discoverReaders 4d99339