0

I'm trying to understand how can I use environment variables in React Native on release. I know to use it on development (just creating a .env file) but when I publish some app at the Play Store, do I have the option to set some env. var? Otherwise I will need to publish the .env too? It's secure?

Thank you in advance!

  • Does [this](https://stackoverflow.com/questions/33117227/setting-environment-variable-in-react-native) answer your question? – Rohit Aggarwal Jul 23 '21 at 12:50
  • Hi @Rohit, Thank you for your reply! Actually I didn't get it. If I create a .env file, it will be exposed on release? I mean, if someone try a reverse engineering in my code, my env. var will be discovered? – fernando fincatti Jul 23 '21 at 16:06

0 Answers0