137 Commits

Author SHA1 Message Date
Pedro Belo
2dcd3a5848 v0.9.0 v0.9.0 2017-10-17 09:55:58 -07:00
Jonathan Kim
119353630c Add requiresMainQueueSetup to fix warning in RN 0.49+ (#172) 2017-10-17 09:53:42 -07:00
Jonathan Kim
8edb7f5ab2 Added CHANGELOG (#171) 2017-10-17 09:53:21 -07:00
Pedro Belo
0b1b91d078 v0.8.1 v0.8.1 2017-10-06 14:22:15 -07:00
Bas Pellis
5321caba98 Allow to specify env files location as absolute path 2017-10-06 14:15:00 -07:00
Pedro Belo
e82ade149b v0.8.0 v0.8.0 2017-10-05 15:01:05 -07:00
Martin
5e3aa91884 fixed breaking change for RN 0.48 (#164) 2017-10-05 15:00:37 -07:00
Pedro Belo
52733cd5cf v0.7.2 v0.7.2 2017-10-05 14:58:00 -07:00
Pedro Belo
2e36962780 no need for json anymore 2017-10-05 14:57:36 -07:00
Pedro Belo
bf3a97fa7e v0.7.1 v0.7.1 2017-09-26 15:15:03 -07:00
Allan Wright IV
9579b36811 Fixed iOS 8.0 support issue (#163)
Fixed #65
2017-09-26 15:14:38 -07:00
Pedro Belo
e354279a6a v0.7.0 v0.7.0 2017-09-25 12:06:20 -07:00
Chaitanya Bhagvan
accfef9b8a Add Pods Public Header path to HEADER_SEARCH_PATHS (#140)
When react-native is installed using cocoapods xcode cannot find react headers for react-native-config. This PR adds to HEADER_SEARCH_PATHS to look at header files in the Pods. 
Since Cocoapods does not allow build scripts it's still a good idea to link react-native-config with react-native link and add support for projects that do use react native via cocoapods
2017-09-25 12:06:12 -07:00
mahmoud ™
55bc85decf Add support for ENVFILE to iOS (#145) 2017-09-25 12:05:20 -07: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
Phillip Baker
d7bf157d01 Update regex examples to clarify treatment of spaces (#149)
```
# Double quotes contain the resulting values (to signify whitespace)
DOT_ENV=dotenv # => "dotenv"
#DOTENV=dotenv # => no match
DOT_ENV= asdf asf # => " asdf asf "
DOTENV='dot env' # => "dot env"
DOTENV="dot env" # => "dot env"
DOT_ENV='dotenv' # => "dotenv"
DOT_ENV="DotEnv" # => "DotEnv"
DOTENV="Dot\nEnv" # => "Dot\nEnv"
DOTENV="{"Dot":"Env"}" # => "{\"Dot\":\"Env\"}"
export DOTENV="dotenv" # => "dotenv"
DOTENV ="dot env" # => no match
DOTENV= "dot env" # => "dot env"
DOTENV = "dot env" # => no match
```
2017-09-25 12:04:39 -07:00
Filip Kinský
629614bf2c fixed Android dotenv.gradle quotes matching (#151)
Fixed the regex - it caused syntax error in generated BuildConfig.java file when quotes were used in the `.env` file. `export VAR1="aa bb cc"` caused
```
/BuildConfig.java:15: error: unclosed string literal
  public static final String VAR1 = "aa bb cc"";
                                              ^
1 error
```
2017-09-25 12:03:57 -07:00
Nick Warner
a141d87274 Change import priority of React/RCTBridgeModule.h (#155) 2017-09-25 12:02:49 -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
Pedro Belo
e4c4a07e66 v0.6.1 v0.6.1 2017-09-08 13:54:36 -07:00
Amurmurmur
4ca9231ea5 Fix backward compatibility for RN < 0.47 (#144) 2017-09-08 13:52:10 -07:00
Gant Laborde
3306ea2637 bump version to do release for RN 0.47 v0.6.0 2017-08-04 13:21:26 -05:00
Alex Summer
4d8ffdb995 Remove override of 'createJSModules' (#137) 2017-08-02 18:01:46 -07:00
Vojtech Novak
966a29dc66 Update README.md (#61) 2017-08-02 18:00:46 -07:00
Pedro Belo
bd20afa38e v0.5.0 v0.5.0 2017-06-20 17:15:27 -07:00
Ben Yorke
46b7f9401c Allow exported variables in .env (#116) 2017-06-20 17:14:38 -07:00
ofirgeller
6213351aac Docs for setting Env with the Windows cmd and Powershell (#123) 2017-06-20 17:05:07 -07:00
Eric Burke
69223a4db8 Fix for issue #56. Use task names and not task requests args to figure out which env file to use. The args and names should be the same. (#115) 2017-06-20 17:04:39 -07:00
Pedro Belo
701ae6c13c v0.4.2 v0.4.2 2017-05-02 17:27:38 -07:00
David Urbane
5cd47f9c1f Change dotenv pattern to support lowercase and numbers. (#108) 2017-05-02 17:27:11 -07:00
Pedro Belo
5803c20c51 v0.4.1 v0.4.1 2017-04-28 13:55:33 -07:00
Vojtěch Bartoš
f5fa5dd80f Package: including .podspec file during package installation (#106) 2017-04-28 13:54:56 -07:00
Pedro Belo
cfdbaf2392 v0.4.0 v0.4.0 2017-04-26 15:30:34 -07:00
Pedro Belo
d673000a0a keep quotes around the value optional for now
see:
https://github.com/luggit/react-native-config/pull/98#issuecomment-297559873
2017-04-26 15:29:56 -07:00
Pedro Belo
e4876b75df update podspec, point to our repo
and other updates from thiemo--bleeken
2017-04-26 15:12:42 -07:00
Thiemo Bleeken
7d33bd5ad6 add podspec, update version number 2017-04-26 15:12:33 -07:00
Christian Brevik
17557df295 Add input file to run script to fix build problems on server (#73)
* Add input file to run script

* Add conditional import for 0.40
2017-04-26 15:01:16 -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
sandeep.gs
fe9d1441b9 correct error message (#91) 2017-04-26 14:58:56 -07:00
Carl Thuringer
f8d9a7e714 Support Dotenv with quotes and nested quotes (#98)
* Support Dotenv with quotes and nested quotes

* Handle case of empty value

* Handle empty lines
2017-04-26 14:58:25 -07:00
Henry Tao
d2169de8c8 Added defaultEnvFile config (#99) 2017-04-26 14:55:36 -07:00
Pedro Belo
5e4abf1da6 v0.3.1 v0.3.1 2017-02-01 11:02:38 -08:00
Pedro Belo
80ca5dfe36 bringing rn 0.40 compat 2017-02-01 11:02:15 -08:00
Pedro Belo
17c347d11a v0.2.5 v0.2.5 2017-02-01 11:01:33 -08:00
Pedro Belo
76204343fc revert rn 0.4 compat, leaving this for 0.3 2017-02-01 11:01:01 -08:00
Pedro Belo
5766dfb4b9 v0.2.2 v0.2.2 2017-01-25 12:21:39 -08:00
Gant Laborde
035a3b184a Merge pull request #72 from beeglebug/master
update ios headers for react native 0.40
2017-01-19 13:09:05 -08:00
Stuart Lee
c4196e0f2c update ios headers for react native 0.40 2017-01-11 16:23:15 +00:00
Mike Cole
2d35386363 README fix (#68) 2017-01-05 16:49:14 -06:00
Pedro Belo
eb54ca11d6 v0.2.1 v0.2.1 2016-12-08 08:48:02 -08:00