Open woowalker opened 5 months ago
what i konw is that i can change .env file through
SET ENVFILE=.env.demo && gradlew assembleRelease
but i don`t konw it is possible to pass custom params to rnconfig like
SET REACT_APP_COOKIE=abc && gradlew assembleRelease
and then get config use
import Config from 'react-native-config'; console.log(Config.REACT_APP_COOKIE)
+1
what i konw is that i can change .env file through
SET ENVFILE=.env.demo && gradlew assembleRelease
but i don`t konw it is possible to pass custom params to rnconfig like
SET REACT_APP_COOKIE=abc && gradlew assembleRelease
and then get config use
import Config from 'react-native-config'; console.log(Config.REACT_APP_COOKIE)