expo-template-bare-minimum 45.0.1 → 45.0.4
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
|
@@ -103,7 +103,7 @@ def enableSeparateBuildPerCPUArchitecture = false
|
|
|
103
103
|
/**
|
|
104
104
|
* Run Proguard to shrink the Java bytecode in release builds.
|
|
105
105
|
*/
|
|
106
|
-
def enableProguardInReleaseBuilds = false
|
|
106
|
+
def enableProguardInReleaseBuilds = (findProperty('android.enableProguardInReleaseBuilds') ?: false).toBoolean()
|
|
107
107
|
|
|
108
108
|
/**
|
|
109
109
|
* The preferred build flavor of JavaScriptCore.
|
|
@@ -167,8 +167,7 @@ android {
|
|
|
167
167
|
|
|
168
168
|
// Fix for windows limit on number of character in file paths and in command lines
|
|
169
169
|
if (Os.isFamily(Os.FAMILY_WINDOWS)) {
|
|
170
|
-
arguments "
|
|
171
|
-
"NDK_APP_SHORT_COMMANDS=true"
|
|
170
|
+
arguments "NDK_APP_SHORT_COMMANDS=true"
|
|
172
171
|
}
|
|
173
172
|
}
|
|
174
173
|
}
|
|
@@ -7,4 +7,8 @@
|
|
|
7
7
|
# For more details, see
|
|
8
8
|
# http://developer.android.com/guide/developing/tools/proguard.html
|
|
9
9
|
|
|
10
|
+
# react-native-reanimated
|
|
11
|
+
-keep class com.swmansion.reanimated.** { *; }
|
|
12
|
+
-keep class com.facebook.react.turbomodule.** { *; }
|
|
13
|
+
|
|
10
14
|
# Add any project specific keep options here:
|
package/android/build.gradle
CHANGED
|
@@ -4,18 +4,17 @@ import org.apache.tools.ant.taskdefs.condition.Os
|
|
|
4
4
|
|
|
5
5
|
buildscript {
|
|
6
6
|
ext {
|
|
7
|
-
buildToolsVersion = "31.0.0"
|
|
7
|
+
buildToolsVersion = findProperty('android.buildToolsVersion') ?: "31.0.0"
|
|
8
8
|
minSdkVersion = 21
|
|
9
|
-
compileSdkVersion = 31
|
|
10
|
-
targetSdkVersion = 31
|
|
9
|
+
compileSdkVersion = Integer.parseInt(findProperty('android.compileSdkVersion') ?: "31")
|
|
10
|
+
targetSdkVersion = Integer.parseInt(findProperty('android.targetSdkVersion') ?: "31")
|
|
11
|
+
if (hasProperty('android.kotlinVersion')) {
|
|
12
|
+
kotlinVersion = findProperty('android.kotlinVersion')
|
|
13
|
+
}
|
|
11
14
|
|
|
12
15
|
if (System.properties['os.arch'] == "aarch64") {
|
|
13
16
|
// For M1 Users we need to use the NDK 24 which added support for aarch64
|
|
14
17
|
ndkVersion = "24.0.8215888"
|
|
15
|
-
} else if (Os.isFamily(Os.FAMILY_WINDOWS)) {
|
|
16
|
-
// For Android Users, we need to use NDK 23, otherwise the build will
|
|
17
|
-
// fail due to paths longer than the OS limit
|
|
18
|
-
ndkVersion = "23.1.7779620"
|
|
19
18
|
} else {
|
|
20
19
|
// Otherwise we default to the side-by-side NDK version from AGP.
|
|
21
20
|
ndkVersion = "21.4.7075529"
|
package/ios/Podfile
CHANGED
|
@@ -2,17 +2,19 @@ require File.join(File.dirname(`node --print "require.resolve('expo/package.json
|
|
|
2
2
|
require File.join(File.dirname(`node --print "require.resolve('react-native/package.json')"`), "scripts/react_native_pods")
|
|
3
3
|
require File.join(File.dirname(`node --print "require.resolve('@react-native-community/cli-platform-ios/package.json')"`), "native_modules")
|
|
4
4
|
|
|
5
|
-
platform :ios, '12.0'
|
|
6
|
-
install! 'cocoapods',
|
|
7
|
-
:deterministic_uuids => false
|
|
8
|
-
|
|
9
5
|
require 'json'
|
|
10
6
|
podfile_properties = JSON.parse(File.read('./Podfile.properties.json')) rescue {}
|
|
11
7
|
|
|
8
|
+
platform :ios, podfile_properties['ios.deploymentTarget'] || '12.0'
|
|
9
|
+
install! 'cocoapods',
|
|
10
|
+
:deterministic_uuids => false
|
|
11
|
+
|
|
12
12
|
target 'HelloWorld' do
|
|
13
13
|
use_expo_modules!
|
|
14
14
|
config = use_native_modules!
|
|
15
15
|
|
|
16
|
+
use_frameworks! :linkage => podfile_properties['ios.useFrameworks'].to_sym if podfile_properties['ios.useFrameworks']
|
|
17
|
+
|
|
16
18
|
# Flags change depending on the env values.
|
|
17
19
|
flags = get_default_flags()
|
|
18
20
|
|
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": "45.0.
|
|
4
|
+
"version": "45.0.4",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"start": "expo start --dev-client",
|
|
@@ -10,13 +10,13 @@
|
|
|
10
10
|
"web": "expo start --web"
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"expo": "~45.0.0
|
|
14
|
-
"expo-splash-screen": "~0.15.
|
|
13
|
+
"expo": "~45.0.0",
|
|
14
|
+
"expo-splash-screen": "~0.15.1",
|
|
15
15
|
"expo-status-bar": "~1.3.0",
|
|
16
16
|
"react": "17.0.2",
|
|
17
17
|
"react-dom": "17.0.2",
|
|
18
|
-
"react-native": "0.68.
|
|
19
|
-
"react-native-web": "0.17.
|
|
18
|
+
"react-native": "0.68.2",
|
|
19
|
+
"react-native-web": "0.17.7"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
22
|
"@babel/core": "^7.12.9"
|