I am trying to create an application and i have added a FileTransferObject to upload pictures from Gallery or Camera, But unfortunately, it only works on Android and on Browser it says
Native: tried calling Camera.getPicture, but Cordova is not available. Make sure to include cordova.js or run in a device/simulator
I am sure there must be any alternative when working with
All suggestions are welcome!