The default behavior of the annotation sync feature can be configured using the methods below.
By default, when a synced annotation is found that was created by a user that does not exist in your database, the annotation author is replaced with the current user.
However, you can change this functionality by providing the
annotationSyncSettings.unknownUserStrategy and passing one of the below strategies.
The default behavior when syncing annotations created by unknown users. This strategy will replace the unknown user with the currently signed in user (AKA the user who performed the sync operation).
This strategy maintains the username of the external user who created the annotation. Using this strategy will set the authorId to
null in your database, and tells the client to use the username of the person who created the annotation.