Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can the documentation be updated for defining config values in Info.plist? #465

Open
sunweiyang opened this issue Jun 26, 2020 · 4 comments

Comments

@sunweiyang
Copy link

sunweiyang commented Jun 26, 2020

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?):
#413 (comment)

And finally there's the most recent RNC_*** format:
#437 (comment)

Furthermore, there's a potential issue with Info.plist config values when initially building for iOS:
#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?

@codiri
Copy link

codiri commented Aug 3, 2020

any update about this issue ?

@ghost
Copy link

ghost commented Sep 9, 2020

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.

@loiclouvet
Copy link

loiclouvet commented Oct 1, 2020

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

I'm using v1.3.3

@JeremyBradshaw7
Copy link

JeremyBradshaw7 commented Nov 4, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants