mo22 / react-native-mo-versioning

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

react-native-mo-versioning

Automatically set IOS and Android version numbers for your project.

Installation

Install just like your ordinary react-native module.

Notes

For IOS there is a custom build script phase defined via react-native.config.js that updates the project's Info.plist file with the current version number.

For Android you either have to manually trigger the linking script:

node node_modules/react-native-mo-versioning/link.js link

or edit the android/app/build.gradle and add the following line at the end:

apply from: "../../node_modules/react-native-mo-versioning/gradle-set-version.gradle"

About


Languages

Language:TypeScript 36.2%Language:Java 26.5%Language:JavaScript 24.4%Language:Ruby 6.5%Language:Objective-C 5.2%Language:Shell 1.1%