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,


#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);

  int b = param.asInt();
  switch (b) {
    case 0:;

    case 1:

void setup()
  // Debug console


  // Set ESP8266 baud rate

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

void loop()

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?


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


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)



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.