After i install the cordova-plugin-advanced-http plugin, when i try to import it on providers in app.modules.ts, i get the following:
I was also getting the same error in case of @ionic-native/android-permissions
.
To fix this kind of issues just downgrade the version of plugin.
Example:
@ionic-native/android-permissions@.5.0.1
to @ionic-native/android-permissions@3.4.0
You installed the latest @ionic-native/http
beta (v5+)
You have to import HTTP
from /ngx
import { HTTP } from '@ionic-native/http/ngx';
Otherwise fallback to @ionic-native/http
v4+
This is because of Ionic Have updated all the Plugin so I suggest using the lower version of that plugin .! if your current version 4.5.0 or something then you have to downgrade it with 4.3.2 or something.