expo-updates 0.16.3 → 0.16.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/CHANGELOG.md CHANGED
@@ -10,6 +10,13 @@
10
10
 
11
11
  ### 💡 Others
12
12
 
13
+ ## 0.16.4 — 2023-04-03
14
+
15
+ ### 🐛 Bug fixes
16
+
17
+ - Change arg in gradle `.execute()` call to null to inherit env variables from user's env ([#21712](https://github.com/expo/expo/pull/21712) by [@phoenixiguess](https://github.com/phoenixiguess))
18
+ - [Android] Fix missing manifest for build flavor variants. ([#21813](https://github.com/expo/expo/pull/21813) by [@douglowder](https://github.com/douglowder))
19
+
13
20
  ## 0.16.3 — 2023-02-22
14
21
 
15
22
  ### 🎉 New features
@@ -4,7 +4,7 @@ apply plugin: 'kotlin-kapt'
4
4
  apply plugin: 'maven-publish'
5
5
 
6
6
  group = 'host.exp.exponent'
7
- version = '0.16.3'
7
+ version = '0.16.4'
8
8
 
9
9
  def ex_updates_native_debug = System.getenv("EX_UPDATES_NATIVE_DEBUG") == "1" ? "true" : "false"
10
10
 
@@ -79,7 +79,7 @@ android {
79
79
  minSdkVersion safeExtGet("minSdkVersion", 21)
80
80
  targetSdkVersion safeExtGet("targetSdkVersion", 33)
81
81
  versionCode 31
82
- versionName '0.16.3'
82
+ versionName '0.16.4'
83
83
  consumerProguardFiles("proguard-rules.pro")
84
84
  testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
85
85
  buildConfigField("boolean", "EX_UPDATES_NATIVE_DEBUG", ex_updates_native_debug)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-updates",
3
- "version": "0.16.3",
3
+ "version": "0.16.4",
4
4
  "description": "Fetches and manages remotely-hosted assets and updates to your app's JS bundle.",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",
@@ -63,5 +63,5 @@
63
63
  "peerDependencies": {
64
64
  "expo": "*"
65
65
  },
66
- "gitHead": "c0901a95276ad546e13878659eb7e0c0729ba817"
66
+ "gitHead": "30cb4db8aa9beb6a2cc941aebbac320c2966352b"
67
67
  }
@@ -3,7 +3,7 @@
3
3
  import org.apache.tools.ant.taskdefs.condition.Os
4
4
  import org.gradle.util.GradleVersion
5
5
 
6
- def expoUpdatesDir = ["node", "-e", "console.log(require('path').dirname(require.resolve('expo-updates/package.json')));"].execute([], projectDir).text.trim()
6
+ def expoUpdatesDir = ["node", "-e", "console.log(require('path').dirname(require.resolve('expo-updates/package.json')));"].execute(null, projectDir).text.trim()
7
7
 
8
8
  def ex_updates_native_debug = System.getenv("EX_UPDATES_NATIVE_DEBUG") == "1"
9
9
 
@@ -69,6 +69,7 @@ def setupClosure = {
69
69
  name: "copy${targetName}ExpoManifest",
70
70
  type: Copy) {
71
71
  description = "expo-updates: Copy manifest into ${targetName}."
72
+ duplicatesStrategy = DuplicatesStrategy.INCLUDE
72
73
 
73
74
  into ("${appProject.buildDir}/intermediates")
74
75
  into ("assets/${targetPath}") {
@@ -90,6 +91,11 @@ def setupClosure = {
90
91
  from(assetsDir)
91
92
  }
92
93
 
94
+ // Workaround for Android Gradle Plugin 7.5+ asset directory (including flavor variants)
95
+ into ("assets/${variant.name}") {
96
+ from(assetsDir)
97
+ }
98
+
93
99
  // mergeAssets must run first, as it clears the intermediates directory
94
100
  dependsOn(variant.mergeAssetsProvider.get())
95
101
  dependsOn(currentBundleTask)