#wise_fox-taptopay-rn
1 messages ยท Page 1 of 1 (latest)
Hello! Which version of the stripe-react-native terminal SDK are you using?
Hey ๐ ,
Package.json
"@stripe/stripe-terminal-react-native": "^0.0.1-beta.13",
app/build.gradle
implementation "com.stripe:stripeterminal-localmobile:2.23.1"
implementation "com.stripe:stripeterminal-core:2.23.1"
Interesting... and is this somethign you're able to repro reliably? Or do you just have the one report you're seeing in your logs?
Yes, I believe so. I do not have access to lots of devices on Android 14, but on Google Play Store I have a list of devices that are creating this error.
Our customers say they go to take a payment and the app just closes down at this stage.
I have shared the issue via google play to the stripe sdk team.
Is this something you're seeing happening recently? I know we had issues with Android 14 in october, but those should be fixed
I would say we noticed it happening about a 3 weeks to a month ago. That is when customers started reporting it to us at least.
wise_fox-taptopay-rn
And I got a team member to test it this morning and that is why it was easy to see in Google Play Store the crash report.
Gotcha - what have you set as the targetSDK?
We have another app running, which is configured in a similar way but not exactly and it has no issues. It is running the following packages:
"@stripe/stripe-terminal-react-native": "0.0.1-beta.13",
implementation "com.stripe:stripeterminal-localmobile:2.20.0"
implementation "com.stripe:stripeterminal-core:2.20.0"
The only other difference between these two app is that the one app which is having the issue is targetSdkVersion = 34 where as the one with out the issue is targetSdkVersion = 33
Yup that's the problem, we call that out in our docs https://github.com/stripe/stripe-terminal-react-native?tab=readme-ov-file#android
You need to continue targeting 33 for now
Ah ok great. Do you know if google will allow me to target a lower version?
As we have already released to 34
As far as I know it should - that'd be somethign you need to take up with them if they push back
Ok thanks. Will create a build and test. Thanks for your help.
๐
Whilst I have you.... I have one more question.
go ahead!
Just to confirm we cannot run a simulated: true on android. Is that correct?
On iOS we can
const getReaders = async (connectionType) => {
if (!connectedReader && isInitialized) {
console.log('Discovering readers...', connectionType);
const result = await discoverReaders({
simulated: true,
discoveryMethod: connectionType,
});
let error = result?.error;
if (error) {
if (error.code !== 'USER_ERROR.CANCELED' || error.code !== 'Busy') {
captureException(error, (scope) => {
scope.setTransactionName(`getReaders`);
return scope;
});
}
}
}
};
I thought you could (at least we mention it being possible in our Android specific docs so I assume it works) - https://stripe.com/docs/terminal/payments/connect-reader?terminal-sdk-platform=android&reader-type=tap-to-pay#discover-readers
Ok thanks. I will have a look then. Thank you
๐
Hi Karbi, Do you know the time frame on the issue we spoke about getting fixed?
I don't know any specifics on the timeframe - I think the fix is ready for the next release, but I don't know when that release is scheduled for
You can try bumping this github issues thread https://github.com/stripe/stripe-terminal-android/issues/387 and see if they have any updates