Skip to content

RtkPluginMain

Renders an active plugin in a WebView with fullscreen toggle and close button. Handles plugin iframe communication.

Properties

PropertyTypeRequiredDefaultDescription
meetingRealtimeKitClient-The RealtimeKit meeting instance
pluginRTKPlugin-The plugin to render
iconPackIconPackdefaultIconPackCustom icon pack

Usage Examples

Basic Usage

import { RtkPluginMain } from "@cloudflare/realtimekit-react-native-ui";
function MyComponent() {
return <RtkPluginMain meeting={meeting} plugin={activePlugin} />;
}

With Properties

import { RtkPluginMain } from "@cloudflare/realtimekit-react-native-ui";
function MyComponent() {
return (
<RtkPluginMain
meeting={meeting}
plugin={activePlugin}
iconPack={customIconPack}
/>
);
}