Native HTTP plugin results in "plugin not installed" in Ionic View

Hey guys, I’m having a problem with Native HTTP plugin (cordova-plugin-advanced-http). It always results in an error “plugin not installed” when running the app in Ionic View even though it normally works when deploying the app to emulator or device. I’ve been googling like crazy for last few days and haven’t found any working solution. Has anyone found a way to resolve this?

My Ionic info:
cli packages: (C:\Users\altic\AppData\Roaming\npm\node_modules)

@ionic/cli-utils  : 1.19.2
ionic (Ionic CLI) : 3.20.0

global packages:

cordova (Cordova CLI) : 8.0.0

local packages:

@ionic/app-scripts : 3.1.9
Cordova Platforms  : android 7.0.0
Ionic Framework    : ionic-angular 3.9.2

System:

Node : v8.11.1
npm  : 5.6.0
OS   : Windows 10

Environment Variables:

ANDROID_HOME : not set

Misc:

backend : pro

Version of the plugin from config.xml:
<plugin name="cordova-plugin-advanced-http" spec="^1.11.1" />

Version of NPM package:
@ionic-native/http@4.7.0”

And the code I’m testing it with:

 async testNative(url, params) {
      this.platform.ready().then(async () => {
        let result = '';
        try {
          let response = await this.nativeHttp.get(url, params, {});
          result = response.data;
        } catch(err) {
          result = 'Error: ' + JSON.stringify(err);
        }
        this.content = result;
    });
  }

Many thanks!

Hi,
Did you find a solution to your problem? It could help me save lot of time ! :wink:

Thanks

Hi, I haven’t found the solution yet … I posted this question as a kind of a desperate measure as it really bothers me that even despite the fact that the plugin is listed as supported by Ionic View it actually doesn’t work there.

I admit there might be something essential I’m overlooking but I would appreciate any hint at least as the solution doesn’t seem to be that straightforward.