Post not yet marked as solved
Hi! I am developing Auto Backup Applicaiton with Flutter UI Framework, I successfully acheived my target with Android, but I'm not able to acheive on iOS. Kindly guide me, how can i fetch photos and files apps directory paths?
Post not yet marked as solved
My first iOS/WatchOs app was rejected for "Specifically, iPhone app does not sync with Apple Watch". But it does sync data through the Apple CloudKit.
Should my app support both AppGroup and CloudSync of my CoreData container? If yes, how this is possible? If not, shall I just resubmit the same app and add explanation that app does support CloudSync and attach video evidence?
Post not yet marked as solved
I have an app for client management that stores data in Core Data with an NSPersistentCloudKitContainer. Each manager have their clients in the Core Data Private Database, and each client could have associated files (images, documents, etc) that are stored in app's own folder structure in iCloud Drive.
Eventually, a manager can decide if to share a client with another manager, in order to have a shared managed client (readable, or writable+readable by others managers which share the same client). This is done by moving the Client from the Private Database to the Shared Database following the Apple's guidelines:
https://developer.apple.com/videos/play/wwdc2021/10015/
This is the structure:
The problem is: the database record is shared correctly, but the iCloud Drive Files are not shared (obviously). My goal is to get working the iCloud Drive Client Files (every client has a single Folder) with the minimum effort from the user. I cannot get working the iCloud Drive Sharing from my app, only the Core Data Sharing, so (in development environment) I have to share the Client Core Data Info from the App sheet, and then, go to Finder and share the Client's folder and send the link, so it would be a bit confusing for my users.
Any approach for get working iCloud Drive File Sharing from the (inside) my app? Generate a link and automatically send to the other user.
Or, better, an approach to get working this sharing with a single action from the user (only share once, and it sends the core data info and icloud drive file sharing).
Post not yet marked as solved
I have read that localStorage is a temporary data function(I didn’t even know that since iOS 5.1…) and I was surprised that it deleted all data. Anyways, is it a way to make be there as long as user wants(like on Windows or other devices)?
Also here’s link to code that are on GitHub.
Post not yet marked as solved
iphone storage calculation showing incorrect storage info
clearance on photos videos data files completed
storage still recorded as full
seems like the phone is locked, sut or proxy by unknown entity
please some nice soul help me
Post not yet marked as solved
help: my app uses iCloud document for backing up data, but my user delete files and datas from system settings(iCloud ),now my app can't overwriting either creating files to iCloud. how can I fix it?
Post not yet marked as solved
Hello good afternoon,
I need help, I want to know what solutions mac has to make backups in the cloud, I understand that locally you can make backups with the time machine, but I would like to do the same with the entire profile but in the cloud.
This solution must be for companies.
Thank you very much for your support.
AB
Post not yet marked as solved
What's the purpose of NSFileProviderReplicatedExtension.item(for:request:completionHandler:) call. It seems like it duplicate what the NSFileProviderEnumerator.enumerateItems(for:startingAt:) already returned. I couldn't find where and why this method is called. What happens if it return different types than from the enumerator? Can you please point me to some explanation what is the relation between these two calls?
Post not yet marked as solved
I have been excited to add NSPersistentCloudKitContainer's share functionality to my app but I've noted a few thing I suspect are bugs:
-When using share() on a NSManagedObject the share record is set up in a new zone. However, the root NSManagedObject's record is not being updated with the relationship linkage to the shared record.
-Secondly, when you revoke a share, the cloudkit.share record is removed from iCloud, but not in the local data stores. This makes the fetchShares() method ineffective for detecting a missing cloudkit.share record. In order to re-share the root object the developer must call out to iCloud directly using the old methods to be sure if the share exists or not.
I am using the code from Apple's 'Synchronizing a Local Store to the Cloud' sample. It would be nice if they added support for revoking shares into this sample and addressed these issues.
Post not yet marked as solved
I am trying to use the new API provided by WWDC21 to create Core Data databases that can be shared.
When I do the sharing for an NSManageObject, I tried to experiment with 2 methods.
1: Using UICloudSharingController's
UICloudSharingController(preparationHandler: (UICloudSharingController, @escaping (CKShare?, CKContainer?, Error?) -> Void) -> Void)
method.
Currently this method works and the participants can get all the data after accepting the invitation.
2:Use NSPersistentContainer's
share(_ managedObjects: [NSManagedObject], to share: CKShare?) async throws -> (Set<NSManagedObjectID>, CKShare, CKContainer)
method.
First get ckshare, then call
UICloudSharingController(share:, container: )
With this approach, after accepting the invitation, the participant only gets the data generated after the creation of the ckshare, and the data before the ckshare is never fetched
I'm not sure if it's an error in the token generated by the share method of the NSPersistentContainer or something else. Has anyone encountered a similar situation?
Post not yet marked as solved
My app checks to see if a user is logged into iCloud. Currently, I can throw a user to the Settings.app, or quit.
Can I use Authentication Services instead? If not, any other possibilities?
Thanks
David
Post not yet marked as solved
ISSUE:
"testL2R" is a local folder added. After uploaded to server, I set its meta as isUploaded=YES and set the badge as SyncDone, and signal its parent. Through fileproviderctl tool, I can see the badge name is correctly set. But finderUI never update unless I go to root folder and reenter Private folder again.
I also tried signal workingSet, signal multiple times. Neither of them work. How can I get FinderUI updated?
Post not yet marked as solved
Hi all, I hope you can help with advice. To start, I know little of App programing. I have someone assisting on the side with this.
Currently in the app, before a user makes payment towards a service booking, they must for every single payment provide the: Name on Card, Card number, Exp date and CSV number.
After doing this they are automatically transferred to their banks website to submit an OTP which is then sent to their phone number registered with their bank. Note that I make use of a payment gateway, without 3D secure (using 3D secure would mean a bigger payment percentage the payment gateway takes).
I was hoping that on the app page where the card information is completed the information entered during the first time (except for the CSV number of course) can be stored on the app's database which will then allow for a better UI and UX experience when the client makes payment.
The person assisting with the coding however informed me that Apple will not approve a build which stores card information. Al the apps I see, however exactly does this and only let you complete the CSV which is still missing.
Am I understanding something wrong and/or is there maybe another way to skin the Cat for a better UI, UX experience?
Thank you in advance
Post not yet marked as solved
In the WWDC2021 talk on building apps that share data through CloudKit and Core Data there seems to be a lack of examples that use SwiftUI. Is there any place o find such examples or even a tutorial?
Post not yet marked as solved
Hi.
We are looking into using the user's call history data on an iOS app. The call history has been extracted from the user's iCloud backup.
My question is if there is any EULA or something preventing us from legally using this data in our iOS app and thus if it will pass the Apple verfication for the App Store, since the data has not been provided through any official framework.
Thank you.
Post not yet marked as solved
When I add a picture in a shared item from a device other than the owner I am getting an error in the console as follows: CoreData: Unable to provide a default CKRecordZoneID for database scope: Shared. Please note that I am using the sample project from the WWDC video titled Build apps that share data through CloudKit and Core Data. How might I be able to fix this error and what might be causing it?
Post not yet marked as solved
container.acceptShareInvitations(from: [cloudKitShareMetadata], into: NSPersistentStore)
how to get NSPersistentStore?
Post not yet marked as solved
I've downloaded the Fruit Basket demo project to get a better understanding of how to implement a file provider for macOS.
From running the program and looking through some of the code, I believe I have a vague notion about what it does, only I'm still unsure about a lot of things.
Where can someone find more information about how Fruit Basket is supposed to work and how it can be used?
Post not yet marked as solved
I have been waiting for this for many years. Thank you. Is there demo code that accompanies this video?
Post not yet marked as solved
Hey all,
I've just taken Xcode 13 Beta 2, and I still can't get the sample code from the "Sharing-Data" code to work properly, and nor does the boilerplate code from creating a new project that incorporates CodeData and CloudKit work.
Fo far my feedback items have not been identified as having other similar issues - based on the posts I'm seeing I'm not the only one experiencing the same problem.
Has anyone got this code built and working yet? Mine breaks when you try to copy the sharing link.