I am trying to take a screenshot of my ionic app. I have run these commands first.
npm i com.darktalker.cordova.screenshot npm i @ionic-native/screenshot