react-native-share 7.6.3 → 7.6.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.
@@ -98,14 +98,14 @@ public class FacebookStoriesShare extends SingleShareIntent {
98
98
  backgroundFileName = options.getString("backgroundVideo");
99
99
  }
100
100
 
101
- ShareFile backgroundAsset = new ShareFile(backgroundFileName, "background", useInternalStorage, this.reactContext);
101
+ ShareFile backgroundAsset = new ShareFile(backgroundFileName, "image/jpeg", "background", useInternalStorage, this.reactContext);
102
102
 
103
103
  this.intent.setDataAndType(backgroundAsset.getURI(), backgroundAsset.getType());
104
104
  this.intent.setFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION);
105
105
  }
106
106
 
107
107
  if (this.hasValidKey("stickerImage", options)) {
108
- ShareFile stickerAsset = new ShareFile(options.getString("stickerImage"), "sticker", useInternalStorage, this.reactContext);
108
+ ShareFile stickerAsset = new ShareFile(options.getString("stickerImage"), "image/png", "sticker", useInternalStorage, this.reactContext);
109
109
 
110
110
  if (!hasBackgroundAsset) {
111
111
  this.intent.setType("image/*");
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "react-native-share",
3
3
  "description": "Social share, sending simple data to other apps.",
4
- "version": "7.6.3",
4
+ "version": "7.6.4",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "git+https://github.com/react-native-community/react-native-share.git"