Skip to content

cheymonty/react-native-app-version

Repository files navigation

react-native-app-version

Get app version and build number of your React Native app

Installation

npm install @cheydev/react-native-app-version

Run pod install in the iOS directory

cd ios && pod install

Usage

import {
  getAppVersion,
  getBuildNumber,
} from '@cheydev/react-native-app-version';

// ...

const appVersion: string = await getAppVersion(); // 1.0
const buildNumber: string = await getBuildNumber(); // 1

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT


Made with create-react-native-library

About

Get app version and build number of your React Native app

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •