smartech-base-expo-plugin
Version:
Smartech Base Expo SDK's React Native Plugin For React Native Projects.
51 lines (45 loc) • 1.17 kB
text/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
}
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
}