Skip to main content
The CometChat Calls SDK on React Native supports viewing screen shares from other participants. When a participant shares their screen from a web or desktop client, the React Native SDK automatically displays it.
Initiating a screen share from React Native is not currently supported. React Native devices can view screen shares started by participants on other platforms.

View Screen Shares

When a participant shares their screen, the SDK automatically displays it. Listen for screen share events:

Pin Screen Share

Pin a participant’s screen share to the main view:

Layout Behavior

When a participant starts sharing their screen:
  • The SDK automatically switches to Sidebar layout
  • The screen share is displayed in the main view
  • Other participants appear in the sidebar
When screen sharing stops:
  • The layout returns to the previous state (if it was programmatically set)

Complete Example