javascript - Downloading file to "/public" directory using Meteor/Cordova iOS -


i'm building ios app similar lynda.com app allows download videos device offline viewing.

i can't seem figure out how download , access files public directory. i'm using org.cordova.apache.file , org.cordova.apache.file-system download files device, meteor cannot access them. thought maybe if these files download "/public" directory, i'd have more luck.

the problem i'm having whenever

meteor run ios-device 

the "version" property of object

meteor.connection._mongo_livedata_collections.meteor_autoupdate_clientversions._docs._map['version-cordova'].version 

gets updated.

i need property append directory path when console.log cordova.file.datadirectory. property shows undefined when try use in variable. can see when console.log can't use in var.

is

meteor.connection._mongo_livedata_collections.meteor_autoupdate_clientversions._docs._map['version-cordova'].version 

a private/protected variable? how can access it? if can figure out i'm considering posting video tutorial since lot of people seem want know how this.


Comments

Popular posts from this blog

java - Custom OutputStreamAppender not run: LOGBACK: No context given for <MYAPPENDER> -

java - UML - How would you draw a try catch in a sequence diagram? -

c++ - No viable overloaded operator for references a map -