react-native-config 1.5.0 → 1.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/package.json +1 -1
- package/react-native-config.podspec +1 -1
package/README.md
CHANGED
|
@@ -78,13 +78,13 @@ if cocoapods are used in the project then pod has to be installed as well:
|
|
|
78
78
|
**MainApplication.java**
|
|
79
79
|
|
|
80
80
|
```diff
|
|
81
|
-
+ import com.lugg.
|
|
81
|
+
+ import com.lugg.RNCConfig.RNCConfigPackage;
|
|
82
82
|
|
|
83
83
|
@Override
|
|
84
84
|
protected List<ReactPackage> getPackages() {
|
|
85
85
|
return Arrays.asList(
|
|
86
86
|
new MainReactPackage()
|
|
87
|
-
+ new
|
|
87
|
+
+ new RNCConfigPackage()
|
|
88
88
|
);
|
|
89
89
|
}
|
|
90
90
|
```
|
package/package.json
CHANGED
|
@@ -26,7 +26,7 @@ HOST_PATH="$SRCROOT/../.."
|
|
|
26
26
|
),
|
|
27
27
|
execution_position: :before_compile,
|
|
28
28
|
input_files: ['$PODS_TARGET_SRCROOT/ios/ReactNativeConfig/BuildDotenvConfig.rb'],
|
|
29
|
-
output_files: ['$BUILD_DIR/GeneratedInfoPlistDotEnv.h']
|
|
29
|
+
output_files: ['$BUILD_DIR/GeneratedInfoPlistDotEnv.h', '$PODS_TARGET_SRCROOT/ios/ReactNativeConfig/GeneratedDotEnv.m']
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
s.requires_arc = true
|