Cannot add to add InAppBrowser to providers


#1

[ts]
Type ‘InAppBrowserOriginal’ is not assignable to type ‘Provider’.
Type ‘InAppBrowserOriginal’ is missing the following properties from type ‘FactoryProvider’: provide, useFactory [2322]


#2

I guess the new version of in-app-browser had something changed.
I solved this problem by uninstalling the latest version and installed the older version.

npm uninstall --save @ionic-native/in-app-browser
npm install --save @ionic-native/in-app-browser@^4.17.0

I hope this solution help you.


#3

I had the same problem and it worked.
Thank you