expo-document-picker 11.2.0 → 11.2.2

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,16 @@
10
10
 
11
11
  ### 💡 Others
12
12
 
13
+ ## 11.2.2 — 2023-03-28
14
+
15
+ ### 🐛 Bug fixes
16
+
17
+ - Fixed cancellation type not being marked as a `Record` on Android. ([#21588](https://github.com/expo/expo/pull/21588) by [@alanjhughes](https://github.com/alanjhughes))
18
+
19
+ ## 11.2.1 — 2023-02-09
20
+
21
+ _This version does not introduce any user-facing changes._
22
+
13
23
  ## 11.2.0 — 2023-02-03
14
24
 
15
25
  ### 💡 Others
@@ -3,7 +3,7 @@ apply plugin: 'kotlin-android'
3
3
  apply plugin: 'maven-publish'
4
4
 
5
5
  group = 'host.exp.exponent'
6
- version = '11.2.0'
6
+ version = '11.2.2'
7
7
 
8
8
  buildscript {
9
9
  def expoModulesCorePlugin = new File(project(":expo-modules-core").projectDir.absolutePath, "ExpoModulesCorePlugin.gradle")
@@ -22,7 +22,7 @@ buildscript {
22
22
  if (ext.has("kotlinVersion")) {
23
23
  ext.kotlinVersion()
24
24
  } else {
25
- ext.safeExtGet("kotlinVersion", "1.6.10")
25
+ ext.safeExtGet("kotlinVersion", "1.8.10")
26
26
  }
27
27
  }
28
28
 
@@ -74,7 +74,7 @@ android {
74
74
  minSdkVersion safeExtGet("minSdkVersion", 21)
75
75
  targetSdkVersion safeExtGet("targetSdkVersion", 33)
76
76
  versionCode 17
77
- versionName '11.2.0'
77
+ versionName '11.2.2'
78
78
  }
79
79
  lintOptions {
80
80
  abortOnError false
@@ -52,6 +52,7 @@ class DocumentPickerModule : Module() {
52
52
  }
53
53
 
54
54
  val promise = pendingPromise!!
55
+ pendingPromise = null
55
56
 
56
57
  if (resultCode == Activity.RESULT_OK) {
57
58
  intent?.data?.let { uri ->
@@ -79,7 +80,6 @@ class DocumentPickerModule : Module() {
79
80
  DocumentPickerCancelled(type = "cancel")
80
81
  )
81
82
  }
82
- pendingPromise = null
83
83
  }
84
84
  }
85
85
 
@@ -23,4 +23,4 @@ data class DocumentPickerResult(
23
23
  data class DocumentPickerCancelled(
24
24
  @Field
25
25
  val type: String
26
- )
26
+ ) : Record
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-document-picker",
3
- "version": "11.2.0",
3
+ "version": "11.2.2",
4
4
  "description": "Provides access to the system's UI for selecting documents from the available providers on the user's device.",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",
@@ -40,5 +40,5 @@
40
40
  "peerDependencies": {
41
41
  "expo": "*"
42
42
  },
43
- "gitHead": "1815e2eaad8c753588c7b1eb74420174a28e01f4"
43
+ "gitHead": "449f9edf2282fa984b6f694ce63867dffc65b580"
44
44
  }