#brunowilliang_code

1 messages ¡ Page 1 of 1 (latest)

jolly kiteBOT
#

👋 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.

robust schoonerBOT
karmic yarrow
#

hi! sorry, English only please.

tidal lotus
#

hey

#

soryy

#

Simulator displays card reader progress correctly, but on physical device, the same does not occur. Any suggestions to solve?

karmic yarrow
#

what do you expect the physical device to show and what does it show instead? what model of Terminal is it?

tidal lotus
#

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

karmic yarrow
#

what does "it doesn't work" mean?

tidal lotus
#
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

karmic yarrow
#

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?

tidal lotus
#

"@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

karmic yarrow
#

can you please answer the question
what model of Terminal is it?

tidal lotus
#

I don't understand, what is the model? I'm using an android phone..

karmic yarrow
#

so it's Tap to Pay on Android?

tidal lotus
#

yes

karmic yarrow
#

do you have any reason to expect there is actually an update being installed?

tidal lotus
#

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

karmic yarrow
#

that seems like the right approach yes

#

maybe there's some issue with how this works inside our library, I'll report it internally and it might get fixed in a future release.