Problems Importing ionic native camera into angular project

I’ve been trying to import ionic-native-camera into my app.module on Angular 8, but I’ve been receiving this message:

Unexpected value 'Camera' imported by the module 'AppModule'. Please add a @NgModule annotation.

Here’s my app.module:

import { Camera } from '@ionic-native/camera/ngx';

What should I do to solve this? 
imports: [

Put it in providers instead of imports as documented.

1 Like