smartech-base-expo-plugin
Version:
Smartech Base Expo SDK's React Native Plugin For React Native Projects.
42 lines (41 loc) • 1.78 kB
TypeScript
import { SmartechBaseProps } from "./smartechBaseProps";
export declare const repositorySnippet = "repositories {\n maven { url 'https://artifacts.netcore.co.in/artifactory/android' }\n }";
export declare const appBuildGradlePath = "./android/app/build.gradle";
export declare const smartechInitSnippet: {
importStatementJava: string;
importStatementKotlin: string;
onCreateMethodRegexKotlin: RegExp;
onCreateMethodRegexJava: RegExp;
newArchConditionRegexKotlin: RegExp;
newArchConditionRegexJava: RegExp;
newArchCheckRegex: RegExp;
superOnCreatePatternKotlin: string;
superOnCreatePatternJava: string;
createImportStatementJava: (props: SmartechBaseProps) => string;
createImportStatementKotlin: (props: SmartechBaseProps) => string;
};
export declare const hanselTestDeviceSnippet: (iskotlin: boolean) => {
importStatement: string;
testDeviceCode: string;
superOnCreate: string;
};
interface TestDeviceSnippet {
importStatement: string;
superOnCreateStatement: string;
methodStatement: string;
}
export declare const hanselTestDeviceUpdatedSnippet: (isKotlin: boolean) => TestDeviceSnippet;
export declare const smartechTestDeviceSnippet: (isKotlin: boolean) => TestDeviceSnippet;
export declare const smartechInitSnippetKotlin: (props: SmartechBaseProps) => string;
export declare const smartechInitSnippetJava: (props: SmartechBaseProps) => string;
export declare const dependency: {
smartechBase: string;
smartechNudge: string;
};
export declare const smartechHanselEncryptionKey = "SMT_USE_ENCRYPTION";
export declare const dependencyRegex: {
smartechBase: RegExp;
smartechNudge: RegExp;
};
export declare const AutoFetchLocationKey = "SMT_IS_AUTO_FETCHED_LOCATION";
export {};