In the camera plugin for iOS it does not account for iPads and always displays the camera as a popover. It needs to be fullscreen for iOS standards. As a temporary fix to the problem I have commented out these two lines in the getPhoto function
//imagePicker!.popoverPresentationController?.delegate = self //self.setCenteredPopover(self.imagePicker!)
And then in the showCamera function I have added this line after the source type is set to camera.
imagePicker.modalPresentationStyle = .fullScreen
I am unsure if this fix break anything for other platforms or use cases as I am developing solely for iPad.
In the camera plugin for iOS it does not account for iPads and always displays the camera as a popover. It needs to be fullscreen for iOS standards. As a temporary fix to the problem I have commented out these two lines in the getPhoto function
//imagePicker!.popoverPresentationController?.delegate = self //self.setCenteredPopover(self.imagePicker!)And then in the showCamera function I have added this line after the source type is set to camera.
imagePicker.modalPresentationStyle = .fullScreenI am unsure if this fix break anything for other platforms or use cases as I am developing solely for iPad.