Contact Syncing Guide
Control whether the StreamLayer iOS SDK accesses the user's device contacts for social features.
The StreamLayer SDK can sync the user's device contacts to power social features like Who's Online. If your app does not use these features, or if you want to manage contact permissions yourself, you can disable contact syncing.
Disable Contact Syncing
Set the following property before creating a session:
StreamLayer.config.phoneContactsSyncEnabled = falseWhen set to false, the SDK will not request access to the user's contacts, and social features that rely on contacts — such as the Who's Online friend list — will only show users the viewer has interacted with inside the app.
Related
- Who's Online — See which friends are currently in the app
Updated 15 days ago
