Hello Team, When calling navigator.camera.getPicture with destinationType set to Camera.DestinationType.DATA_URL, the success function is called with the base64 encoded data while it should has suitable data URL format on the following form:
data:[<mediatype>][;base64],<data> It is an old issue in the library and it was previously reported under: https://issues.apache.org/jira/browse/CB-9819 And recently, it was also reported by one of the library users: https://github.com/apache/cordova-plugin-camera/issues/420 I have a solution for this problem in Android[1], and I can create a similar one for iOS and windows platform but my question is, Do we really want to support this since it is a breaking change as in all older versions of Cordova, a base64 encoded data was always sent, and definitely all documentation is needed to be updated. [OT] I'm sending this email since Julio asked me to post this proposal here in a GitHub issue discussion. Thanks [1] https://github.com/hazems/cordova-plugin-camera/commit/e6609c0b6a590a30ef7802826888693142576bee -- Hazem Saleh Twitter: http://www.twitter.com/hazems