smartech-base-expo-plugin
Version:
Smartech Base Expo SDK's React Native Plugin For React Native Projects.
50 lines (49 loc) • 1.28 kB
TypeScript
export type SmartechBaseProps = {
ios: iosConfig;
android: androidConfig;
isNewArchEnabled: boolean;
deepLinkDelay: number;
};
type MetaDataItem = {
name: string;
value: string;
};
type iosConfig = {
appId: string;
groupIdentifier: string;
autoFetchLocation: boolean;
useAdvID: boolean;
smartechNudges: iOSSmartechNudgesConfig;
isLogEnabled: boolean;
addTestDevice: boolean;
testDeviceURLName?: string;
testDeviceURLSchema?: string;
};
type iOSSmartechNudgesConfig = {
smartechNudgesEnabled: boolean;
appId: string;
appKey: string;
addTestDevice: boolean;
testDeviceURLName?: string;
isLogEnabled: boolean;
testDeviceURLSchema?: string;
};
type androidSmartechNudgesConfig = {
smartechNudgesEnabled: boolean;
addTestDevice: boolean;
useEncryption: boolean;
SMARTECH_NUDGE_SDK_VERSION: string;
isLogEnabled: boolean;
smartechNudgesMetaData: MetaDataItem[];
};
type androidConfig = {
smartechMetaData: MetaDataItem[];
smartechNudges: androidSmartechNudgesConfig;
SMARTECH_BASE_SDK_VERSION: string;
isKotlinProject: boolean;
isLogEnabled: boolean;
autoFetchLocation: boolean;
backupXMLFiles: string;
addTestDevice: boolean;
};
export {};