#taha_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/1410266558705438720
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi there I recommend checking your manifest per this comment in a Github issue: https://github.com/stripe/stripe-terminal-android/issues/601#issuecomment-3090213822
Thanks, let me check
com.stripe:stripeterminal-taptopay:4.1.0
can you please correct me if I am using the correct sdk
That's our official sdk if that's what you're asking
Did you review your manifest to see if any other components are running the stripetaptopay process
Yes I did and I dont see any other component running the stripetaptopay process
Searching stripetaptopay in your manifest only returned com.stripe* components?
Should I share the manifest code here for better understanding? I am not getting anything for searching 'stripetaptopay'
That's your issue then
If there are other components running in the same process that are not recognized as being part of the Stripe Tap to Pay on Android SDK, then attempting to discover + connect to the reader will result in the "Tap to Pay reader not operating in secure process" error message
Its auto genereted from Android. How can i resolve this
Per that comment I linked earlier
If the dotnet framework is contributing other components into this process, you will need to use merge rule markers to ensure they are not added. As mentioned in the other dotnet issue, you may also use the TapToPay.IsInTapToPayProcess() method to skip execution in your Application subclass to prevent other code from executing if necessary.
Instead of dotnet framework though it's the whitecryption dependency you see there
i have removed the whitecryption and now only have the following 2 of which the names are starting with com.stripe*
Now it should work right?
What do you mean you removed it. You removed the whitecryption dependency/library entirely from your project? Or you followed the instructions in that github issue I linked to use merge rule markers, or something else?
Hi there, I'm taking over from my colleague who has to step away. Can you confirm you followed all the steps highlighted in the GitHub comment that was shared with you? If so, what is the issue you're experiencing now?
Yes now I have followed the steps. I was getting whitecryption dependency/library that was using stripe process and I have removed that. Now only have 2 process
the name starts with com.stripe
Ok, are you still seeing the error being returned?
I probably need to create a release and publish it again on Google play store
because this error occurs only when we install and use the app from Play Store
That makes sense. Give it a shot and see if you still see the error. If you do, feel free to come back and we'll try to assist.
Alright. just to confirm I see these 2 using stripe process but the names are starting with com.stripe, so that wont be a problem right?
Let me double check with a colleague.
Hello ๐
I'm stepping in here to offer my assitance. Give me a minute to catch up
sure
Okay I think I'm up to speed. You should not need to worry about any activities with android:process=":stripetaptopay" AS LONG AS the android:name starts with com.stripe
So, looking at the screenshot you provided, I think you should be good to go
Okay other than that I see an aidl service with android:process=":stripetaptopay" and name starting with com.stripe
Okay so that's still a com.stripe activity it sounds like. The secure process error was about non-Stripe activities trying to run in the same process
Alright
that means its not a problem, then I should probably release a new build to Google Play Console and try it out
I think so, based on my read of the GH Issue and what you have shared
but this one is a problem? here the name says com.whitecryption