41 Commits

Author SHA1 Message Date
Luke Williams
9a372d0e94 Rearrange so Setup steps are clear (#241)
After my experience setting up this library, I strongly recommend these changes.

1. Move Setup info close to the top so it's clear what's necessary.  From the current description, it appears that just importing the library is sufficient, since the reader is probably trying to read from the top and follow step-by-step.

2. Make it clearer that the .plist step is necessary

Thanks!
2018-10-22 18:42:56 -07:00
Thea Lanherne
dd8968d9bf Correct Windows instructions (#222)
On Windows, you need to not surround the ENVFILE variable with quotes in order for it to work. See issue #211
2018-10-22 18:23:16 -07:00
Phillip Baker
9b854b7657 Add README note on testing with jest (#200)
From https://github.com/luggit/react-native-config/issues/24#issuecomment-309836788
2017-12-19 11:51:59 -08:00
Pedro Belo
74a6c8df09 make android setup instructions more prominent 2017-12-04 23:47:58 -08:00
Pedro Belo
0214876a64 fix description, the __RN_CONFIG is a prefix
fix #177
2017-12-04 22:57:14 -08:00
Pedro Belo
4b741517ac better docs on how to use diff config on release
fix #63
2017-12-04 22:13:14 -08:00
Pedro Belo
ca543d38be readme updates, update instructions for yarn/xcode 9 2017-12-04 21:34:52 -08:00
Pedro Belo
10772a259a tweak readme on how to run against diff envs 2017-12-04 15:40:54 -08:00
Pedro Belo
90c22f7350 simplify 2017-12-04 15:33:01 -08:00
Pedro Belo
eb15b7ca71 note about casting configs in gradle
fix #112
2017-12-04 15:27:13 -08:00
Pedro Belo
5a3f72ae1c emphasis 2017-12-04 15:26:53 -08:00
Assem-Hafez
a0fa05a51f update cmd command (#147)
The cmd command have a space between the ENVFILE and the value so the ENVFILE doesn't change.
2017-09-25 12:04:59 -07:00
Joshua Pinter
10ad0a59b7 Emphasize that variables are stored with your code (#157)
I was looking at using this for signingConfigs but found this line about not doing so. Thanks for putting that in there and saving me time. I wanted to emphasize it a little more to make it more obvious for others.
2017-09-15 10:05:35 -07:00
ofirgeller
6213351aac Docs for setting Env with the Windows cmd and Powershell (#123) 2017-06-20 17:05:07 -07:00
Anders Back
a1056e175e Support For Multi Target Applications (#66)
* CONFIGURATION_BUILD_DIR => BUILD_DIR

* support for react native 0.40
2017-04-26 15:00:07 -07:00
Mike Cole
2d35386363 README fix (#68) 2017-01-05 16:49:14 -06:00
Pedro Belo
6da35ff40f clarify location of .env 2016-12-08 08:02:03 -08:00
Pedro Belo
2b46b99f5c note on info.plist setup with the -traditional flag
otherwise the preprocessor will eat special characters from config
vars in .env like "/". see:

https://github.com/luggit/react-native-config/pull/53
2016-12-07 11:25:19 -08:00
mlanter
fdd0572f34 Clarify that must use lowercase build names (#55)
Clarify that build names must be lowercase when specifying the env file in build.gradle
2016-12-06 17:52:04 -08:00
mlanter
1b834b99d9 [info.plist] Add support for using constants in the Info.plist (#53)
* [info.plist]  Add support for using constants in the Info.plist

* Instructions for Info.plist

* Update README.md
2016-12-06 17:44:24 -08:00
Pedro Belo
25c67fd0cf better gradle example
do not encourage users to put signingConfigs in .env
2016-12-06 17:12:24 -08:00
Pedro Belo
983355b32b a note about security. fix #51
:w
2016-11-28 15:28:22 -08:00
mlanter
c6f12527fb Add support for specifying custom env files in gradle (#52)
* Add support for specifying env files in gradle

* Update different environment selection for Android
2016-11-28 15:07:50 -08:00
Michał Ordon
5d875744ad Cut down some unnecessary setup instructions 2016-09-23 18:45:38 +01:00
Pedro Belo
c8aa8f0005 update android instructions to reflect newer react-native versions
fix #25
2016-09-13 19:14:34 -07:00
Pedro Belo
7e35d2e603 typo 2016-09-13 19:03:19 -07:00
Pedro Belo
da6ff2a878 expose config vars for iOS classes too 2016-09-13 19:00:17 -07:00
Aleck Greenham
f0ad581f96 Add Proguard troubleshooting instructions to Readme 2016-08-28 15:13:32 +01:00
Nguyen Cao Nhat Linh
2cf4506c70 Update README.md 2016-06-16 16:15:05 -07:00
Pedro Belo
e40737d520 update readme to show how to pick env files in ios 2016-03-03 16:36:50 -08:00
Pedro Belo
3e4dd003f8 Merge pull request #4 from danielweinmann/fix_readme_android
Fixes compile project instructions for android
2016-03-01 23:02:42 -08:00
Pedro Belo
ae4967d1cc update readme to explain usage from regular Java classes 2016-03-01 23:00:13 -08:00
Daniel Weinmann
b29b9e44bb Fixes compile project instructions for android 2016-03-02 03:35:19 -03:00
Pedro Belo
55770ebae1 clearer 2016-02-24 14:17:12 -08:00
Pedro Belo
4033bbcdb1 readme updates 2016-02-24 14:10:15 -08:00
Pedro Belo
2ce262501e sweet, rnpm is working 2016-02-23 16:42:53 -08:00
Pedro Belo
22236cf33d readme updates 2016-02-23 16:07:33 -08:00
Pedro Belo
df9591e7db readme update 2016-02-22 20:05:00 -08:00
Pedro Belo
bb9fc1432a ios instructions 2016-02-22 17:27:59 -08:00
Pedro Belo
959fc7289f readme updates 2016-02-22 16:29:33 -08:00
Pedro Belo
f872f9298e 1st stab at readme 2016-02-22 16:19:01 -08:00