51 Commits

Author SHA1 Message Date
Taylor Johnson
38b87f914d
Add subspec for iOS extensions without React (#471)
* Add subspec for iOS extensions without React

* hard code script_phase to Extension subspec
2020-07-24 23:06:18 -03:00
Jelle Slowack
9740d5faf3
Update readme.md - different env in ios (#281)
The use of /tmp/envfile is a bad idea, especially when there is one machine doing multiple builds on the same machine in parallel (eg. build server). 

IMHO it is much better to copy the correct .env.staging file to the default .env file. In this way we are not modifying system-wide files like /tmp/envfile.

Do you guys agree?

Co-authored-by: luancurti <luancurti@gmail.com>
2020-06-12 22:19:54 -03:00
Volodymyr Matsola
7b188c16e7
[ios] App extensions support (#456)
* Add support of ios app extension

* Update documentation
2020-05-22 14:56:31 -03:00
Yeongsu Han
034b23cea2
Documentation updates for installation instructions (#303)
* update readme

* update readme for manual link

* trim line

* Update README.md

Co-authored-by: luancurti <luancurti@gmail.com>
2020-05-19 15:25:45 -03:00
Brandon Schlenker
b1e18769b6 Update docs to include Dexguard keep resource rule 2020-04-20 23:42:45 -03:00
mguay22
e5bd6338bb [#369] Update docs to include react-native-config-node 2020-03-19 09:18:53 -03:00
David Schumann
29692093b4 Fix error in README troubleshooting section 2020-03-18 22:10:30 -03:00
Pedro Belo
6cfa7c0481 attribution 2019-11-04 22:21:13 -08:00
Max Komarychev
da45727f6f Polish readme 2019-05-17 09:07:57 +03:00
Max Komarychev
1eb6ac0199 Introduce new approach for ios integration
* ruby scripts were refactored
* environment values are now exposed to Info.plist via xcconfig file
* environment values became available in Build Settings
* cocoapods integration fixed - no need to add custom code to Podfile!
(as suggested in this PR: https://github.com/luggit/react-native-config/pull/329)
2019-05-17 03:06:31 +03:00
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