Blynk notify compile warning no working notify

Hardware Adruino nano 33 iot, using wifi
blynk 1.0.0.0 beta 3 library
android app version 2.27.28

so I can connect and get notification when device disconnects and reconnects. but I cannot in my code notification. I assume the compile error only thing holding me back. My virtualwrite works as it should so I know everything else is good. harware im simply jumping pin 3 and 5 to get output/input to later put in relay.

compile error i get is this…

C:\Users\DP\Desktop\nano 33\blynk\simple-notify\simple-notify.ino: In function ‘void checkPin()’:
C:\Users\DP\Desktop\nano 33\blynk\simple-notify\simple-notify.ino:52:26: warning: ‘void BlynkApi::notify(const T&) [with T = char [5]; Proto = BlynkProtocol<BlynkArduinoClientGenarduino::Client >]’ is deprecated [-Wdeprecated-declarations]
Blynk.notify(“here”);
^
In file included from C:\Users\DP\Documents\Arduino\libraries\Blynk\src/BlynkApiArduino.h:14:0,
from C:\Users\DP\Documents\Arduino\libraries\Blynk\src/Adapters/BlynkWiFiCommon.h:24,
from C:\Users\DP\Documents\Arduino\libraries\Blynk\src/BlynkSimpleWiFiNINA.h:22,
from C:\Users\DP\Desktop\nano 33\blynk\simple-notify\simple-notify.ino:5:
C:\Users\DP\Documents\Arduino\libraries\Blynk\src/Blynk/BlynkApi.h:178:10: note: declared here
void notify(const T& msg) {
^~~~~~

#define BLYNK_PRINT Serial

#include <SPI.h>
#include <WiFiNINA.h>
#include <BlynkSimpleWiFiNINA.h>

// You should get Auth Token in the Blynk App.
// Go to the Project Settings (nut icon).
char auth[] = "XXXXXXXXXX";

// Your WiFi credentials.
// Set password to "" for open networks.
char ssid[] = "NETGEARXXXXX";
char pass[] = "passwordXXXXX";



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

  Blynk.begin(auth, ssid, pass);
  // You can also specify server:
  //Blynk.begin(auth, ssid, pass, "blynk-cloud.com", 80);
  //Blynk.begin(auth, ssid, pass, IPAddress(192,168,1,100), 8080);
   pinMode(3, OUTPUT);    // OUTPUT FOR SWITCH
   pinMode(5, INPUT);     // INPUT FOW SWITCH
   digitalWrite(3, HIGH); // sets the digital pin 3 on
   
}
int prevState = -1;
int currState = -1;
long lastChangeTime = 0;


 
 void checkPin()
{
  
  int state = digitalRead(5);

  // Debounce mechanism
  long t = millis();
  if (state != prevState) {
    lastChangeTime = t;
  }
  if (t - lastChangeTime > 1000) {
    if (state != currState) {
      currState = state;
      Blynk.virtualWrite(V1, state);
      Blynk.notify("here");
      Serial.println("pressed");
    }
  }
  prevState = state;
}



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

}

Are you part of the beta testing programme?

If not then you should un-install the beta library and install 0.6.1 instead.

Pete.

ok ill try that no i am not part of that.

Ok update problem solved. that was too easy thanks so much.