Open factualz opened 10 years ago
I'm not sure if getting it to work with cordova is a priority before 1.0, but if you provide a reproduction repo, we can see if there's something simple.
A couple comments on your code:
contentType
should be type
, but...size
and type
because attachData will overwrite them anyway.
FS.Collection insert doesnt work when called from Cordova app (using any of the methdos https://github.com/SpaceCapsule/Meteor-cordova in iframe or https://github.com/zeroasterisk/MeteorRider). I am using GridFS as store. The insert call inserts a document in cfs.xxx.filerecord but fails to send the file chunks. The same code works beautfiully in web. Please check and fix as we are dependent on CollectionFS for production release plan.