expo-template-bare-minimum 46.0.31 → 46.0.33
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/android/build.gradle +14 -1
- package/package.json +1 -1
package/android/build.gradle
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import org.apache.tools.ant.taskdefs.condition.Os
|
|
2
2
|
|
|
3
3
|
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
|
4
|
-
|
|
5
4
|
buildscript {
|
|
6
5
|
ext {
|
|
7
6
|
buildToolsVersion = findProperty('android.buildToolsVersion') ?: '31.0.0'
|
|
@@ -34,7 +33,15 @@ buildscript {
|
|
|
34
33
|
}
|
|
35
34
|
}
|
|
36
35
|
|
|
36
|
+
def REACT_NATIVE_VERSION = new File(['node', '--print',"JSON.parse(require('fs').readFileSync(require.resolve('react-native/package.json'), 'utf-8')).version"].execute(null, rootDir).text.trim())
|
|
37
|
+
|
|
37
38
|
allprojects {
|
|
39
|
+
configurations.all {
|
|
40
|
+
resolutionStrategy {
|
|
41
|
+
force "com.facebook.react:react-native:" + REACT_NATIVE_VERSION
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
38
45
|
repositories {
|
|
39
46
|
mavenLocal()
|
|
40
47
|
maven {
|
|
@@ -57,3 +64,9 @@ allprojects {
|
|
|
57
64
|
maven { url 'https://www.jitpack.io' }
|
|
58
65
|
}
|
|
59
66
|
}
|
|
67
|
+
|
|
68
|
+
configurations.all {
|
|
69
|
+
resolutionStrategy {
|
|
70
|
+
force 'com.facebook.react:react-native:0.69.6'
|
|
71
|
+
}
|
|
72
|
+
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "expo-template-bare-minimum",
|
|
3
3
|
"description": "This bare project template includes a minimal setup for using unimodules with React Native.",
|
|
4
|
-
"version": "46.0.
|
|
4
|
+
"version": "46.0.33",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"start": "expo start --dev-client",
|