ditto-lib / live.ditto / DittoKit / refreshPermissions


fun refreshPermissions(): Unit

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

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