I have a project where I am regularly (e.g. every 30 seconds) updating the color of styled buttons using the setProperty function.
The application works perfectly on Android but on iOs devices the colors are not updating correctly.
For example, I have a button that is originally set up with an off background color of white and and on background color of light blue using the blynk app in design mode. When my project runs, the off background color is sometimes set to grey, and sometimes set to white.
When using an iOs device (I have tried an iphone 8 and an ipad air) the button will initially display correctly (matching the same project running simultaneously on an android device). Then when the off background color is changed by a setProperty instruction, the iOs device button changes to the originally set ON background color and does not respond to further setProperty instructions (while the project running simultaneously on the android device does change color correctly).
If on the iOs device I then switch from “run” to “design” and back to “run”, the iOs button will then change color and match the android device - until another setProperty command is executed and the button goes back to the on background color.
The button on the iOs device is defined as "push’ and during the above sequence is not being touched.
There is no problem with the setProperty off background label function, my project changes the label as well as the color and the label changes work correctly on the iOs devices.
Both android and iOs devices are running the latest version of the app and my Blynk server on Raspberry pi is currently on version 0.40.1.
Has anyone else experienced anything like this? Any ideas?