expo-sharing 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,14 @@
10
10
 
11
11
  ### 💡 Others
12
12
 
13
+ ## 11.2.2 — 2023-03-03
14
+
15
+ _This version does not introduce any user-facing changes._
16
+
17
+ ## 11.2.1 — 2023-02-09
18
+
19
+ _This version does not introduce any user-facing changes._
20
+
13
21
  ## 11.2.0 — 2023-02-03
14
22
 
15
23
  ### 💡 Others
@@ -27,6 +35,7 @@
27
35
  ### 🐛 Bug fixes
28
36
 
29
37
  - On iOS, dismiss share sheet after sharing to an app is canceled, so the file doesn't fail to attach when trying to share again ([#19656](https://github.com/expo/expo/pull/19656) by [@keith-kurak](https://github.com/keith-kurak))
38
+ - Fixed `shareAsync` not resolving on Android. ([#21432](https://github.com/expo/expo/pull/21432) by [@alanhughes](https://github.com/alanjhughes))
30
39
 
31
40
  ## 11.0.0 — 2022-10-25
32
41
 
@@ -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 16
77
- versionName '11.2.0'
77
+ versionName '11.2.2'
78
78
  }
79
79
  lintOptions {
80
80
  abortOnError false
@@ -51,7 +51,7 @@ class SharingModule : Module() {
51
51
  context.grantUriPermission(packageName, contentUri, Intent.FLAG_GRANT_READ_URI_PERMISSION)
52
52
  }
53
53
  pendingPromise = promise
54
- currentActivity.startActivity(intent)
54
+ currentActivity.startActivityForResult(intent, REQUEST_CODE)
55
55
  } catch (e: InvalidArgumentException) {
56
56
  throw SharingInvalidArgsException(e.message, e)
57
57
  } catch (e: Exception) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-sharing",
3
- "version": "11.2.0",
3
+ "version": "11.2.2",
4
4
  "description": "ExpoSharing standalone module",
5
5
  "main": "build/Sharing.js",
6
6
  "types": "build/Sharing.d.ts",
@@ -37,5 +37,5 @@
37
37
  "peerDependencies": {
38
38
  "expo": "*"
39
39
  },
40
- "gitHead": "1815e2eaad8c753588c7b1eb74420174a28e01f4"
40
+ "gitHead": "129986cd78fd83642786df331e8ba9e1451c5ee0"
41
41
  }