lugg / react-native-config

Bring some 12 factor love to your mobile apps!
MIT License
4.82k stars 657 forks source link

Can we change env. variables at run-time dynamically? #498

Open martan-fitsense opened 4 years ago

martan-fitsense commented 4 years ago

Hi,

Just wondering if there is a way/feature in react-native-config that we can change the env variables at the run-time dynamically?

For ex. let's say both javascript and native layers are pointing to a url endpoint : https://service-end-point-url1 that is coming from a back-end via a config service. Now if we change the url endpoint to https://service-end-point-url2 in the config service while the app is running, is there any way or solution to get react-native-config to update the environment variables dynamically and propagate the values for both javascript and native layers?

Thanks

ishaqashraf commented 4 years ago

+1

amritaGupta-Qvt commented 3 years ago

+1

fmurpratomo commented 2 years ago

+1

akhilesh-mourya commented 1 year ago

+1

nriccar commented 1 year ago

+1

tgreco commented 8 months ago

+1

rajeshias commented 8 months ago

+1

dgrover-spotnana commented 2 months ago

+1