Skip to content

iOS screen share is not working #64

@mushthak02

Description

@mushthak02

onst toggleScreenShare = async () => {
try {
if (Platform.OS === 'ios') {
// On iOS, just show the picker
// The actual screen share will be enabled when we receive the broadcastStarted notification
const reactTag = findNodeHandle(props?.screenCaptureRef.current);
await NativeModules.ScreenCapturePickerViewManager.show(reactTag);
console.log('📱 Screen share picker shown');
} else {
await room.localParticipant.setScreenShareEnabled(true);
}
} catch (e) {
console.warn('toggleScreenShare error', e);
}
};

const screenCapturePickerView = Platform.OS === 'ios' && (

);
and aslo add native ios file

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions