Releases: capacitor-community/stripe
v6.5.0
@capacitor-community/stripe-terminal
Supported Apps on Devices on Android: https://docs.stripe.com/terminal/features/apps-on-devices/overview
Thanks #425 by @markhermano
Commit
v6.4.4
v7.0.0-1
v7.0.0-0
v6.4.3
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