UNPKG

816 BTypeScriptView Raw
1import { Config } from '@react-native-community/cli-types';
2export declare function getAndroidProject(config: Config): import("@react-native-community/cli-types").AndroidProjectConfig;
3/**
4 * Get the package name/namespace of the running React Native app
5 * @param manifestPath The path to the AndroidManifest.xml
6 * @param buildGradlePath The path to the build.gradle[.kts] file.
7 */
8export declare function getPackageName(manifestPath: string | null, buildGradlePath: string | null): string;
9export declare function parsePackageNameFromAndroidManifestFile(androidManifest: string): string | null;
10export declare function parseNamespaceFromBuildGradleFile(buildGradle: string): string | null;
11export declare function validatePackageName(packageName: string): boolean;
12//# sourceMappingURL=getAndroidProject.d.ts.map
\No newline at end of file