Open EnriqueV opened 6 years ago
i got this error too. i believe it is because we use browser to check. i compile the apps and try the plugin..it working fine
Add it in app.module.ts
at the top:
import { PhotoViewer } from '@ionic-native/photo-viewer/ngx';
as well as under Providers
providers: [ StatusBar, SplashScreen, PhotoViewer, ...
I HAVE this error: StaticInjectorError[PhotoViewer]: StaticInjectorError[PhotoViewer]: NullInjectorError: No provider for PhotoViewer!