Commit Graph

253 Commits

Author SHA1 Message Date
luancurti d8d680719f v1.1.0 2020-05-19 15:03:01 -03:00
Jacob Caban-Tomski ab3885f183
Add ouput file to podspec (#454)
Resolves https://github.com/luggit/react-native-config/issues/391
Based on https://github.com/luggit/react-native-config/issues/391#issuecomment-571948199
Add correct output file.
Update input file to use correct root path.
2020-05-19 14:37:10 -03:00
Daniel Winkler 2318d8000b Update ReadDotEnv.rb
Fix to allow spaces in .env file
2020-04-24 14:17:39 -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
luancurti 0fd6fc9e8e chore(contributors): add me as a contributor 2020-03-19 00:27:39 -03:00
luancurti 79f98db781 chore(semantic-release): configure semantic release 2020-03-19 00:17:41 -03:00
luancurti 5dca5f6e05 v1.0.0 2020-03-18 23:55:39 -03:00
luancurti 3cdd99dbd3 chore(example): update example app dependencies 2020-03-18 23:53:05 -03:00
bars0um ab8021cb2b Remove delete of envfile
This should be ok as subsequent runs just overwrite that file anyhow...
closes https://github.com/bars0um/react-native-config/issues/1
2020-03-18 23:31:52 -03:00
Derk 45654bf990 escape double slash in BuildXCConfig.rb 2020-03-18 23:14:47 -03:00
lehug 63a751a34a change google() before jcenter() 2020-03-18 22:15:57 -03:00
dependabot[bot] 37172abd5f Bump handlebars from 4.1.2 to 4.7.3 in /Example
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.1.2 to 4.7.3.
- [Release notes](https://github.com/wycats/handlebars.js/releases)
- [Changelog](https://github.com/wycats/handlebars.js/blob/master/release-notes.md)
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.1.2...v4.7.3)

Signed-off-by: dependabot[bot] <support@github.com>
2020-03-18 22:15:10 -03:00
dependabot[bot] 96c37097dc Bump acorn from 5.7.3 to 5.7.4 in /Example
Bumps [acorn](https://github.com/acornjs/acorn) from 5.7.3 to 5.7.4.
- [Release notes](https://github.com/acornjs/acorn/releases)
- [Commits](https://github.com/acornjs/acorn/compare/5.7.3...5.7.4)

Signed-off-by: dependabot[bot] <support@github.com>
2020-03-18 22:14:37 -03:00
tkow da7aef3a88 always set default value instead of .env 2020-03-18 22:13:18 -03:00
David Schumann 29692093b4 Fix error in README troubleshooting section 2020-03-18 22:10:30 -03:00
Luis Felipe Zaguini e5a2e0b7ec Update index.d.ts
Fixed typings. It will always return a string from the tests that I've made. Is it correct?
2020-03-18 20:56:20 -03:00
Frieder Bluemle 23dcaa96b8 Update react-native to 0.60.5 2020-03-18 20:43:29 -03:00
Vinh Le a8c40f7fba fix podspec for pod install from git 2020-03-18 20:15:10 -03:00
Pedro Belo cf8ab95350 v0.12.0 2019-11-14 09:25:40 -08:00
Pedro Belo 6cfa7c0481 attribution 2019-11-04 22:21:13 -08:00
Jordan Brown 89a602bf8b
Merge pull request #349 from maxkomarychev/xcconfig
Shorter integration for ios + cocoapods issues are fixed
2019-06-26 15:27:03 -07: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
Eric 7390b74934 package.json 2018-11-29 14:12:11 -08:00
Eric 0db14c563e 0.11.7 + changelog 2018-11-29 14:07:21 -08:00
Eric Kreutzer 0c671a5b42
Merge pull request #275 from Kabangi/master
Fix envConfigFiles in build.gradle not working
2018-11-29 14:04:40 -08:00
Eric e5503be218 changelog typo 2018-11-18 15:18:28 -08:00
Eric f7f62ca470 v0.11.6 2018-11-18 15:16:49 -08:00
Eric Kreutzer e5356799d5
Merge pull request #307 from patrickkempff/feature/upgrade-gradle
Updated gradle to v4.4 and gradle-plugin to v3.1.4
2018-11-18 15:10:42 -08:00
Patrick Kempff 0d26194589 Updated gradle to v4.4 and gradle-plugin to v3.1.4 2018-11-08 07:59:55 +01: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
Stanislav Prokopov c6b43e9c17 Added tvOS paltform support (#230)
[tvOS] Update podspec
[tvOS] Add tvOS target
2018-10-22 18:34:14 -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
Julius Kamiri a581358d33
Fix envConfigFiles in build.gradle not working
Caused by picking the default environment file before checking for multiple configurations
2018-08-04 10:30:47 +03:00
Pedro Belo 4a3678e13f v0.11.5 2018-01-09 06:45:00 -08:00
OisinOKeeffe fd60e14862 fix CRLF/LF issue 201 (#207) 2018-01-09 06:43:21 -08:00
Pedro Belo 231145c11d v0.11.4 2018-01-05 08:50:59 -08:00
Pedro Belo ac3510b370 include ts in the package files too 2018-01-05 08:49:55 -08:00
Pedro Belo a1fcad979f v0.11.3 2018-01-04 08:17:36 -08:00
toytonic 831d545b76 Include ts definitions in package.json (#198) 2018-01-04 08:16:06 -08: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 3a38b572d1 v0.11.2 2017-12-08 17:36:39 -08:00
Pedro Belo 195a209c9c escape strings in the env set from Gradle
so FOO=a"b works as expected. FOO="ab" still works because we're
stripping quotes around the values
2017-12-08 17:34:56 -08:00
Anson Yao 7f59748c0b Fix a bug such that different .env can be read according to android flavour (#195) 2017-12-08 17:34:35 -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 f3bb9ec9f8 v0.11.1 2017-12-04 22:15:35 -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 82ee9adad5 fix dotenv.gradle, keep loading the release name from gradle 2017-12-04 22:12:39 -08:00