react-native works on which android versions code example
Example 1: react native android version code
// android/app/build.gradle
android {
defaultConfig {
versionCode 1
versionName "1.0"
{...}
}
{...}
}
Example 2: react native version
{ "name": "AwesomeProject", "version": "0.0.1", "scripts": { "start": "node node_modules/react-native/local-cli/cli.js start",+ "postversion": "react-native-version" }}