Upload audio files from cordova to GridFS


#1

I’m trying to upload audio & video files to FSCollection and GridFS storing. Using web platform I don’t have any problem, however when I’m using my android device it stores the file, it seems all right but the copy in the store has always size 0. It only happens using cordova.

Any ideas?

Thanks!


#2

Are you trying this on a physical device, or the emulator. I believe the emulator’s can’t actually record audio, even though they appear to do so. That is why you get a zero byte size.