mirror of
https://github.com/status-im/react-native-config.git
synced 2025-02-28 06:50:47 +00:00
update readme: add point about accessing variables in info.plist (#480)
* update readme: explain accessing env variables in info.plist * Update readme: add link to issue about info.plist
This commit is contained in:
parent
3ed79e4bb6
commit
48ffb6eb92
@ -187,6 +187,8 @@ ios/tmp.xcconfig
|
||||
"${SRCROOT}/../node_modules/react-native-config/ios/ReactNativeConfig/BuildXCConfig.rb" "${SRCROOT}/.." "${SRCROOT}/tmp.xcconfig"
|
||||
```
|
||||
|
||||
7. **Accessing your variable in info.plist**: You can now access your env variable using the prefix `RNC_`, for example `$(RNC_MY_ENV_VARIABLE)`. If you face issues accessing variables, please refer to [this issue](https://github.com/luggit/react-native-config/issues/391#issuecomment-632331803).
|
||||
|
||||
#### App Extensions
|
||||
|
||||
Add dependency to `react-native-config`.
|
||||
|
Loading…
x
Reference in New Issue
Block a user