#taha_docs

1 messages ¡ Page 1 of 1 (latest)

red cloakBOT
#

👋 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/1328777309691576412

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

oblique crystal
#

Hello! To clarify, what specific part of this is blocking you? Where are you getting stuck?

crystal lodge
#

I am unable to receive any callbacks for updates (e.g., onReportAvailableUpdate, onReportReaderSoftwareUpdateProgress)

oblique crystal
#

Is this on Android?

crystal lodge
#

Yes it is on Android

oblique crystal
#

Okay, so do you have a MobileReaderListener set up to receive the onStartInstallingUpdate callback?

crystal lodge
#

Yes, I do have a MobileReaderListener set up in my code. I am passing mobileReaderListener as the usbReaderListener in the ConnectionConfiguration.UsbConnectionConfiguration. I use this configuration when calling Terminal.getInstance().connectReader.

crystal lodge
#

Yes I have onStartInstallingUpdate as well as onFinishInstallingUpdate and onReportReaderSoftwareUpdateProgress

oblique crystal
#

Okay, so you're setting update in your SimulatorConfiguration to REQUIRED and then you call connectReader and your onStartInstallingUpdate function isn't being called?

crystal lodge
#

Yes that is correct.

oblique crystal
#

What have you tried as far as debugging?

crystal lodge
#

I have added logs to see that the reader is connected

oblique crystal
#

Do you have any logging at the beginning of onStartInstallingUpdate? Does that logging ever get called?

crystal lodge
#

Yes I do have a log for debugging right at the beginning of onStartInstallingUpdate and it never gets called

oblique crystal
#

Do your other callbacks in MobileReaderListener get called as expected?

crystal lodge
#

I do receive onBatteryLevelUpdate and others like onRequestReaderInput

oblique crystal
crystal lodge
#

I tried using Terminal.getInstance().installAvailableUpdate() and for that onFinishInstallingUpdate gets called

#

Okay I will file an issue