amis-rpc-design/node_modules/@react-native-community/cli-platform-android/build/config/getAndroidProject.d.ts
2023-10-07 19:42:30 +08:00

12 lines
816 B
TypeScript

import { Config } from '@react-native-community/cli-types';
export declare function getAndroidProject(config: Config): import("@react-native-community/cli-types").AndroidProjectConfig;
/**
* Get the package name/namespace of the running React Native app
* @param manifestPath The path to the AndroidManifest.xml
* @param buildGradlePath The path to the build.gradle[.kts] file.
*/
export declare function getPackageName(manifestPath: string | null, buildGradlePath: string | null): string;
export declare function parsePackageNameFromAndroidManifestFile(androidManifest: string): string | null;
export declare function parseNamespaceFromBuildGradleFile(buildGradle: string): string | null;
export declare function validatePackageName(packageName: string): boolean;
//# sourceMappingURL=getAndroidProject.d.ts.map