Posts

Post not yet marked as solved
20 Replies
3k Views
Sync between iOS and Mac Catalyst is intermitent. The fundamental issue is slow and inconsistent remote notifications being sent to and received by the Mac Catalyst app.When making changes in the Mac Catalyst app, those changes are successfully pushed to the iCloud private database and the iOS or iPadOS app successfully receives the remote notification indicating the change. In short, the MacOS -> iOS direction is seemless. When making changes in the other direction, we run into problems. A change in the iOS app successfully gets pushed up to the iCloud private database, and other iOS or iPadOS devices successfully receive the remote notification. However, Mac Catalyst apps most commonly will not receive the remote notification at all, or – occassionally – will receive it several minutes after the change took place. Rarely will the Mac Catalyst app receive the notification in a timeframe consistent with the performance of iOS apps (within 2-4 seconds).Why are Mac Catalyst apps having so much trouble receiving these CloudKit-triggered remote notifications? (Note that these issues are present in both development and production environments.)
Posted Last updated
.
Post marked as solved
1 Replies
487 Views
In attempting to deploy changes made in the development environment to the production environment, the confirmation dialogue shows that all Subscription Types are set to be deleted. Why? The Subscription Types are present in the development environment, and there appears to be no way to prevent deletion of the Subscription Types when deploying to production. As you might imagine, I'm worried deploying our changes will break cloud sync for everyone using our apps by invalidating subscriptions. What's going on here? How can I ensure that CloudKit subscriptions continue to work?
Posted Last updated
.
Post not yet marked as solved
0 Replies
408 Views
Is it possible to use the CKNotificationInfo's desiredKeys property for the CKDatabaseSubscription? I'd like to use have access to those values in the AppDelegate function... application:didReceiveRemoteNotification:fetchCompletionHandler: When I try to create subscriptions with desiredKeys, I get an error reading "cannot add additionalFields to this subscription type." Is that for real? Can we not use desiredKeys with CKDatabaseSubscriptions?
Posted Last updated
.
Post not yet marked as solved
0 Replies
381 Views
The desirable example is exhibited by the Apple Notes widgets. When adding an Apple Notes widget, WidgetKit goes ahead and assigns an IntentConfiguration to the new widget. You can see this by editing the widget and noticing that the selection element does not read "Choose" but instead includes the name of the note or folder that was automatically selected as default for the new widget. You'll also notice that this placeholder widget's data source does not change from one source to another – the assigned IntentConfiguration is respected. How can we do this in our Widgets? It should look like this: someone creates a new widget, we use their most recent data item for the placeholder, and that item is 1) persisted in the Widget until they change it 2) reflected in the edit widget dialogue.
Posted Last updated
.
Post not yet marked as solved
0 Replies
378 Views
Is it possible to run an HKWorkoutSession on Apple Watch, but not let that count towards any of the activity rings?This makes particlar sense for the 'MindAndBody' workout activity type which could be seated or reclined meditation. Users do not want that counting towards their exercise ring, for obvious reasons - however they also want access to all of the in-session notications they get thanks to the HKWorkoutSession enabling our app to function in the background.Has anyone encountered this before, and does anyone have a solution?Thanks.
Posted Last updated
.