It uses the Cordova plugin Media Capture.
It allows you to capture video, audio, and image. All the captured files are stored in the device therefore, a just-in-time notice must be displayed before the app accesses the camera or microphone.
The captured data will not be returned as binary data instead it will return the actual file path along with other details of it such as file size, etc., hence, the File Plugin is then utilized to get the binary data.