Код: Выделить всё
API_URL=https://linkToApi.com
APP_ID=com.example.test
APP_NAME=App Dev
VERSION_CODE=1.0
VERSION_NAME=1
APP_ICON=ic_launcher
Код: Выделить всё
...
applicationId project.env.get("APP_ID")
resValue "string", "app_name", project.env.get("APP_NAME")
versionCode project.env.get("VERSION_CODE").toInteger()
versionName project.env.get("VERSION_NAME")
команда :
Код: Выделить всё
codepush release-react -a -d Production
Код: Выделить всё
Error: Command 'codepush release-react -a -d Production' failed with exception "No property named "env.get(VERSION_NAME)" exists in the "android/gradle.properties" file."
Подробнее здесь: https://stackoverflow.com/questions/694 ... ersionname