maxkomarychev / react-native-ultimate-config

Config that works
MIT License
262 stars 31 forks source link

Injecting values in arbitrary plist files on IOS #42

Closed vladamx closed 4 years ago

vladamx commented 4 years ago

Is it possible to inject values from env file in arbitrary plist files in root? For example AppCenter-Config.plist

Thanks.

maxkomarychev commented 4 years ago

Hi,

it is not possible to inject values into such files using builtin capabilities of xcode (it doesn't interpolate values in plist files other that info.plist) however you can use hooks capability and copy prepared plist files from to your project. An example of how hooks can be used is located here

vladamx commented 4 years ago

Thanks @maxkomarychev