Any alternative to debug FileTransferObject when running on browser

Hi All,
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 ionic serve

All suggestions are welcome!


Mock out based on the environment