Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
3.4.0
-
None
-
None
Description
I've been using the Cordova File Plugin for a while and in the past I've set files I stored to the documents folder with the "do not back up" attribute using the following code:
theFile.setMetadata(function(){}, function(){},
{ "com.apple.MobileBackup": 1});
I just submitted an app which was denied from apple because that attribute wasn't being set correctly and iCloud was trying to back up those files.
I don't know objective c very well but I set a few breakpoints to check that I was at least calling the plugin correctly. From what I can tell it's calling the setMetadata function in the CDVFile.m file but the setMetadataForURL function never gets called.
Any help with this would be great. Right now apple is blocking my application from being approved.