Black background while taking screenshot

Hello, I’m using the plugin screenshot of the cordova but when trying to take a print along with the plugin camera preview where the image of the camera appears completely black. I already tried the orientation that has in the github page of the plugin but it did not solve. Does anyone know what I can do to solve this?