lugg / react-native-config

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

how to read variable from env in strings.xml android #364

Open suupham2506 opened 5 years ago

ShirlyChenLaLaLa commented 5 years ago

@suupham2506 edit strings.xml like this

    <string name="facebook_app_id">@string/FACEBOOK_APPID</string>
    <string name="fb_login_protocol_scheme">@string/FACEBOOK_DISPLAY_NAME</string>
ghashi commented 1 year ago

for more info on this, check this part of the documentation (screenshot below): https://github.com/luggit/react-native-config#android

image
rahulnainwal107 commented 6 months ago

291