I am trying to develop a cross platform app for iOS, Android and Windows Phone. I am done with most of my coding and am currently testing the apps. I am using the DevExtreme tools (from DevExpress) and from my knowledge they use PhoneGap for packaging native apps. I sideloaded the app on my Android and Windows phone.
My requirement is to use the camera to take a picture and send it to a remote server WITHOUT saving the image to the device.
I was using the "Camera.destination" as "DATA_URL" and it seems to be working fine with andoird and iOS. The image is sent to the server and the image does not show up in the "Saved Photos" (Gallery/Photo Album). From my understanding I am assuming the image was in memory on these devices and the Base64 string is discarded once the app is closed.
This does not happen with Windows phone. I tried it and the images seem to be saved on the disc always. I still see that the app is successfully sending the image to the remote server. My requirement is that the image never be saved on disc.
navigator.camera.getPicture(onSuccess, onFail, {
quality: 50,
destinationType: Camera.DestinationType.DATA_URL
});
Is using DATA_URL the right way to do it ? if so is this not supported by a windows phone ?