Below is my code which opening weburl in inappbrowser but when i click on download button i am not able to download my .PNG file or.PDF file
ionViewDidEnter(){
this.launchSite()
this.subscription=this.platform.backButton.subscribe(async ()=>{
navigator['app'].exitApp();
})
}
launchSite(){
let target = "_blank";
this.platform.ready().then( () => {
var browser=this.inAppBrowser.create(this.stagurl,target,this.options)
})
}
ionic info
Ionic:
Ionic CLI : 6.18.1 (C:\Users\Cloud\AppData\Roaming\npm\node_modules\@ionic\cli)
Ionic Framework : @ionic/angular 6.0.13
@angular-devkit/build-angular : 13.2.6
@angular-devkit/schematics : 13.2.6
@angular/cli : 13.2.6
@ionic/angular-toolkit : 6.1.0
Cordova:
Cordova CLI : 11.0.0
Cordova Platforms : android 10.1.1
Cordova Plugins : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 5.0.0, (and 4 other plugins)
Utility:
cordova-res : 0.15.4
native-run : 1.5.0