0.2.0 • Published 1 year ago

@cheydev/react-native-app-version v0.2.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

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