You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I intend to use Core Data with CloudKit to sync data between devices. While this works fine on the app, it has problems around app extensions.
Svadilfari Extension (Safari Extension) allows users to add/remove entries to the exclusion list. We expect that the changes are synchronized between devices in a reasonable time. However, the first version of iCloud Sync only uploads changes when the user opens the app.
I tried to use NSPersistentCloudKitContainer from the extension, but it did not upload the changes to the cloud. Moreover, it seemed that the extension created its own copy of the database, and therefore, the changes were not visible from the app.
There are several posts on Apple Developer Forums regarding this issue:
I couldn't get around this. Therefore in the initial version,
the Safari extension writes to the shared database on local (using app groups)
when users open the app, the changes are uploaded to CloudKit
However, this behavior is not intuitive and ideal. I want app extensions to directly upload changes to CloudKit and have those changes available in other devices without opening the app.
The text was updated successfully, but these errors were encountered:
I intend to use Core Data with CloudKit to sync data between devices. While this works fine on the app, it has problems around app extensions.
Svadilfari Extension (Safari Extension) allows users to add/remove entries to the exclusion list. We expect that the changes are synchronized between devices in a reasonable time. However, the first version of iCloud Sync only uploads changes when the user opens the app.
I tried to use
NSPersistentCloudKitContainer
from the extension, but it did not upload the changes to the cloud. Moreover, it seemed that the extension created its own copy of the database, and therefore, the changes were not visible from the app.There are several posts on Apple Developer Forums regarding this issue:
I couldn't get around this. Therefore in the initial version,
However, this behavior is not intuitive and ideal. I want app extensions to directly upload changes to CloudKit and have those changes available in other devices without opening the app.
The text was updated successfully, but these errors were encountered: