expo-template-bare-minimum 45.0.4 → 45.0.5
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 +6 -6
- package/android/build.gradle +15 -14
- package/ios/Podfile +1 -1
- package/package.json +1 -1
package/android/app/build.gradle
CHANGED
|
@@ -294,25 +294,25 @@ dependencies {
|
|
|
294
294
|
def isGifEnabled = (findProperty('expo.gif.enabled') ?: "") == "true";
|
|
295
295
|
def isWebpEnabled = (findProperty('expo.webp.enabled') ?: "") == "true";
|
|
296
296
|
def isWebpAnimatedEnabled = (findProperty('expo.webp.animated') ?: "") == "true";
|
|
297
|
+
def frescoVersion = rootProject.ext.frescoVersion
|
|
297
298
|
|
|
298
299
|
// If your app supports Android versions before Ice Cream Sandwich (API level 14)
|
|
299
|
-
// All fresco packages should use the same version
|
|
300
300
|
if (isGifEnabled || isWebpEnabled) {
|
|
301
|
-
implementation
|
|
302
|
-
implementation
|
|
301
|
+
implementation "com.facebook.fresco:fresco:${frescoVersion}"
|
|
302
|
+
implementation "com.facebook.fresco:imagepipeline-okhttp3:${frescoVersion}"
|
|
303
303
|
}
|
|
304
304
|
|
|
305
305
|
if (isGifEnabled) {
|
|
306
306
|
// For animated gif support
|
|
307
|
-
implementation
|
|
307
|
+
implementation "com.facebook.fresco:animated-gif:${frescoVersion}"
|
|
308
308
|
}
|
|
309
309
|
|
|
310
310
|
if (isWebpEnabled) {
|
|
311
311
|
// For webp support
|
|
312
|
-
implementation
|
|
312
|
+
implementation "com.facebook.fresco:webpsupport:${frescoVersion}"
|
|
313
313
|
if (isWebpAnimatedEnabled) {
|
|
314
314
|
// Animated webp support
|
|
315
|
-
implementation
|
|
315
|
+
implementation "com.facebook.fresco:animated-webp:${frescoVersion}"
|
|
316
316
|
}
|
|
317
317
|
}
|
|
318
318
|
|
package/android/build.gradle
CHANGED
|
@@ -4,20 +4,21 @@ import org.apache.tools.ant.taskdefs.condition.Os
|
|
|
4
4
|
|
|
5
5
|
buildscript {
|
|
6
6
|
ext {
|
|
7
|
-
buildToolsVersion = findProperty('android.buildToolsVersion') ?:
|
|
8
|
-
minSdkVersion = 21
|
|
9
|
-
compileSdkVersion = Integer.parseInt(findProperty('android.compileSdkVersion') ?:
|
|
10
|
-
targetSdkVersion = Integer.parseInt(findProperty('android.targetSdkVersion') ?:
|
|
11
|
-
if (
|
|
7
|
+
buildToolsVersion = findProperty('android.buildToolsVersion') ?: '31.0.0'
|
|
8
|
+
minSdkVersion = Integer.parseInt(findProperty('android.minSdkVersion') ?: '21')
|
|
9
|
+
compileSdkVersion = Integer.parseInt(findProperty('android.compileSdkVersion') ?: '31')
|
|
10
|
+
targetSdkVersion = Integer.parseInt(findProperty('android.targetSdkVersion') ?: '31')
|
|
11
|
+
if (findProperty('android.kotlinVersion')) {
|
|
12
12
|
kotlinVersion = findProperty('android.kotlinVersion')
|
|
13
13
|
}
|
|
14
|
+
frescoVersion = findProperty('expo.frescoVersion') ?: '2.5.0'
|
|
14
15
|
|
|
15
|
-
if (System.properties['os.arch'] ==
|
|
16
|
+
if (System.properties['os.arch'] == 'aarch64') {
|
|
16
17
|
// For M1 Users we need to use the NDK 24 which added support for aarch64
|
|
17
|
-
ndkVersion =
|
|
18
|
+
ndkVersion = '24.0.8215888'
|
|
18
19
|
} else {
|
|
19
20
|
// Otherwise we default to the side-by-side NDK version from AGP.
|
|
20
|
-
ndkVersion =
|
|
21
|
+
ndkVersion = '21.4.7075529'
|
|
21
22
|
}
|
|
22
23
|
}
|
|
23
24
|
repositories {
|
|
@@ -25,9 +26,9 @@ buildscript {
|
|
|
25
26
|
mavenCentral()
|
|
26
27
|
}
|
|
27
28
|
dependencies {
|
|
28
|
-
classpath(
|
|
29
|
-
classpath(
|
|
30
|
-
classpath(
|
|
29
|
+
classpath('com.android.tools.build:gradle:7.0.4')
|
|
30
|
+
classpath('com.facebook.react:react-native-gradle-plugin')
|
|
31
|
+
classpath('de.undercouch:gradle-download-task:4.1.2')
|
|
31
32
|
// NOTE: Do not place your application dependencies here; they belong
|
|
32
33
|
// in the individual module build.gradle files
|
|
33
34
|
}
|
|
@@ -38,11 +39,11 @@ allprojects {
|
|
|
38
39
|
mavenLocal()
|
|
39
40
|
maven {
|
|
40
41
|
// All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
|
|
41
|
-
url(new File([
|
|
42
|
+
url(new File(['node', '--print', "require.resolve('react-native/package.json')"].execute(null, rootDir).text.trim(), '../android'))
|
|
42
43
|
}
|
|
43
44
|
maven {
|
|
44
45
|
// Android JSC is installed from npm
|
|
45
|
-
url(new File([
|
|
46
|
+
url(new File(['node', '--print', "require.resolve('jsc-android/package.json')"].execute(null, rootDir).text.trim(), '../dist'))
|
|
46
47
|
}
|
|
47
48
|
|
|
48
49
|
google()
|
|
@@ -50,7 +51,7 @@ allprojects {
|
|
|
50
51
|
// We don't want to fetch react-native from Maven Central as there are
|
|
51
52
|
// older versions over there.
|
|
52
53
|
content {
|
|
53
|
-
excludeGroup
|
|
54
|
+
excludeGroup 'com.facebook.react'
|
|
54
55
|
}
|
|
55
56
|
}
|
|
56
57
|
maven { url 'https://www.jitpack.io' }
|
package/ios/Podfile
CHANGED
|
@@ -3,7 +3,7 @@ require File.join(File.dirname(`node --print "require.resolve('react-native/pack
|
|
|
3
3
|
require File.join(File.dirname(`node --print "require.resolve('@react-native-community/cli-platform-ios/package.json')"`), "native_modules")
|
|
4
4
|
|
|
5
5
|
require 'json'
|
|
6
|
-
podfile_properties = JSON.parse(File.read('
|
|
6
|
+
podfile_properties = JSON.parse(File.read(File.join(__dir__, 'Podfile.properties.json'))) rescue {}
|
|
7
7
|
|
|
8
8
|
platform :ios, podfile_properties['ios.deploymentTarget'] || '12.0'
|
|
9
9
|
install! 'cocoapods',
|
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.5",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"start": "expo start --dev-client",
|