#mattiaferrari_error
1 messages · Page 1 of 1 (latest)
👋 Welcome to your new thread!
⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1395791639037083708
📝 Have more to share? Add more details, code, screenshots, videos, etc. below.
Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- mattiaferrari_code, 2 days ago, 5 messages
Hi, what error are you seeing exactly?
Are you able to share more context here so we can further assists?
What does “secure context” mean?
I followed the integration guide but im getting that error
I said, share more context meaning.. can you share more details here with us
Like my logcat?
What does the error look like?
Ah, sorry. It's 'Tap to Pay reader not operating in secure process'
@radiant pond what exat version of the SDK and which SDK do you use?
Also what exact device are you using?
4.5.1
Stripeterminal and stripeterminal-taptopay
The device is a samsung, A20 something
But the example app works so it cant be a device issue
Stripeterminal and stripeterminal-taptopay
what does this mean? Sorry to be particular but can you be really specific about the exact SDK you have integrated?
Okay so that our Android SDK for Stripe Terminal. What do you call stripeterminal-taptopay? You mean the module inside that SDK or something else?
thanks, can you share the exact device model and exact Android OS version too
Galaxy a34 5g android 14
Exact OS version please if you can
One ui 6.1
Can you share which Android SDK target version you are targeting?
like in your build likely in a gradle file or project settings
https://docs.stripe.com/terminal/payments/setup-reader/tap-to-pay?platform=android#pin we think that might be your issue
basically it has
There are no screen overlay windows
and you might need to target 31
can you try that just to see if that solves it?
Let me try with 31
Another engineer on my team says that when they use logcat and dump all logs from their phone to their computer it also triggers that error. Sadly it means it can be a variety of things 😦
I think the error occurs also when im not attached to the logcat
sounds good, sorry for all the "what about X", this error is always a game of whack-a-mole with 10 possible issues
No worries
Nope upping the minimum target version did not work
I can attach my logcat
You might have to do https://developer.android.com/privacy-and-security/risks/tapjacking#mitigations_2 too
And I would try on your device without logcat attached, no developer options enabled (this: https://developer.android.com/studio/debug/dev-options) and not attached to Android Studio at all basically
Another engineer on my team said to try https://github.com/stripe/stripe-terminal-react-native/issues/866#issuecomment-2562886986
The issue is caused by Google Play Integrity Protection. If the setting in the below screenshot is enabled in your Google Play account, after uploading and installing a build the "Localmobile reader is not operating in a secure process" error will occur.
i didn't upload the build anywhere
I just uploaded the apk directly on my test phone, as i said the example app https://github.com/stripe/stripe-terminal-android worked with tap to pay and i managed to get a payment using stripe terminal phisical test cards