icloud

ionic 2 How to download file from Google Drive and I-cloud

你。 提交于 2019-12-11 06:13:44
问题 I am working on a chat application and I want to add attachment functionality in my App. I want to attach every kind of file from Google Drive and I-Cloud ?? I have tried many thing but they all didn't worked I Tried doing it with "how implement google drive in ionic app" (It didn't worked). I tried it with cordova plugin "cordova-plugin-jc-googledrive" But I think it does not support IONIC 2 My app Is based on IONIC-2 and Angular-2. Can some one suggest me a way to attach file from drive and

Data Loss Core Data

落爺英雄遲暮 提交于 2019-12-11 05:43:17
问题 I have reports from a handful of users of my production app that data has disappeared. My app has been in development/production for over 2 years now and I have never observed this data loss or have been able to reproduce it. Here is the information I have: My app stores all of its data using core data I have iCloud/Core Data sync enabled. The sync is not working at all, but that is a separate issue all together. There is no mechanism in my app that deletes data without explicit permission

Using Core Data, iCloud and issue with live sync

泄露秘密 提交于 2019-12-11 05:17:48
问题 I am using Core data and iCloud for syncing purpose in my app.I am facing a problem when sync with two devices. Example : I am using customerID as primary key in my database.when i entered a data in my one device that ID is no.1 and the same time If i entered a different data in my another device,that one also will be no.1,So when it sync and refresh the database my app is getting crashed due to same customerID which should be unique one. Note : customer ID automatically get the next

taskgated: killed app because its use of the com.apple.developer.ubiquity-container-identifiers entitlement is not allowed

主宰稳场 提交于 2019-12-11 04:58:53
问题 So, create a vanilla project, build & run... App does not appear. Open console: "1/10/12 6:32:29.967 PM taskgated: killed com.myapp.TEST[pid 28092] because its use of the com.apple.developer.ubiquity-container-identifiers entitlement is not allowed" Pretty much the same question as here Turning Entitlements on in Xcode Prevents Bare Bones App From Launching And here. Mac application crashes (killed due to entitlements) regardless of whether entitlements are enabled I am not using iCloud. In

CalDav Client for iCloud: MKCOL fails with 412 precondition failed

a 夏天 提交于 2019-12-11 02:47:50
问题 I need help. I implemented a CalDav Client on our System and it worked like a charm. Now I have some problems with creating new calendars on iCloud. Maybe some of you know how I can fix this. Currently I get a 412 Error. Headers: "Depth: 1" "Content-Type: application/xml; charset=UTF-8" "User-Agent: DAVKit/4.0.1 (730); CalendarStore/4.0.1 (973); iCal/4.0.1 (1374); Mac OS X/10.6.2 (10C540)"` Request: `MKCOL` Body: <D:mkcol xmlns:D="DAV:" xmlns:C="urn:ietf:params:xml:ns:caldav"> <D:set> <D:prop

iCloud: Sync Core Data between IOS and OSX

做~自己de王妃 提交于 2019-12-11 02:43:35
问题 I try to sync core data between IOS and OSX. At both apps I have the same configuration: And the same entitlements: I also use the same code for the store coordinator within the same name for sqlite file and url: NSManagedObjectModel* managedModel = [NSManagedObjectModel mergedModelFromBundles:nil]; NSPersistentStoreCoordinator* storeCooordinator = [[NSPersistentStoreCoordinator alloc] initWithManagedObjectModel:managedModel]; //-> start iCloud dispatch_async(dispatch_get_global_queue

How to force NSArrayController to reload MOC contents to reflect latest fresh data

旧街凉风 提交于 2019-12-11 02:18:25
问题 I am working on a Mac & iOS App, with iCloud CoreData in between to synchronize the data. When I update some thing from iOS App, and the updates are already migrated to the PersistentStore in Mac App while the Mac App is running. The problem is I cannot find an effective way to force the NSArrayController to reload all data from the store. tried -(void) fetch:(id)sender; only can see the delete or added entity, but the updated model property not refreshed... Please help. Thanks 回答1: If you

Possible app rejection by syncing zipped sqlite database in iOS

六眼飞鱼酱① 提交于 2019-12-10 23:18:09
问题 I have a SQLite DB that I need to backup using iCloud. I am aware that Apple recommends not to sync the whole DB and it may reject the App. Possible workarounds includes - 1) Switch to Core Data - Its too late for this option and given the learning curve for core date, I do not wish to extend the timelines. 2) Maintain log files for SQLite and Sync the log file - This option is more valid and I would be working on it as a fail-safe 3) Zip the DB using ZipArchive and Sync the zip file - This

do not Backup flag for iOS 5.1?

ⅰ亾dé卋堺 提交于 2019-12-10 23:05:02
问题 my first music downloading app get rejected due to some issues in data storage guidelines. i tried to save my mp3 file in NSDocumentDirectory. i need to resubmit my app by adding flag "Do not backup". here is my code, NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES); NSString *documentsDirectoryPath = [[paths objectAtIndex:0]stringByAppendingPathComponent:@"Music.mp3"]; [receivedData writeToFile:documentsDirectoryPath atomically:YES]; [self

iOS Swift 3 Copy File to iCloud Drive Programatically

橙三吉。 提交于 2019-12-10 19:23:50
问题 In my I'm having documents download option. When users downloading documents from my app I need to store it to users iCloud Drive which was install in users mobile already. I have configured iCloud in both web and in Xcode, but problem is I'm not able to copy files to iCloud Drive correctly. File was downloaded successfully, and also it moving to iCloud but files won't appearing in iCloud Drive App. Here is my tried code: <key>NSUbiquitousContainers</key> <dict> <key>iCloud