Bartosz Sosnowski
a9da71d980
Improve Windows support ( #508 )
...
This fixes RNW@0.61 support and adds support for autolinking on RNW@0.63
and beyond.
2020-10-14 13:40:17 -03:00
Rémi Gebski
907be7e7c2
docs: escape cp for PROJECT_DIR with spaces ( #504 )
2020-10-06 09:20:09 -03:00
Bartosz Sosnowski
8616212e61
Add Windows support ( #492 )
...
Add support for react-native-windows. Update the docs and example and
add an automatic CI test.
2020-09-16 11:28:13 -03:00
Claudia
500a3339c7
update readme note that autolinking is available ( #488 )
2020-09-08 09:51:43 -03:00
Sanjay Guruprasad
48ffb6eb92
update readme: add point about accessing variables in info.plist ( #480 )
...
* update readme: explain accessing env variables in info.plist
* Update readme: add link to issue about info.plist
2020-08-10 09:40:23 -03:00
jjd314
876f581c06
Update README.md, correct iOS build pre-action ( #475 )
...
There's a comment as part of the review of pull request #281 by @danielwinkler that the build pre-action for iOS should copy the .env.staging (or whatever) file to ${PROJECT_DIR}/../.env, which turns out to be correct. This change updates the README to reflect that (and also addresses his other comment about the second reference to /tmp/envfile).
@maharjanaman also mentioned on that pull request a problem with the script, and I believe that was from not having a "Provide build settings from" selection, so I added a comment about that, as well.
2020-08-04 09:33:02 -03:00
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