-
Notifications
You must be signed in to change notification settings - Fork 50
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
SDK fails on Android 14 with targetSdkVersion
to 34
#387
Comments
targetSdkVersion
to 34
Hi @yogen-p, thanks for bringing this up, we're currently working on a fix for this, and will update here once the fix is out. |
Hi @yogen-p, you can target sdk version 33 while we work on this fix. We are working diligently to get this resolved but the updates are not trivial and are not expected to be ready in the next few days. We will provide an update once we have a clear timeline for an SDK update that addresses this issue. |
@bperez-stripe @ugochukwu-stripe Thanks for your response. For the being, that is exactly what I did and reverted back to version 33 and will keep using it until this is fixed. I understand this is going to be a major change, and will require some time. All is good now, since I reverted back to 33. Thanks |
We have released version |
We have released version |
We have released version |
This comment was marked as off-topic.
This comment was marked as off-topic.
now I am able to build the project. |
FAILURE: Build failed with an exception.
I am using => |
Also I had same problem |
Hi folks, this looks unrelated to the original issue reported here; I would recommend you file a separate issue so we can take a proper look. It also looks like you are using the React Native Terminal SDK so I'd recommend you file an issue in that repo instead: https://github.com/stripe/stripe-terminal-react-native |
Hi, in light of this issue's closure, is this line from the stripe-terminal-react-native README out of date?
|
@davidvgalbraith yep the RN README is out of date, let me update |
Summary
BT Reader discovery and Tap To Pay fail on devices running Android 14 with
targetSdkVersion
andcompileSdk
to 34.Code to reproduce
Set
targetSdkVersion
to 34 and run on an Android 14 device inrelease
mode.The Example Kotlin can be used to reproduce Tap To Pay payment crash by:
latestSdkVersion = 34
in the projectbuild.gradle
release
buildType withdebuggable
set to false.signingConfig
for the release build.DiscoveryViewModel
to provide aLocalMobileDiscoveryConfiguration()
objectReaderClickListener
to callTerminal.getInstance().connectLocalMobileReader(...)
Android version
14
Impacted devices (Android devices or readers)
Devices that upgraded to Android 14
SDK version
I tested using 3.1.0, 2.23.2, and 2.22.0
Other information
Everything works fine in debug mode. The issues arise in release mode for me with
minifyEnabled
andshrinkResources
set to true.Discovering readers doesn't discover anything, and Tap To Pay crashes while trying to take a payment with the following exception:
The text was updated successfully, but these errors were encountered: