Jimbo.Automates Posted August 13, 2022 Posted August 13, 2022 @Javi, I have a command favorite which uses the value of an integer variable to show status, and I sync integer variables which all works great. The problem occurs if the value of that variable changes during initial startup of UD Mobile. This happens when I start the app, and before it shows me the value of that variable, I press the command which arm/disarm's my ELK and changes the value of that variable. This quickly shows the correct value of the variable, but then when the app finishes the initial load it shows the old value. Hopefully that makes sense, if not I can send screen video.
Javi Posted August 13, 2022 Posted August 13, 2022 Hi @JimboAutomates, I understand and know the cause. If the variable changes are updated by the subscription before the initial value is processed the initial value may overwrite the value received from the subscription. If all the values are requested before subscription start it could cause very long delays before node population, so subscription is started first. Added the issue and possible fix to our issue repository. https://github.com/UniversalDevicesInc/UD-Mobile-Android/issues/32 1
Javi Posted August 15, 2022 Posted August 15, 2022 Hi @JimboAutomates, Issue should be resolved in Android 0.161 (should be live soon), and iOS 0.8.6 (beta by end of week). 1
Jimbo.Automates Posted August 15, 2022 Author Posted August 15, 2022 Hi @JimboAutomates, Issue should be resolved in Android 0.161 (should be live soon), and iOS 0.8.6 (beta by end of week).Great! I'll confirm once I get it and test.Sent from my Pixel 6 Pro using Tapatalk
Jimbo.Automates Posted August 15, 2022 Author Posted August 15, 2022 6 hours ago, Javi said: Hi @JimboAutomates, Issue should be resolved in Android 0.161 (should be live soon), and iOS 0.8.6 (beta by end of week). Works great! Thanks @Javi 1
Recommended Posts