Vibration no provider in app.module.ts

I installed the vibration plugin and its dependencies.
Importing in the app.module.ts is also no problem

import { Vibration } from '@ionic-native/vibration';

But when I add
to the list of providers, there are errors:

"VibrationOriginal" is not of the type "provider"
"provide" is missing in "VibrationOriginal"

Do someone know what I’m doing wrong? Thanks!

1 Like

try import { Vibration } from '@ionic-native/vibration/ngx';

1 Like

Thanks @fabiogoodbooy!
Found the whole solution to get it working here:

1 Like