Root provider for the Hiyve React Native SDK.
Wrap your application (or the screen that uses Hiyve) with this provider to enable all @hiyve/rn-react hooks. The provider creates a store instance on mount and cleans it up on unmount.
@hiyve/rn-react
import { HiyveRNProvider } from '@hiyve/rn-react';function App() { return ( <HiyveRNProvider options={{ serverUrl: 'https://your-server.com', token: 'jwt-token' }}> <MeetingScreen /> </HiyveRNProvider> );} Copy
import { HiyveRNProvider } from '@hiyve/rn-react';function App() { return ( <HiyveRNProvider options={{ serverUrl: 'https://your-server.com', token: 'jwt-token' }}> <MeetingScreen /> </HiyveRNProvider> );}
Root provider for the Hiyve React Native SDK.
Wrap your application (or the screen that uses Hiyve) with this provider to enable all
@hiyve/rn-reacthooks. The provider creates a store instance on mount and cleans it up on unmount.