Type HTTPOriginal is not assignable to type Provider, ionic error after plugin installation

后端 未结 3 1349
一整个雨季
一整个雨季 2020-12-19 06:49

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:

3条回答
  •  悲&欢浪女
    2020-12-19 07:19

    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

提交回复
热议问题