ERROR: Method 'requestAuthorization:' not defined in Plugin 'PhotoLibrary

ERROR: Method ‘requestAuthorization:’ not defined in Plugin ‘PhotoLibrary’

FAILED pluginJSON = [“PhotoLibrary815393554”,“PhotoLibrary”,“requestAuthorization”,[{“write”:false,“read”:true}]]

It’s work fine on iOS 11.2 but it’s getting error on iOS 12 and 13.

My download function:
download_image(){
this.photoLibrary.requestAuthorization().then(() => {
var url=“http://www.google.com/images"+this.fname+"/PROCESSED_JPEG/"+this.imgid+".jpg”;
var album = ‘Images’;
this.photoLibrary.saveImage(url , album).then((entry=>{
this.presentToast(this.translate.instant(‘image Download success’));
}),(error) => {
// handle error
this.presentToast(this.translate.instant(‘Download Failed’));
});
});
}