Android
You should be changing your versionCode and versionName in android/app/build.gradle:
android {
defaultConfig {
versionCode 1
versionName "1.0"
{...}
}
{...}
}
The versionCode has to be in an integer that is larger than the ones used for previous releases while versionName is the human-readable version, as it will be shown to users. So use something readable and understandable like what is the main purpose for the release.
iOS
Using Xcode:
You will need to change an iOS project's target target iOS version. XCode > Project Navigator > "General" tab > Deployment Info > Target.
This can be either under Target or Identity section.
Using react-native code:
Go to ios folder and then go to Podfile. At the top, you will find the ios version, there you can change it manually.
If this helped you, like, share and you can follow me on Twitter(X), Instagram and LinkedIn, as I share a lot of helpful technical tips.
Top comments (0)