Initialization

After installing the SDK, initialize it in App.tsx file


Copy the code below and replace the "ACCOUNT_ID" and "SDK_KEY" with the appropriate values from the dashboard.

import {config} from 'vwo-insights-react-native-sdk';

React.useEffect(() => {
    config(ACCOUNT_ID, SDK_KEY, '')
  }, []);


📘

An internal condition check ensures that the above initialization runs only on iOS, not on Android.