expo 52.0.31 → 52.0.32

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.
@@ -33,7 +33,7 @@ def getRNVersion() {
33
33
  ensureDependeciesWereEvaluated(project)
34
34
 
35
35
  group = 'host.exp.exponent'
36
- version = '52.0.31'
36
+ version = '52.0.32'
37
37
 
38
38
  buildscript {
39
39
  // Simple helper that allows the root project to override versions declared by this library.
@@ -46,7 +46,7 @@ android {
46
46
  namespace "expo.core"
47
47
  defaultConfig {
48
48
  versionCode 1
49
- versionName "52.0.31"
49
+ versionName "52.0.32"
50
50
  consumerProguardFiles("proguard-rules.pro")
51
51
  }
52
52
  testOptions {
@@ -13,8 +13,8 @@ import expo.modules.kotlin.exception.Exceptions
13
13
  import expo.modules.kotlin.exception.toCodedException
14
14
  import expo.modules.kotlin.modules.Module
15
15
  import expo.modules.kotlin.modules.ModuleDefinition
16
+ import kotlinx.coroutines.CoroutineName
16
17
  import kotlinx.coroutines.CoroutineScope
17
- import kotlinx.coroutines.Dispatchers
18
18
  import kotlinx.coroutines.cancel
19
19
  import okhttp3.JavaNetCookieJar
20
20
  import java.net.URL
@@ -33,7 +33,12 @@ class ExpoFetchModule : Module() {
33
33
  private val reactContext: ReactContext
34
34
  get() = appContext.reactContext as? ReactContext ?: throw Exceptions.ReactContextLost()
35
35
 
36
- private val moduleCoroutineScope = CoroutineScope(Dispatchers.Default)
36
+ private val moduleCoroutineScope by lazy {
37
+ CoroutineScope(
38
+ appContext.modulesQueue.coroutineContext +
39
+ CoroutineName("expo.modules.fetch.CoroutineScope")
40
+ )
41
+ }
37
42
 
38
43
  override fun definition() = ModuleDefinition {
39
44
  Name("ExpoFetchModule")
@@ -98,6 +98,11 @@ internal class NativeResponse(appContext: AppContext, private val coroutineScope
98
98
  //region Callback implementations
99
99
 
100
100
  override fun onFailure(call: Call, e: IOException) {
101
+ // Canceled request should be handled by emitRequestCancelled
102
+ if (e.message === "Canceled") {
103
+ return
104
+ }
105
+
101
106
  if (isInvalidState(
102
107
  ResponseState.STARTED,
103
108
  ResponseState.RESPONSE_RECEIVED,
@@ -27,26 +27,26 @@
27
27
  "expo-brightness": "~13.0.3",
28
28
  "expo-build-properties": "~0.13.2",
29
29
  "expo-calendar": "~14.0.6",
30
- "expo-camera": "~16.0.15",
30
+ "expo-camera": "~16.0.16",
31
31
  "expo-cellular": "~7.0.2",
32
32
  "expo-checkbox": "~4.0.1",
33
33
  "expo-clipboard": "~7.0.1",
34
34
  "expo-constants": "~17.0.5",
35
35
  "expo-contacts": "~14.0.5",
36
36
  "expo-crypto": "~14.0.2",
37
- "expo-dev-client": "~5.0.11",
37
+ "expo-dev-client": "~5.0.12",
38
38
  "expo-device": "~7.0.2",
39
- "expo-document-picker": "~13.0.2",
39
+ "expo-document-picker": "~13.0.3",
40
40
  "expo-face-detector": "~13.0.2",
41
41
  "expo-file-system": "~18.0.10",
42
42
  "expo-font": "~13.0.3",
43
43
  "expo-gl": "~15.0.4",
44
44
  "expo-google-app-auth": "~8.3.0",
45
45
  "expo-haptics": "~14.0.1",
46
- "expo-image": "~2.0.4",
46
+ "expo-image": "~2.0.5",
47
47
  "expo-image-loader": "~5.0.0",
48
48
  "expo-image-manipulator": "~13.0.6",
49
- "expo-image-picker": "~16.0.5",
49
+ "expo-image-picker": "~16.0.6",
50
50
  "expo-intent-launcher": "~12.0.2",
51
51
  "expo-insights": "~0.8.2",
52
52
  "expo-keep-awake": "~14.0.2",
@@ -54,7 +54,7 @@
54
54
  "expo-linking": "~7.0.5",
55
55
  "expo-local-authentication": "~15.0.2",
56
56
  "expo-localization": "~16.0.1",
57
- "expo-location": "~18.0.5",
57
+ "expo-location": "~18.0.6",
58
58
  "expo-mail-composer": "~14.0.2",
59
59
  "expo-media-library": "~17.0.5",
60
60
  "expo-module-template": "~10.15.13",
@@ -103,6 +103,6 @@
103
103
  "unimodules-app-loader": "~5.0.1",
104
104
  "unimodules-image-loader-interface": "~6.1.0",
105
105
  "@shopify/react-native-skia": "1.5.0",
106
- "@shopify/flash-list": "1.7.1",
106
+ "@shopify/flash-list": "1.7.3",
107
107
  "@sentry/react-native": "~6.3.0"
108
108
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo",
3
- "version": "52.0.31",
3
+ "version": "52.0.32",
4
4
  "description": "The Expo SDK",
5
5
  "main": "src/Expo.ts",
6
6
  "module": "src/Expo.ts",
@@ -69,9 +69,9 @@
69
69
  "dependencies": {
70
70
  "@babel/runtime": "^7.20.0",
71
71
  "@expo/cli": "0.22.13",
72
- "@expo/config": "~10.0.8",
72
+ "@expo/config": "~10.0.9",
73
73
  "@expo/config-plugins": "~9.0.15",
74
- "@expo/fingerprint": "0.11.8",
74
+ "@expo/fingerprint": "0.11.9",
75
75
  "@expo/metro-config": "0.19.9",
76
76
  "@expo/vector-icons": "^14.0.0",
77
77
  "babel-preset-expo": "~12.0.7",
@@ -112,5 +112,5 @@
112
112
  "optional": true
113
113
  }
114
114
  },
115
- "gitHead": "9442f00874e0cd738030abae80e5bdef184a2581"
115
+ "gitHead": "81941fa03383e748ba1b6345d9ca0d048bb5c4d1"
116
116
  }