#thiagomacauba88

1 messages ยท Page 1 of 1 (latest)

fast vaultBOT
old stump
#

hey @autumn wraith

autumn wraith
#

Hi ๐Ÿ‘‹ I'm not too familiar with Android, so I'm checking to see if one of my teammates is.

old stump
#

ok thanks

autumn wraith
#

How long is it typically taking? Is it possible the reader is being updated during that period?

old stump
#

It's not updating

#

and it's happening only in Prod

#

Any ideas?

autumn wraith
#

Is this happening consistently across multiple devices (both android device and reader)?

old stump
#

We have a user with this issue

#

and i just tried to replicate and yes, it happens a lot

#

we have a beep(reader) and that's all

#

we have a success some times or just stuck on this

whole halo
#

Hello ๐Ÿ‘‹

old stump
#

hey @whole halo

whole halo
old stump
#

give me a couple of minutes and I'll check it

whole halo
#

Could you also share the reader serial number? I'll try pull up the logs to see if there's anything relevant there

old stump
#

serial number: WPC323145033309

#

can i start the flow?

whole halo
#

Sure

old stump
#

done

#

and right now i have success

#

sometimes i dont have it

whole halo
#

Right, In recent logs I see the reader was updated to the latest firmware

#

So yeah I believe it was installing the updates

#

If you add the listener described on the link above then you should be able to handle that scenario gracefully

old stump
#

weird because i'm testing this in the last couple of hours

#

1 min and I'll try it

whole halo
#

Its quite possible that the update didn't succeed the first time or if the reader was on an old version so it took multiple updates to get it to the latest one

old stump
#

I have everything implemented

#

override fun onStartInstallingUpdate(update: ReaderSoftwareUpdate, cancelable: Cancelable?) {
runOnUiThread {
toast("Updating reader software")
loadingReaderLocation.visibility = View.VISIBLE
}
}

override fun onReportReaderSoftwareUpdateProgress(progress: Float) {
    runOnUiThread {
        toast(progress.toString())
    }
}

override fun onFinishInstallingUpdate(update: ReaderSoftwareUpdate?, e: TerminalException?) {
    runOnUiThread {
        loadingReaderLocation.visibility = View.GONE
    }
}
#

I already put breakpoints, but nothing :/

whole halo
#

It won't hit the breakpoints now since the reader has updated already

old stump
#

but should I able to see the toast, right?

#

the user is with this behavior for the last weeks

#

so, i dont know if is still updating

whole halo
old stump
#

i don't understand how can i force this

#

can you help me?

whole halo
old stump
#

do i need to call this: Terminal.getInstance().simulatorConfiguration before connect?

#

a question, if i update the reader... Should i keep trying to do that?

whole halo
#

do i need to call this: Terminal.getInstance().simulatorConfiguration before connect?
yes it should be before connect

a question, if i update the reader... Should i keep trying to do that?
Not sure I understand, At the moment we're trying to check if that the UI works or doesn't work on reader update

old stump
#

ok, but right now my reader is updated

#

why am i still stuck on something without any feedback?

whole halo
#

why am i still stuck on something without any feedback?
Do you mean you're still seeing long connection time?
I thought you said earlier that it worked fine?

old stump
#

sometimes works...

#

but I normally got stuck

whole halo
#

Do you see any bluetooth related errors or exceptions thrown by the SDK in your logcat?

old stump
#

this is the issue

#

i don't have anything

#

:/

#

in your logs

#

what do you see?

whole halo
#

Just that the reader was updating and some logs from android device about bluetooth connection timing out (which is also possible when the reader is connected but inactive for 5 or more minutes).

old stump
#

I'll do again.. can you check pls?

whole halo
#

sure

old stump
#

still running

#

i don't have this delay in qa/dev

#

right now connected

whole halo
#

can you try connecting to the reader multiple times using the example app?

old stump
#

You must specify EXAMPLE_BACKEND_URL in gradle.properies

#

where should i put this

old stump
#

sorry but the example doesnt work for me

#

I'm still stuck on many loadings

#

can we try to understand why it taking so long?

whole halo
#

That's what I am trying to do. We need to narrow down on what exactly is causing this.

Is it the reader? OR is it your code?

If you're seeing the same behavior with example app then it could be something with the reader.
If you're not seeing the same behavior with example app then it must be your code.

We haven't heard any other complaints regarding slow connection time from other terminal users so I doubt it is related to the firmware.

#

So if you can get the example app working then we should be able to narrow down on what's causing this

old stump
#

ok

#

i can't create any location from there

#

can you explain me why i dont have this issue in qa/dev?

whole halo
#

Your code OR configuration might be a little diff in qa/dev
That also indicates that the issue might just be in the code and not with the reader

old stump
#

what configuration?

whole halo
#

A different SDK version or something. Just a hunch though.
The next step here would be to see if you can get the example app working then we can check if the reader behaves similarly there.
OR
You can send us the code you have and we can try and reproduce this on our end (this would need to happen async, you'll need to create a ticket via Support)

old stump
whole halo
#

Ah, maybe that function needs to call your endpoint to create the location ๐Ÿค”
Are you able to select any of your existing locations?

old stump
#

no locations

whole halo
#

@old stump I know it has taken a while to narrow down on this.
Can you write in via our support (https://support.stripe.com/?contact=true) with sample of your code so that I can try and reproduce this on my end?

Make sure to mention you can spoke with hanzo on discord
I'll grab the ticket and respond as soon as I can.

old stump
#

ok

whole halo
#

let me know once you write in

old stump
#

what part of the code would you like?

#

I'll send a video recording and 2 classes

whole halo
#

please share all the classes that implement functions from our Terminal SDK and any other code that runs while you connect to the reader

old stump
#

ok

#

I'm opening the ticket in my account(Brazil)

#

but I'm testing in uk account

whole halo
#

NP! Let me check if we received it

old stump
#

sending

#

1 sec

#

i cant upload more than 1 file

#

:/

#

is it possible send here?

whole halo
#

Interesting, can you just archive them in a zip file and send?

#

Alternative would be to host the files on Google Drive or something and share the link

old stump
#

1 sec

#

sent

whole halo
#

Got it. Thanks again for your patience.
I'll respond as soon as I find anything.

old stump
#

thanks a lot

#

we have a customer desperate for this :/