react-native-dotenv
Advanced tools
Comparing version 0.0.3 to 0.0.4
{ | ||
"name": "react-native-dotenv", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"description": "A Babel preset let you `import` application configs from **.env** file (zero runtime dependency)", | ||
@@ -16,4 +16,4 @@ "main": "index.js", | ||
"dependencies": { | ||
"babel-plugin-dotenv": "^0.0.1" | ||
"babel-plugin-dotenv": "~0.0.2" | ||
} | ||
} |
@@ -61,5 +61,6 @@ # react-native-dotenv | ||
To test it locally, you can use the **Release** configuration to launch the Simulator / Emulator. | ||
### iOS | ||
### iOS | ||
You can use the **Release** configuration to launch the Simulator. (Only supported in RN v0.39+) | ||
``` | ||
@@ -70,6 +71,7 @@ react-native run-ios --configuration Release | ||
### Android | ||
```` | ||
react-native run-android --configuration Release | ||
``` | ||
1. `Command⌘` + `M` to launch the developer menu in Android emulator. | ||
2. Tap **DevSettings**. | ||
3. Toggle **JS Dev Mode**. | ||
## Benefits we got | ||
@@ -84,2 +86,8 @@ | ||
## Troubleshooting | ||
### Changes to .env file is not updated | ||
Manually edit the file importing `react-native-dotenv` (either add a blank line or whitespace) will work. | ||
## Contact | ||
@@ -86,0 +94,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5289
6
98
+ Addedbabel-plugin-dotenv@0.0.2(transitive)
- Removedbabel-plugin-dotenv@0.0.1(transitive)
Updatedbabel-plugin-dotenv@~0.0.2