@fullstory/react-native
Version:
The official FullStory React Native plugin
22 lines • 898 B
TypeScript
import type { TurboModule } from 'react-native';
import { OnReadyResponse } from './fullstoryInterface';
export interface Spec extends TurboModule {
anonymize(): void;
identify(uid: string, userVars?: Object): void;
setUserVars(userVars: Object): void;
onReady(): Promise<OnReadyResponse>;
getCurrentSession(): Promise<string>;
getCurrentSessionURL(): Promise<string>;
consent(userConsents: boolean): void;
event(eventName: string, eventProperties: Object): void;
shutdown(): void;
restart(): void;
log(logLevel: number, message: string): void;
resetIdleTimer(): void;
startPage(nonce: string, pageName: string, pageProperties?: Object): void;
endPage(uuid: string): void;
updatePage(uuid: string, pageProperties: Object): void;
}
declare const _default: Spec | null;
export default _default;
//# sourceMappingURL=NativeFullStory.d.ts.map