React-native-config: Can the documentation be updated for defining config values in Info.plist?

Created on 26 Jun 2020  路  4Comments  路  Source: luggit/react-native-config

It seems like there are a few different recommendations floating around for defining config values in Info.plist.

There's the outdated __RN_*** format, and the since-updated$(***) format (is this outdated now too?):
https://github.com/luggit/react-native-config/issues/413#issuecomment-558609214

And finally there's the most recent RNC_*** format:
https://github.com/luggit/react-native-config/issues/437#issuecomment-643771808

Furthermore, there's a potential issue with Info.plist config values when initially building for iOS:
https://github.com/luggit/react-native-config/issues/449

What is the recommended Info.plist usage and setup for react-native-config? Could there at least be an addendum to the troubleshooting section?

Most helpful comment

From my experience with current version (1.3.3) of package, you should follow readme steps, and instead of using $(RNC_XXXXX) use $(***) - the one which works.

All 4 comments

any update about this issue ?

From my experience with current version (1.3.3) of package, you should follow readme steps, and instead of using $(RNC_XXXXX) use $(***) - the one which works.

@mantasmas
Same, current documentation says $(RNC_XXXXX) but $(XXXXX) worked for me..

I'm using v1.3.3

It's a bit of a mess isn't it? I was the one that created #413 and I'm still using __RN_*** and version 0.11.7 of this package because every time I've tried to update it I've become unstuck. Looking for an alternative solution now.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Quadriphobs1 picture Quadriphobs1  路  3Comments

jemise111 picture jemise111  路  4Comments

arcollector picture arcollector  路  4Comments

ORESoftware picture ORESoftware  路  3Comments

aajkishore picture aajkishore  路  3Comments