Common issues, error codes, and solutions for PocketSync
Nothing happens when I start sync
PocketSync.instance.start()
was calledsetUserId
was called before starting syncCannot connect to PocketSync server
Authentication failures
setUserId()
before starting syncSync starts but no data is transferred
PocketSync.instance.start()
was calledData conflicts not resolving correctly
Data loss during synchronization
Sync is slow or consuming excessive resources
How do I reset sync state if things go wrong?
resetChangeTracking
method:What happens if a device is offline for an extended period?
resetChangeTracking()
followed by start()
.How can I verify that sync is working correctly?
syncStatus
streamCan I sync only specific tables or records?
How do I handle schema migrations with PocketSync?