expo-template-bare-minimum 50.0.5 → 50.0.7
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())
|
|
@@ -139,7 +139,6 @@
|
|
|
139
139
|
buildConfigurationList = 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "HelloWorld" */;
|
|
140
140
|
buildPhases = (
|
|
141
141
|
08A4A3CD28434E44B6B9DE2E /* [CP] Check Pods Manifest.lock */,
|
|
142
|
-
FD10A7F022414F080027D42C /* Start Packager */,
|
|
143
142
|
13B07F871A680F5B00A75B9A /* Sources */,
|
|
144
143
|
13B07F8C1A680F5B00A75B9A /* Frameworks */,
|
|
145
144
|
13B07F8E1A680F5B00A75B9A /* Resources */,
|
|
@@ -259,26 +258,6 @@
|
|
|
259
258
|
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-HelloWorld/Pods-HelloWorld-resources.sh\"\n";
|
|
260
259
|
showEnvVarsInLog = 0;
|
|
261
260
|
};
|
|
262
|
-
FD10A7F022414F080027D42C /* Start Packager */ = {
|
|
263
|
-
isa = PBXShellScriptBuildPhase;
|
|
264
|
-
alwaysOutOfDate = 1;
|
|
265
|
-
buildActionMask = 2147483647;
|
|
266
|
-
files = (
|
|
267
|
-
);
|
|
268
|
-
inputFileListPaths = (
|
|
269
|
-
);
|
|
270
|
-
inputPaths = (
|
|
271
|
-
);
|
|
272
|
-
name = "Start Packager";
|
|
273
|
-
outputFileListPaths = (
|
|
274
|
-
);
|
|
275
|
-
outputPaths = (
|
|
276
|
-
);
|
|
277
|
-
runOnlyForDeploymentPostprocessing = 0;
|
|
278
|
-
shellPath = /bin/sh;
|
|
279
|
-
shellScript = "if [[ -f \"$PODS_ROOT/../.xcode.env\" ]]; then\n source \"$PODS_ROOT/../.xcode.env\"\nfi\nif [[ -f \"$PODS_ROOT/../.xcode.env.updates\" ]]; then\n source \"$PODS_ROOT/../.xcode.env.updates\"\nfi\nif [[ -f \"$PODS_ROOT/../.xcode.env.local\" ]]; then\n source \"$PODS_ROOT/../.xcode.env.local\"\nfi\n\nexport RCT_METRO_PORT=\"${RCT_METRO_PORT:=8081}\"\necho \"export RCT_METRO_PORT=${RCT_METRO_PORT}\" > `$NODE_BINARY --print \"require('path').dirname(require.resolve('react-native/package.json')) + '/scripts/.packager.env'\"`\nif [ -z \"${RCT_NO_LAUNCH_PACKAGER+xxx}\" ] ; then\n if nc -w 5 -z localhost ${RCT_METRO_PORT} ; then\n if ! curl -s \"http://localhost:${RCT_METRO_PORT}/status\" | grep -q \"packager-status:running\" ; then\n echo \"Port ${RCT_METRO_PORT} already in use, packager is either not running or not running correctly\"\n exit 2\n fi\n else\n open `$NODE_BINARY --print \"require('path').dirname(require.resolve('expo/package.json')) + '/scripts/launchPackager.command'\"` || echo \"Can't start packager automatically\"\n fi\nfi\n";
|
|
280
|
-
showEnvVarsInLog = 0;
|
|
281
|
-
};
|
|
282
261
|
/* End PBXShellScriptBuildPhase section */
|
|
283
262
|
|
|
284
263
|
/* Begin PBXSourcesBuildPhase section */
|
|
@@ -308,7 +287,7 @@
|
|
|
308
287
|
"FB_SONARKIT_ENABLED=1",
|
|
309
288
|
);
|
|
310
289
|
INFOPLIST_FILE = HelloWorld/Info.plist;
|
|
311
|
-
IPHONEOS_DEPLOYMENT_TARGET = 13.
|
|
290
|
+
IPHONEOS_DEPLOYMENT_TARGET = 13.4;
|
|
312
291
|
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
|
|
313
292
|
MARKETING_VERSION = 1.0;
|
|
314
293
|
OTHER_LDFLAGS = (
|
|
@@ -332,7 +311,7 @@
|
|
|
332
311
|
CLANG_ENABLE_MODULES = YES;
|
|
333
312
|
CURRENT_PROJECT_VERSION = 1;
|
|
334
313
|
INFOPLIST_FILE = HelloWorld/Info.plist;
|
|
335
|
-
IPHONEOS_DEPLOYMENT_TARGET = 13.
|
|
314
|
+
IPHONEOS_DEPLOYMENT_TARGET = 13.4;
|
|
336
315
|
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
|
|
337
316
|
MARKETING_VERSION = 1.0;
|
|
338
317
|
OTHER_LDFLAGS = (
|
|
@@ -394,7 +373,7 @@
|
|
|
394
373
|
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
|
|
395
374
|
GCC_WARN_UNUSED_FUNCTION = YES;
|
|
396
375
|
GCC_WARN_UNUSED_VARIABLE = YES;
|
|
397
|
-
IPHONEOS_DEPLOYMENT_TARGET = 13.
|
|
376
|
+
IPHONEOS_DEPLOYMENT_TARGET = 13.4;
|
|
398
377
|
LD_RUNPATH_SEARCH_PATHS = "/usr/lib/swift $(inherited)";
|
|
399
378
|
LIBRARY_SEARCH_PATHS = "\"$(inherited)\"";
|
|
400
379
|
MTL_ENABLE_DEBUG_INFO = YES;
|
|
@@ -443,7 +422,7 @@
|
|
|
443
422
|
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
|
|
444
423
|
GCC_WARN_UNUSED_FUNCTION = YES;
|
|
445
424
|
GCC_WARN_UNUSED_VARIABLE = YES;
|
|
446
|
-
IPHONEOS_DEPLOYMENT_TARGET = 13.
|
|
425
|
+
IPHONEOS_DEPLOYMENT_TARGET = 13.4;
|
|
447
426
|
LD_RUNPATH_SEARCH_PATHS = "/usr/lib/swift $(inherited)";
|
|
448
427
|
LIBRARY_SEARCH_PATHS = "\"$(inherited)\"";
|
|
449
428
|
MTL_ENABLE_DEBUG_INFO = NO;
|
package/ios/Podfile
CHANGED
|
@@ -7,7 +7,7 @@ podfile_properties = JSON.parse(File.read(File.join(__dir__, 'Podfile.properties
|
|
|
7
7
|
ENV['RCT_NEW_ARCH_ENABLED'] = podfile_properties['newArchEnabled'] == 'true' ? '1' : '0'
|
|
8
8
|
ENV['EX_DEV_CLIENT_NETWORK_INSPECTOR'] = podfile_properties['EX_DEV_CLIENT_NETWORK_INSPECTOR']
|
|
9
9
|
|
|
10
|
-
platform :ios, podfile_properties['ios.deploymentTarget'] || '13.
|
|
10
|
+
platform :ios, podfile_properties['ios.deploymentTarget'] || '13.4'
|
|
11
11
|
install! 'cocoapods',
|
|
12
12
|
:deterministic_uuids => false
|
|
13
13
|
|
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.7",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"start": "expo start --dev-client",
|
|
@@ -10,11 +10,10 @@
|
|
|
10
10
|
"web": "expo start --web"
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"expo": "~50.0.0-alpha.
|
|
14
|
-
"expo-
|
|
15
|
-
"expo-status-bar": "~1.8.0",
|
|
13
|
+
"expo": "~50.0.0-alpha.7",
|
|
14
|
+
"expo-status-bar": "~1.10.0",
|
|
16
15
|
"react": "18.2.0",
|
|
17
|
-
"react-native": "0.72.
|
|
16
|
+
"react-native": "0.72.5"
|
|
18
17
|
},
|
|
19
18
|
"devDependencies": {
|
|
20
19
|
"@babel/core": "^7.20.0"
|