CloudKit sending query push notifications for delete to initiating device
| Originator: | andrew.lipiecki | ||
| Number: | rdar://19226338 | Date Originated: | 12/11/2014 |
| Status: | Open | Resolved: | |
| Product: | iCloud | Product Version: | CloudKit |
| Classification: | Serious Bug | Reproducible: | Always |
Summary: The CloudKit documentation says that for CKSubscriptions, the device that made the change will not receive the subsequent CKQueryNotification. I have a CKSubscription based on an "always true" NSPredicate for CKSubscriptionOptionsFiresOnRecordDeletion. When I delete a CKRecord from a device OTHER THAN the device from which that CKRecord was created, I am getting CKQueryNotification to that device for the deletion Steps to Reproduce: 1. Create a universal iOS application with CloudKit entitlements 2. Create a generic CKRecord 3. Create a CKSubscription with a "always true" NSPredicate for CKSubscriptionOptionsFiresOnRecordDeletion 4. Run the App on 2 different devices 5. Create a CKRecord from device 1 6. When the CKRecord is synced device 2, delete it Expected Results: As stated in the documentation, the device which deletes the CKRecord should not receive a CKQueryNotification for that delete from CloudKit Actual Results: The device which deleted the CKRecord will incorrectly receive a CKQueryNotification for the deletion of that CKRecord
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!
Status updated: Duplicate of 18810914 (Open)