Arduino Mega + ESP8266: iOS app bug?

The following code run as expected on Android but not on iOS.

V0 is a switch
V1 is a led

When switch V0 is on the led V1 is on and viceversa.

It works in Android but not with iOS app. Nothing happens in iOS switiching V0: if led is on it remains on and viceversa.

Do I missed somenthing or is it a bug of iOS app?

iOS app version is 2.23.0 (4).
Android app is 2.26.7,

Thanks

#include <ESP8266_Lib.h>
#include <BlynkSimpleShieldEsp8266.h>

char auth[] = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx";

char ssid[] = "xxxxxxxxxxxxxx";
char pass[] = "xxxxxxxxxxxxxxx";

// Hardware Serial on Mega, Leonardo, Micro...
#define EspSerial Serial1

// Your ESP8266 baud rate:
#define ESP8266_BAUD 115200

ESP8266 wifi(&EspSerial);

WidgetLED led1(V1);

BLYNK_WRITE(V0) {
  int b = param.asInt();
  switch (b) {
    case 0:
      led1.off();
      break;

    case 1:
      led1.on();
      break;
  }
}

void setup()
{
  // Debug console
  Serial.begin(115200);

  delay(10);

  // Set ESP8266 baud rate
  EspSerial.begin(ESP8266_BAUD);
  delay(10);

  Blynk.begin(auth, wifi, ssid, pass);
}

void loop()
{
  Blynk.run();
}

It looks like iOS app just out of sync. Try relaunching Blynk on your iPhone.
Remember to not do editing your project simultaneously on different phones.

New iPad 2018 with iOS 11.4.1 is working fine.
iPhone 5C with iOS 10.3.3 still not works.

I suppose Blynk is incompatible with iOS 10. Can someone confirm?

Thanks

Are both devices using the same version of the Blynk iOS app?

Pete.

Should work on iOS 10. Please enable logging, reproduce the issue and send us the logs (you can do so from “About” screen within Blynk app)

Sent.

Received.

When you touch the button application sends data over BLE channel, which is a bug, since your connection type is WiFi. Looks like if you have a project successfully running with BLE connection it won’t actually release BLE after you just change connection type. We’ll fix that.

As a temporary workaround you can add a BLE widget back, establish a BLE connection and explicitly hit the “Disconnect” button in BLE widget settings. Or just make an failure attempt to establish a connection from BLE widget settings.

With your workaround everything is fine now.
We can close the topic.

I am impressed of your support.

Thanks