mentrena / SyncKit

Automatic CloudKit synchronization
https://mentrena.github.io/SyncKit/
MIT License
507 stars 59 forks source link

Update Remote Notications in the FAQ #98

Closed NGromann closed 3 years ago

NGromann commented 5 years ago

Before subscribing for remote notifications, the user must call:

application.registerForRemoteNotifications()

this function is no where mentioned in the FAQ and if it is not called, the remote notifications won't work. Also the syntax for the subscription changed to this:

synchronizer.subscribeForUpdateNotifications { (error) in 
    ...
}
mentrena commented 3 years ago

Docs have been updated and this is now mentioned here