expo-template-bare-minimum 45.0.2 → 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.
@@ -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 "NDK_OUT=${rootProject.projectDir.getParent()}\\.cxx",
171
- "NDK_APP_SHORT_COMMANDS=true"
170
+ arguments "NDK_APP_SHORT_COMMANDS=true"
172
171
  }
173
172
  }
174
173
  }
@@ -295,25 +294,25 @@ dependencies {
295
294
  def isGifEnabled = (findProperty('expo.gif.enabled') ?: "") == "true";
296
295
  def isWebpEnabled = (findProperty('expo.webp.enabled') ?: "") == "true";
297
296
  def isWebpAnimatedEnabled = (findProperty('expo.webp.animated') ?: "") == "true";
297
+ def frescoVersion = rootProject.ext.frescoVersion
298
298
 
299
299
  // If your app supports Android versions before Ice Cream Sandwich (API level 14)
300
- // All fresco packages should use the same version
301
300
  if (isGifEnabled || isWebpEnabled) {
302
- implementation 'com.facebook.fresco:fresco:2.0.0'
303
- implementation 'com.facebook.fresco:imagepipeline-okhttp3:2.0.0'
301
+ implementation "com.facebook.fresco:fresco:${frescoVersion}"
302
+ implementation "com.facebook.fresco:imagepipeline-okhttp3:${frescoVersion}"
304
303
  }
305
304
 
306
305
  if (isGifEnabled) {
307
306
  // For animated gif support
308
- implementation 'com.facebook.fresco:animated-gif:2.0.0'
307
+ implementation "com.facebook.fresco:animated-gif:${frescoVersion}"
309
308
  }
310
309
 
311
310
  if (isWebpEnabled) {
312
311
  // For webp support
313
- implementation 'com.facebook.fresco:webpsupport:2.0.0'
312
+ implementation "com.facebook.fresco:webpsupport:${frescoVersion}"
314
313
  if (isWebpAnimatedEnabled) {
315
314
  // Animated webp support
316
- implementation 'com.facebook.fresco:animated-webp:2.0.0'
315
+ implementation "com.facebook.fresco:animated-webp:${frescoVersion}"
317
316
  }
318
317
  }
319
318
 
@@ -4,24 +4,21 @@ import org.apache.tools.ant.taskdefs.condition.Os
4
4
 
5
5
  buildscript {
6
6
  ext {
7
- buildToolsVersion = findProperty('android.buildToolsVersion') ?: "31.0.0"
8
- minSdkVersion = 21
9
- compileSdkVersion = Integer.parseInt(findProperty('android.compileSdkVersion') ?: "31")
10
- targetSdkVersion = Integer.parseInt(findProperty('android.targetSdkVersion') ?: "31")
11
- if (hasProperty('android.kotlinVersion')) {
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'] == "aarch64") {
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 = "24.0.8215888"
18
- } else if (Os.isFamily(Os.FAMILY_WINDOWS)) {
19
- // For Android Users, we need to use NDK 23, otherwise the build will
20
- // fail due to paths longer than the OS limit
21
- ndkVersion = "23.1.7779620"
18
+ ndkVersion = '24.0.8215888'
22
19
  } else {
23
20
  // Otherwise we default to the side-by-side NDK version from AGP.
24
- ndkVersion = "21.4.7075529"
21
+ ndkVersion = '21.4.7075529'
25
22
  }
26
23
  }
27
24
  repositories {
@@ -29,9 +26,9 @@ buildscript {
29
26
  mavenCentral()
30
27
  }
31
28
  dependencies {
32
- classpath("com.android.tools.build:gradle:7.0.4")
33
- classpath("com.facebook.react:react-native-gradle-plugin")
34
- classpath("de.undercouch:gradle-download-task:4.1.2")
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')
35
32
  // NOTE: Do not place your application dependencies here; they belong
36
33
  // in the individual module build.gradle files
37
34
  }
@@ -42,11 +39,11 @@ allprojects {
42
39
  mavenLocal()
43
40
  maven {
44
41
  // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
45
- url(new File(["node", "--print", "require.resolve('react-native/package.json')"].execute(null, rootDir).text.trim(), "../android"))
42
+ url(new File(['node', '--print', "require.resolve('react-native/package.json')"].execute(null, rootDir).text.trim(), '../android'))
46
43
  }
47
44
  maven {
48
45
  // Android JSC is installed from npm
49
- url(new File(["node", "--print", "require.resolve('jsc-android/package.json')"].execute(null, rootDir).text.trim(), "../dist"))
46
+ url(new File(['node', '--print', "require.resolve('jsc-android/package.json')"].execute(null, rootDir).text.trim(), '../dist'))
50
47
  }
51
48
 
52
49
  google()
@@ -54,7 +51,7 @@ allprojects {
54
51
  // We don't want to fetch react-native from Maven Central as there are
55
52
  // older versions over there.
56
53
  content {
57
- excludeGroup "com.facebook.react"
54
+ excludeGroup 'com.facebook.react'
58
55
  }
59
56
  }
60
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('./Podfile.properties.json')) rescue {}
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.2",
4
+ "version": "45.0.5",
5
5
  "main": "index.js",
6
6
  "scripts": {
7
7
  "start": "expo start --dev-client",
@@ -15,7 +15,7 @@
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.1",
18
+ "react-native": "0.68.2",
19
19
  "react-native-web": "0.17.7"
20
20
  },
21
21
  "devDependencies": {