Location accuracy stopped working?

Anyone experienced that the canRequest() method is no longer doing anything? I havent updated the plugin or changed my code but this is no longer giving result.

https://ionicframework.com/docs/native/location-accuracy/

const canRequest = await this.locationAccuracy.canRequest();

if (canRequest) {
  const success = await this.locationAccuracy.request(this.locationAccuracy.REQUEST_PRIORITY_HIGH_ACCURACY).then((success) => {
    
    if (success.code==1 || success.code==0){
      this.answer=true;
    }
    else{          
     alert("Hiba történt! Próbáld újra!")
    }
  });
}

It is not even going to the if canrequest part