Inappbrowser file download

Hello

I’m developing an app using ionic 3.0 inappbrowser…
Use inappbrowser to open a specific web page,
If you click the link to download the file, the file will not be downloaded.
I’m must use ‘_blank’ mode.
Is there a solution?

please help me thanks.

----------------------------------------------------- cordova plugin list

cordova-plugin-browsertab 0.2.0 “cordova-plugin-browsertab”
cordova-plugin-compat 1.2.0 “Compat”
cordova-plugin-device 2.0.2 “Device”
cordova-plugin-file 6.0.1 “File”
cordova-plugin-file-opener2 2.1.3 “File Opener2”
cordova-plugin-file-transfer 1.7.1 “File Transfer”
cordova-plugin-firebase 2.0.5 “Google Firebase Plugin”
cordova-plugin-inappbrowser 3.0.0 “InAppBrowser”
cordova-plugin-ionic-keyboard 2.1.3 “cordova-plugin-ionic-keyboard”
cordova-plugin-ionic-webview 2.3.1 “cordova-plugin-ionic-webview”
cordova-plugin-splashscreen 5.0.2 “Splashscreen”
cordova-plugin-statusbar 2.4.2 “StatusBar”
cordova-plugin-whitelist 1.3.3 “Whitelist”
cordova.plugins.diagnostic 4.0.10 “Diagnostic”

----------------------------------------------------- ionic info

Ionic:

ionic (Ionic CLI) : 4.3.1 (/usr/local/lib/node_modules/ionic)
Ionic Framework : ionic-angular 3.9.2
@ionic/app-scripts : 3.2.1

Cordova:

cordova (Cordova CLI) : 8.1.2 (cordova-lib@8.1.1)
Cordova Platforms : android 7.1.4
Cordova Plugins : cordova-plugin-ionic-keyboard 2.1.3, cordova-plugin-ionic-webview 2.3.1, (and 10 other plugins)

System:

Android SDK Tools : 26.1.1 (/Users/wysong/Library/Android/sdk)
NodeJS : v10.13.0 (/usr/local/bin/node)
npm : 6.4.1
OS : macOS
Xcode : Xcode 10.1 Build version 10B61

Once you open a page in a browser window the control goes to the browser and will be get manipulated by the web page it self. If You want to download it through IONIC application then use file transfer plugin.

I am using file transfer plugin for android and inappbrowser for ios. The link will open in new browser window in safari and that’s all. The browser has its own download function and you can’t control it.

thank you.
I will try.

can you share the code ?