You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Similar to #300, this library currently does not support reading and writing the value of Group's ContactsContract.SyncColumns.SOURCE_ID, which is a critical component to sync adapter operations.
Solution
Add sourceId field to GroupEntity and support CRUD operations for it.
Although this library is focused on supporting application use cases instead of sync adapter use cases, this field is pretty simple to add and may be used by apps for read operations/queries. It's not that out-of-place 🤔
Regression check GroupsInsert API (new Groups with null source ID but non-null Account should have a non-null source ID automatically assigned to it post-insert assuming sync settings and network connection are enabled).
Check that the source ID is settable using the GroupsInsert API.
Regression check GroupsUpdate API (source ID should remain unchanged between updates if the user did not change them).
Check that the source ID is modifiable using the GroupsUpdate API.
Check GroupsDelete API (delete by matching source ID using WHERE clause).
Check that GroupsQuery API (find by matching source ID using WHERE clause).
Update all in-code documentation, where necessary.
Update docs, where necessary.
Update gh-pages branch, if necessary.
The text was updated successfully, but these errors were encountered:
Problem
Similar to #300, this library currently does not support reading and writing the value of Group's
ContactsContract.SyncColumns.SOURCE_ID
, which is a critical component to sync adapter operations.Solution
Add
sourceId
field toGroupEntity
and support CRUD operations for it.Although this library is focused on supporting application use cases instead of sync adapter use cases, this field is pretty simple to add and may be used by apps for read operations/queries. It's not that out-of-place 🤔
GroupsInsert
API (new Groups with null source ID but non-null Account should have a non-null source ID automatically assigned to it post-insert assuming sync settings and network connection are enabled).GroupsInsert
API.GroupsUpdate
API (source ID should remain unchanged between updates if the user did not change them).GroupsUpdate
API.GroupsDelete
API (delete by matching source ID using WHERE clause).GroupsQuery
API (find by matching source ID using WHERE clause).The text was updated successfully, but these errors were encountered: