useScannerSourcesSubscription() returning empty array on initial tile open

When first opening a POS UI Extension tile scanning does not seem to work. useScannerSourcesSubscription() returns an empty array, and a subscription to the scan data which I use to listen for scans with external devices also do not work. This seems to only impact the initial open - reopening the tile seems to fix things.

We’re running 2024.07. I found this related ticket that verified that later versions do not suffer from this bug: POS UI Extension - useScannerSourcesSubscription is [] on initial tile load

See gif:
ezgif-8e1630764eaa73

I think you need to do what we did and migrate to 2024.10.

That is not a feasible solution for us

@Tim What version of POS is this happening on? We recently fixed an issue with subscriptions failing on first load, so it might just require an update of the app.

Victor

Hi @Victor_Chu, I’m on version 9.30.2

@Tim I was able to reproduce the issue on 9.30.2, very weird how it only happens on versions below 2024-10. We apologize for the inconvenience.

This will be resolved POS 9.31.0 which you can download starting Mar 31.

Thank you,
Victor

Great, thank you for resolving this quickly!

Hi @Victor_Chu. Everything is working fine for me on an iPhone, but one of our clients is on an Android tablet and has asked when the fix will ship to Android. Do you know the timeline on this? Thanks!

@Tim It’s hard to give you an accurate date as the 9.31 version release for Android is pending due to Google approval. It should be available very soon, please notify the merchant to keep eye out on the app store as they may have to manually update.