I am using react native above 0.60 and I was trying to generate the release apk and uploaded it to google play so I added the code push key of production in buildTypes like this:
buildTypes {
release {
buildConfigField "String", "CODEPUSH_KEY", 'production_key'
}
}
and I totally forget to change the code push key in android/app/src/main/res/values/strings.xml from staging to production
<resources>
<string name="app_name">app_name</string>
<string moduleConfig="true" name="CodePushDeploymentKey">staging_key</string>
</resources>
so which key will be applied? the one in buildTypes or the on in strigs.xml?