#brunowilliang_code
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/1225398598699712532
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
hi! sorry, English only please.
hey
soryy
Simulator displays card reader progress correctly, but on physical device, the same does not occur. Any suggestions to solve?
what do you expect the physical device to show and what does it show instead? what model of Terminal is it?
I'm passing the onDidReportReaderSoftwareUpdateProgress method to get the connection progress, in the simulator it works, but on the real device it doesn't work
@stripe/stripe-terminal-react-native
what does "it doesn't work" mean?
reader connectivity progress
console.log('READER PROGRESS', progress)
real device logs with Logcat:
04-04 11:49:33.090 20430 20487 I ReactNativeJS: Starting handleDiscoverReaders
04-04 11:49:33.095 20430 20487 I ReactNativeJS: 'READER PROGRESS', '0'
04-04 11:49:33.352 20430 20487 I ReactNativeJS: 'READER PROGRESS', '0'
04-04 11:49:35.771 20430 20487 I ReactNativeJS: 'READER PROGRESS', '0'
04-04 11:49:35.936 20430 20487 I ReactNativeJS: 'READER PROGRESS', '0'
04-04 11:49:36.163 20430 20487 I ReactNativeJS: 'READER PROGRESS', '0'
04-04 11:49:36.362 20430 20487 I ReactNativeJS: 'READER PROGRESS', '0'
04-04 11:49:36.564 20430 20487 I ReactNativeJS: 'READER PROGRESS', '0'
04-04 11:49:36.776 20430 20487 I ReactNativeJS: 'READER PROGRESS', '0'
04-04 11:49:56.068 20430 20487 I ReactNativeJS: 'READER PROGRESS', '0'
04-04 11:49:56.323 20430 20487 I ReactNativeJS: 'READER PROGRESS', '0'
04-04 11:49:56.599 20430 20487 I ReactNativeJS: 'Reader connected successfully', '9431287a-b74b-4869-b284-7eb224dc9dad'
it does not change the progress on the real device, only on the simulator
I'm so confused.
what model of Terminal is it?
The video appears to show Tap to Pay(local reader) on iOS, not Android, so how is logcat involved?
what version of the stripe-terminal-react-native library are you using?
"@stripe/stripe-terminal-react-native": "^0.0.1-beta.15",
The problem is that I can't recover the reader's connection progress
the video I sent you would be what I'm trying to do
can you please answer the question
what model of Terminal is it?
I don't understand, what is the model? I'm using an android phone..
so it's Tap to Pay on Android?
yes
do you have any reason to expect there is actually an update being installed?
So, I actually needed to see how I could recover the reader's connection progress...
I don't know if this command is what I do:
onDidReportReaderSoftwareUpdateProgress