Blynk.notify Library version 1.1.0 & iOS APP not working

Hi, with the new version of Blynk, I just have the problem that it doesn’t send notifications.
• Arduino UNO with Ethernet Shield
• iOS + version 16.0
• Blynk server
• Blynk Library version 1.1.0
///////////////////////part of the code that has always worked////////////////////////////

[Unformatted code removed by moderator]

////////////////////////////////////////////////////////
Thanks to those who will help me.
Stefano

Blynk.notify has been replaced with blynk.logEvent
Check the documentation for more details
https://docs.blynk.io/en/getting-started/events-tutorial#use-blynk.logevent-firmware-api

@stefadia Please edit your post, using the pencil icon at the bottom, and add triple backticks at the beginning and end of your code so that it displays correctly.
Triple backticks look like this:
```

Copy and paste these if you can’t find the correct symbol on your keyboard.

Pete.

Hi Pete, thanks for the reply.

const int notifica = A4;  // button press


void notifyOnButtonPress()
{
   buttonState = digitalRead(notifica);
   if (buttonState == 0) { 
 
    Serial.println("TEST NOTIFY ARDUINO"); /////>>>Ok when I press the button 

    Blynk.notify("TEST NOTIFY IOS APP");//>>I do not receive the notification on the APP
  }
}

void setup(){
Serial.begin(115200);

  Blynk.begin(auth);
timer.setInterval(500L, notifyOnButtonPress);
}

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

I’d asked you to EDIT your post, not leave the Unformatted code there and post it again with the correct formatting.

You might find this useful, along with the documentation that @John93 linked to…

Pete.

Perfect! :+1:
Now it works fine! Thank you Pete.
Regards
Stefano

Perfect! :+1:
Now it works fine! Thank you John.
Regards
Stefano

1 Like