In Ionic, when trying to add InAppBrowser into the providers, it shows me this error:…
- User
In Ionic, when trying to add InAppBrowser into the providers, it shows me this error: Type 'InAppBrowserOriginal' is not assignable to type 'Provider | EnvironmentProviders'.
Assistant
You are getting this error because you are trying to add InAppBrowserOriginal to the providers. InAppBrowserOriginal is a class, not a provider. You need to use InAppBrowser as a provider.
- User
this is how it looks right now and giving me the same error: providers: [LaunchNavigator,BLE,InAppBrowser,{ provide: RouteReuseStrategy, useClass: IonicRouteStrategy }],
Assistant
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.