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

Crash occurs when discovering Tap to Pay (localmobile) readers targeting API level 35 on Android 15 devices #479

Closed
sjl-stripe opened this issue Jul 30, 2024 · 4 comments

Comments

@sjl-stripe
Copy link
Collaborator

sjl-stripe commented Jul 30, 2024

Summary

On Android devices targeting API level 35 (Android 15), a native crash occurs on Android 15 devices during the discovery process for Tap to Pay (localmobile) readers. This crash prevents the detection of localmobile readers, resulting in no available readers for connection.

...
Cmdline: com.stripe.terminal.testapp:stripelocalmobile
2024-07-30 15:40:43.260 23489-23489 DEBUG crash_dump64 A pid: 23465, tid: 23485, name: Thread-5 >>> com.stripe.terminal.testapp:stripelocalmobile <<<
2024-07-30 15:40:43.260 23489-23489 DEBUG crash_dump64 A #03 pc 000000000007b248 /data/app/~~-khKdAHFBnRNZVGrE_yPrQ==/com.stripe.terminal.testapp-wfh7ybCveRWM0J0J_y8f3w==/base.apk!libsecurepin_.so (offset 0xffc000) (BuildId: 8fb6c34684042f67db1593acb2f04f90bd7a00be)
2024-07-30 15:40:45.164 23497-23517 ripelocalmobile zygote64 A runtime.cc:708] native: #02 pc 000789d8 /data/app/~~-khKdAHFBnRNZVGrE_yPrQ==/com.stripe.terminal.testapp-wfh7ybCveRWM0J0J_y8f3w==/base.apk (offset ffc000) (???) (BuildId: 8fb6c34684042f67db1593acb2f04f90bd7a00be)
runtime.cc:708] native: #03 pc 00095624 /data/app/~~-khKdAHFBnRNZVGrE_yPrQ==/com.stripe.terminal.testapp-wfh7ybCveRWM0J0J_y8f3w==/base.apk (offset ffc000) (???) (BuildId: 8fb6c34684042f67db1593acb2f04f90bd7a00be)
runtime.cc:708] native: #04 pc 0009dcec /data/app/~~-khKdAHFBnRNZVGrE_yPrQ==/com.stripe.terminal.testapp-wfh7ybCveRWM0J0J_y8f3w==/base.apk (offset ffc000) (Java_securepin_1_Loader_l+384) (BuildId: 8fb6c34684042f67db1593acb2f04f90bd7a00be)
runtime.cc:708] native: #05 pc 00379170 /apex/com.android.art/lib64/libart.so (art_quick_generic_jni_trampoline+144) (BuildId: 31eac738ce2c7ea2458e525c9212337b)
runtime.cc:708] native: #06 pc 0077e588 /apex/com.android.art/lib64/libart.so (nterp_helper+152) (BuildId: 31eac738ce2c7ea2458e525c9212337b)
runtime.cc:708] native: #07 pc 01537d78 /data/app/~~-khKdAHFBnRNZVGrE_yPrQ==/com.stripe.terminal.testapp-wfh7ybCveRWM0J0J_y8f3w==/oat/arm64/base.vdex (com.whitecryption.securepin.SecurePinAssets.<clinit>+16)
...

Impacted devices (Android devices or readers)

Android 15 devices.

SDK version

The issue has been identified on SDK 3.8.0, and it likely impacts older versions of the SDK.

@sjl-stripe sjl-stripe changed the title Crash occurs when discovering Tap to Pay (localmobile) readers targeting Android 15 Crash occurs when discovering Tap to Pay (localmobile) readers targeting API level 35 on Android 15 devices Jul 30, 2024
@TatsuUkraine
Copy link

I have crashes on builds targeting sdk 34 after update to v3.8

@ivantespass

This comment was marked as off-topic.

@sjl-stripe
Copy link
Collaborator Author

Hi @ivantespass could you open a new ticket for this? It appears that the issue you're facing isn't specifically a problem with targeting Android 15 devices.

@sjl-stripe
Copy link
Collaborator Author

Upgrade to SDK version 3.10.0 or 4.0.0 and above to target Android 15 devices.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants