Because .json works well with TypeScript, I am wondering if there is support for .json files instead of .env and if this can be better documented in the readme etc?
I solved this by writing a (bad but working) node.js script to generate the types from .env files.
I wrote about it here. Hope it helps.
https://osamaq.com/react-native-generating-typescript-types-for-environment-variables/
probably easier to generate the .env files from a node.js file
@ORESoftware hey, if you're looking for strong typing support I have created competing library that offers this: https://github.com/maxkomarychev/react-native-ultimate-config
Most helpful comment
@ORESoftware hey, if you're looking for strong typing support I have created competing library that offers this: https://github.com/maxkomarychev/react-native-ultimate-config