I have created react native project using create-react-native-app
I can see that there is a sdkVersion property in app.json, but I want to specify minSdkVersion for the app.
How do I specify the minSdkVersion in react native project?
You can change it from app/build.gradle directly
Open the project go to the android/app folder and open build.gradle file.
In this you can find
defaultConfig {
applicationId "PACKAGE_ID"
minSdkVersion 16
targetSdkVersion 27
versionCode 1
versionName "1.0"
multiDexEnabled true
ndk {
abiFilters "armeabi-v7a", "x86"
}
}
change this minSdkVersion 16 according to your requirement