BLYNK
BLYNK.IO       📲 GETTING STARTED       đź“— DOCS       👉 SKETCH BUILDER

Problem with button colors staying set (after exiting a device and then returning)

On the iPhone app I use a Styled Button to show the color of a LED on my hardware. I set the button’s color in the firmware using the following Blynk.setProperty function

Blynk.setProperty(MYBUTTON_VPIN, "onBackColor", "#D3435C");
Blynk.setProperty(MYBUTTON_VPIN, "offBackColor", "#D3435C");

I’m able to set the button colors, but when I exit the device and then come back to it, the colors often revert back to the color that is set in the styled button widget’s settings (but sometimes my new color is still set to the last firmware setting).

Is there some way keep these colors set to the last set value?

Thanks,
Gary

Which iOS app version are you using?

@Eugene - one for you?

Pete.

Thanks, we’ll check

The about page in the app says version 3.4.1 (0)
I just downloaded the latest version from the app store which says 1.18
It shows the same intermittent behavior when opening a device (sometimes the colors will be correct and sometimes they revert back to the widget’s settings value).