I’ve been trying a lot of thing to get the native camera to work.
I am following the a Udemy tutorial by maximilian. he uses “import { Camera } from ‘ionic-native’;” to import the camera functionality.
However when I follow his steps, I get a runtime error saying “Cannot find module “ionic-native””.
I have tried “import { Camera } from ‘@ionic-native/camera’;” as stated in the docs.
However then I get an error in VS Code stating “[ts] Property ‘getPicture’ does not exist on type ‘typeof Camera’.”.