Meteor 1.3 + Cordova: How to pass path to /public files?


#1

Hey,
just one quick question about Cordova and Meteor 1.3. I’m trying to get the path of a sound file saved in my public folder ("/public/sounds/hello.mp3") to pass it to the cordova-media-plugin. Is there any method to get the complete path?


#2

have a look at this: https://guide.meteor.com/mobile.html#accessing-local-files
Should just work fine.


#3

Yeah, this will work if you get a file url from a plugin like media capture, but in my case, I need the full path to the /public folder.