dittosynckit / live.ditto / DittoSyncKit / refreshPermissions

refreshPermissions

fun refreshPermissions(): Unit

Provide a hint to DittoSyncKit that app permissions may have changed.

If your Activity requests a permission that is relevant to DittoSyncKit, such as location access, it is recommended to call this method from onRequestPermissionsResultCallback(). This allows DittoSyncKit to detect the new permissions sooner and begin syncing.