Cordova-plugin-inappbrowser : download from external website with inAppBrowser in IONIC app


#1

Hello,

We are using cordova inAppBrowse in Ionic 3 app to open external link , but we are not able to download anything from that website. Currently we are using “cordova-plugin-inappbrowser”: “^1.7.1”.

Can anyone provide solution on this?


#2

What does "are not able to download " mean? Do you get an error message?
Also post your ionic info output please.


#3

I am not getting any error while downloading from external website but after clicking on Download button nothing is happening.

Ionic info :

@ionic/cli-utils  : 1.9.1
ionic (Ionic CLI) : 3.9.1

global packages:

Cordova CLI : 7.0.1

local packages:

@ionic/app-scripts : 1.3.3
Cordova Platforms  : android 6.2.3
Ionic Framework    : ionic-angular 3.5.3

System:

Node : v6.9.5
npm  : 3.10.10
OS   : Windows 10

#4

Super old, update.

Did you remote debug the problem on the device already?
Follow these instructions here to debug the problem in Safari dev tools:
https://ionic.zone/debug/remote-debug-your-app#ios
Follow these instructions here to debug the problem in Chrome dev tools:
https://ionic.zone/debug/remote-debug-your-app#android
Look at the console and network tabs for errors.


#5

I have updated @ionic/app-scripts : 3.0.0 to this version.

While debug from chrome-inspector on the device getting below status in network tab :

As shown in the above snapshot, we are getting “canceled” status for each download request. Is there any way to solve this?