UNPKG

@adobe/react-native-aepcore

Version:

Adobe Experience Platform support for React Native apps.

15 lines (14 loc) 822 B
import { MobileVisitorAuthenticationState } from './models/MobileVisitorAuthenticationState'; import VisitorID from './models/VisitorID'; interface IIdentity { extensionVersion: () => Promise<string>; syncIdentifiers: (identifiers?: Record<string, string>) => void; syncIdentifiersWithAuthState: (identifiers: Record<string, string> | null, authenticationState: MobileVisitorAuthenticationState) => void; syncIdentifier: (identifierType: String, identifier: String, authenticationState: MobileVisitorAuthenticationState) => void; appendVisitorInfoForURL: (baseURL?: String) => Promise<string>; getUrlVariables: () => Promise<string>; getIdentifiers: () => Promise<Array<VisitorID>>; getExperienceCloudId: () => Promise<string>; } declare const Identity: IIdentity; export default Identity;