This repository has been archived on 2022-03-12. You can view files and clone it, but cannot push or open issues or pull requests.
2021-04-02 02:24:13 +03:00

8 lines
541 B
TypeScript

import { ExpoConfig } from '@expo/config-types';
import { ConfigPlugin } from '../Plugin.types';
export declare const withVersion: ConfigPlugin;
export declare function getVersionName(config: Pick<ExpoConfig, 'version'>): string | null;
export declare function setVersionName(config: Pick<ExpoConfig, 'version'>, buildGradle: string): string;
export declare function getVersionCode(config: Pick<ExpoConfig, 'android'>): number | null;
export declare function setVersionCode(config: Pick<ExpoConfig, 'android'>, buildGradle: string): string;