@fullstory/react-native
Version:
The official FullStory React Native plugin
32 lines (31 loc) • 975 B
TypeScript
import { ConfigPlugin } from '@expo/config-plugins';
type LogLevel = 'off' | 'error' | 'warn' | 'info' | 'debug' | 'log';
type FullStoryCrossPlatformProps = {
org: string;
version: string;
host?: string;
recordOnStart?: boolean;
additionalConfigs?: {
ios?: {
[configuration: string]: any;
};
android?: {
[configuration: string]: any;
};
};
};
export type FullStoryAndroidProps = {
logLevel?: LogLevel;
logcatLevel?: LogLevel;
enabledVariants?: string;
} & FullStoryCrossPlatformProps;
export type FullStoryIosProps = {
includeAssets?: {
[directory: string]: string[];
};
workaroundRNSVGCapture?: boolean;
workaroundWKUserContentControllerRemoveAllUserScripts?: boolean;
} & FullStoryCrossPlatformProps;
type FullStoryPluginProps = FullStoryAndroidProps & FullStoryIosProps;
declare const _default: ConfigPlugin<FullStoryPluginProps>;
export default _default;