@capacitor/share 1.1.1 → 1.1.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
@@ -3,6 +3,17 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [1.1.2](https://github.com/ionic-team/capacitor-plugins/compare/@capacitor/share@1.1.1...@capacitor/share@1.1.2) (2022-03-03)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **share:** correct whatsapp file sharing ([#816](https://github.com/ionic-team/capacitor-plugins/issues/816)) ([18b10c4](https://github.com/ionic-team/capacitor-plugins/commit/18b10c493e26a6b62031c3bfb57e1ffbbf926c41))
12
+
13
+
14
+
15
+
16
+
6
17
  ## [1.1.1](https://github.com/ionic-team/capacitor-plugins/compare/@capacitor/share@1.1.0...@capacitor/share@1.1.1) (2022-01-19)
7
18
 
8
19
 
@@ -100,7 +100,7 @@ public class SharePlugin extends Plugin {
100
100
  );
101
101
  intent.putExtra(Intent.EXTRA_STREAM, fileUrl);
102
102
  if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.Q) {
103
- intent.setData(fileUrl);
103
+ intent.setDataAndType(fileUrl, type);
104
104
  }
105
105
  intent.setFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION);
106
106
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capacitor/share",
3
- "version": "1.1.1",
3
+ "version": "1.1.2",
4
4
  "description": "The Share API provides methods for sharing content in any sharing-enabled apps the user may have installed.",
5
5
  "main": "dist/plugin.cjs.js",
6
6
  "module": "dist/esm/index.js",
@@ -79,5 +79,5 @@
79
79
  "publishConfig": {
80
80
  "access": "public"
81
81
  },
82
- "gitHead": "f18ee6482e1ec8e5fb0290d51f598397133af990"
82
+ "gitHead": "22fb04179bd13fabea6187c42ed3ffc2faa866c1"
83
83
  }