nchutchind / cordova-plugin-streaming-media

Simple plugin for loading full screen streaming video or audio.
MIT License
391 stars 284 forks source link

NullInjectorError: No provider for [object Object]!! #226

Closed neerajrathore closed 1 year ago

neerajrathore commented 2 years ago

What version of Streaming-Meda-Cordova-Plugin are you using? v5.36.0

What version of Cordova are you using?

What devices are affected?

Please describe the issue in detail, with relevant code samples I recently added this plugin to my ionic project and declare this StreamingMedia service in providers in app.module.ts but when i import and declare StreamingMedia in my constructor of component page it throws this error unexpectedly ...

**Error: Uncaught (in promise): NullInjectorError: R3InjectorError(Tab2PageModule)[FirebaseStreamService -> FirebaseStreamService -> FirebaseStreamService -> [object Object] -> [object Object] -> [object Object]]: NullInjectorError: No provider for [object Object]!** What did you expect to happen?

What actually happened?

neerajrathore commented 2 years ago

This issue is solved now.