expo-template-bare-minimum 50.0.5 → 50.0.6
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/app/build.gradle
CHANGED
|
@@ -11,11 +11,11 @@ react {
|
|
|
11
11
|
entryFile = file(["node", "-e", "require('expo/scripts/resolveAppEntry')", projectRoot, "android", "absolute"].execute(null, rootDir).text.trim())
|
|
12
12
|
reactNativeDir = new File(["node", "--print", "require.resolve('react-native/package.json')"].execute(null, rootDir).text.trim()).getParentFile().getAbsoluteFile()
|
|
13
13
|
hermesCommand = new File(["node", "--print", "require.resolve('react-native/package.json')"].execute(null, rootDir).text.trim()).getParentFile().getAbsolutePath() + "/sdks/hermesc/%OS-BIN%/hermesc"
|
|
14
|
-
codegenDir = new File(["node", "--print", "require.resolve('@react-native/codegen/package.json')"].execute(null, rootDir).text.trim()).getParentFile().getAbsoluteFile()
|
|
14
|
+
codegenDir = new File(["node", "--print", "require.resolve('@react-native/codegen/package.json', { paths: [require.resolve('react-native/package.json')] })"].execute(null, rootDir).text.trim()).getParentFile().getAbsoluteFile()
|
|
15
15
|
|
|
16
16
|
// Use Expo CLI to bundle the app, this ensures the Metro config
|
|
17
17
|
// works correctly with Expo projects.
|
|
18
|
-
cliFile = new File(["node", "--print", "require.resolve('@expo/cli')"].execute(null, rootDir).text.trim())
|
|
18
|
+
cliFile = new File(["node", "--print", "require.resolve('@expo/cli', { paths: [require.resolve('expo/package.json')] })"].execute(null, rootDir).text.trim())
|
|
19
19
|
bundleCommand = "export:embed"
|
|
20
20
|
|
|
21
21
|
/* Folders */
|
|
@@ -176,5 +176,5 @@ dependencies {
|
|
|
176
176
|
}
|
|
177
177
|
}
|
|
178
178
|
|
|
179
|
-
apply from: new File(["node", "--print", "require.resolve('@react-native-community/cli-platform-android/package.json')"].execute(null, rootDir).text.trim(), "../native_modules.gradle");
|
|
179
|
+
apply from: new File(["node", "--print", "require.resolve('@react-native-community/cli-platform-android/package.json', { paths: [require.resolve('react-native/package.json')] })"].execute(null, rootDir).text.trim(), "../native_modules.gradle");
|
|
180
180
|
applyNativeModulesAppBuildGradle(project)
|
|
@@ -3,5 +3,5 @@
|
|
|
3
3
|
|
|
4
4
|
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW"/>
|
|
5
5
|
|
|
6
|
-
<application android:usesCleartextTraffic="true" tools:targetApi="28" tools:ignore="GoogleAppIndexingWarning" />
|
|
6
|
+
<application android:usesCleartextTraffic="true" tools:targetApi="28" tools:ignore="GoogleAppIndexingWarning" tools:replace="android:usesCleartextTraffic" />
|
|
7
7
|
</manifest>
|
package/android/build.gradle
CHANGED
|
@@ -30,7 +30,7 @@ allprojects {
|
|
|
30
30
|
}
|
|
31
31
|
maven {
|
|
32
32
|
// Android JSC is installed from npm
|
|
33
|
-
url(new File(['node', '--print', "require.resolve('jsc-android/package.json')"].execute(null, rootDir).text.trim(), '../dist'))
|
|
33
|
+
url(new File(['node', '--print', "require.resolve('jsc-android/package.json', { paths: [require.resolve('react-native/package.json')] })"].execute(null, rootDir).text.trim(), '../dist'))
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
google()
|
package/android/settings.gradle
CHANGED
|
@@ -3,8 +3,8 @@ rootProject.name = 'HelloWorld'
|
|
|
3
3
|
apply from: new File(["node", "--print", "require.resolve('expo/package.json')"].execute(null, rootDir).text.trim(), "../scripts/autolinking.gradle");
|
|
4
4
|
useExpoModules()
|
|
5
5
|
|
|
6
|
-
apply from: new File(["node", "--print", "require.resolve('@react-native-community/cli-platform-android/package.json')"].execute(null, rootDir).text.trim(), "../native_modules.gradle");
|
|
6
|
+
apply from: new File(["node", "--print", "require.resolve('@react-native-community/cli-platform-android/package.json', { paths: [require.resolve('react-native/package.json')] })"].execute(null, rootDir).text.trim(), "../native_modules.gradle");
|
|
7
7
|
applyNativeModulesSettingsGradle(settings)
|
|
8
8
|
|
|
9
9
|
include ':app'
|
|
10
|
-
includeBuild(new File(["node", "--print", "require.resolve('@react-native/gradle-plugin/package.json')"].execute(null, rootDir).text.trim()).getParentFile())
|
|
10
|
+
includeBuild(new File(["node", "--print", "require.resolve('@react-native/gradle-plugin/package.json', { paths: [require.resolve('react-native/package.json')] })"].execute(null, rootDir).text.trim()).getParentFile())
|
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": "50.0.
|
|
4
|
+
"version": "50.0.6",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"start": "expo start --dev-client",
|
|
@@ -10,11 +10,11 @@
|
|
|
10
10
|
"web": "expo start --web"
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"expo": "~50.0.0-alpha.
|
|
14
|
-
"expo-splash-screen": "~0.
|
|
15
|
-
"expo-status-bar": "~1.
|
|
13
|
+
"expo": "~50.0.0-alpha.6",
|
|
14
|
+
"expo-splash-screen": "~0.24.0",
|
|
15
|
+
"expo-status-bar": "~1.9.0",
|
|
16
16
|
"react": "18.2.0",
|
|
17
|
-
"react-native": "0.72.
|
|
17
|
+
"react-native": "0.72.5"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
20
|
"@babel/core": "^7.20.0"
|