I have a FILE_URI(which is a path to the file), How do I use this to upload the file in parse? my parse data "db" currently has a column named "image" and is a file type field. How do I handle this? I have attempted to create a parse file then setting it and saving it but no dice. thanks.
$scope.fileURL // FILE_URI "file:///var/mobile/Containers/data/application/"
var parseFile = new Parse.File("img.png", $scope.fileURL);
var image = new Parse.Object("image");
image.set("image", parseFile);
image.save();