Cordova documentation suggest to use File_URi instead of Data_url. Maybe it would be better to go on with FILE_URI.
NOTE: Photo resolution on newer devices is quite good. Photos selected from the device's gallery are not downscaled to a lower quality, even if a quality parameter is specified. To avoid common memory problems, set Camera.destinationType to FILE_URI rather than DATA_URL.
https://github.com/apache/cordova-plugin-camera/blob/master/doc/index.md
Cordova documentation suggest to use File_URi instead of Data_url. Maybe it would be better to go on with FILE_URI.
NOTE: Photo resolution on newer devices is quite good. Photos selected from the device's gallery are not downscaled to a lower quality, even if a quality parameter is specified. To avoid common memory problems, set Camera.destinationType to FILE_URI rather than DATA_URL.
https://github.com/apache/cordova-plugin-camera/blob/master/doc/index.md