You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm submitting a ... (check one with "x")
[x] bug report
[ ] feature request
Current behavior:
@ionic-native/http throws a "plugin_not_installed" error when called on the cordova-advanced-http-plugin. This is due to the fact that @ionic-native/http/index.js decorates the plugin as follows:
I'm submitting a ... (check one with "x")
[x] bug report
[ ] feature request
Current behavior:
@ionic-native/http throws a "plugin_not_installed" error when called on the cordova-advanced-http-plugin. This is due to the fact that @ionic-native/http/index.js decorates the plugin as follows:
HTTP = __decorate([
Plugin({
pluginName: 'HTTP',
plugin: 'cordova-plugin-advanced-http',
pluginRef: 'cordovaHTTP,
repo: 'https://github.com/silkimen/cordova-plugin-advanced-http',
platforms: ['Android', 'iOS']
})
], HTTP);
Expected behavior:
Steps to reproduce:
Related code:
Other information:
Changing pluginRef: 'cordovaHTTP to pluginRef: 'cordova.plugin.http' solves the issue
package.json info:
{
"name": "ionic-hello-world",
"version": "0.0.0",
"author": "Ionic Framework",
"homepage": "http://ionicframework.com/",
"private": true,
"scripts": {
"clean": "ionic-app-scripts clean",
"build": "ionic-app-scripts build",
"lint": "ionic-app-scripts lint",
"ionic:build": "ionic-app-scripts build",
"ionic:serve": "ionic-app-scripts serve"
},
"dependencies": {
"@angular/common": "4.1.3",
"@angular/compiler": "4.1.3",
"@angular/compiler-cli": "4.1.3",
"@angular/core": "4.1.3",
"@angular/forms": "4.1.3",
"@angular/http": "4.1.3",
"@angular/platform-browser": "4.1.3",
"@angular/platform-browser-dynamic": "4.1.3",
"@ionic-native/barcode-scanner": "^4.2.1",
"@ionic-native/core": "^3.12.1",
"@ionic-native/http": "^4.2.1",
"@ionic-native/network": "^4.2.1",
"@ionic-native/splash-screen": "3.12.1",
"@ionic-native/status-bar": "3.12.1",
"@ionic/storage": "2.0.1",
"ionic-angular": "3.6.1",
"ionicons": "3.0.0",
"rxjs": "5.4.0",
"sw-toolbox": "3.6.0",
"zone.js": "0.8.12"
},
"devDependencies": {
"@ionic/app-scripts": "2.1.4",
"typescript": "2.3.4"
},
"cordovaPlugins": [
"cordova-plugin-whitelist",
"cordova-plugin-console",
"cordova-plugin-statusbar",
"cordova-plugin-device",
"cordova-plugin-splashscreen",
"ionic-plugin-keyboard",
"cordova-plugin-advanced-http"
],
"cordovaPlatforms": [],
"description": "panda: An Ionic project"
}
insert the content here
The text was updated successfully, but these errors were encountered: