react-native-share 12.0.7 → 12.0.9

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.
@@ -31,11 +31,6 @@ RCT_EXPORT_MODULE();
31
31
  resolve:(RCTPromiseResolveBlock)resolve {
32
32
 
33
33
  NSURL *urlScheme = [NSURL URLWithString:[NSString stringWithFormat:@"instagram-stories://share?source_application=%@", options[@"appId"]]];
34
- if (![[UIApplication sharedApplication] canOpenURL:urlScheme]) {
35
- NSError* error = [self fallbackInstagram];
36
- reject(@"cannot open URL",@"cannot open URL",error);
37
- return;
38
- }
39
34
 
40
35
  // Create dictionary of assets and attribution
41
36
  NSMutableDictionary *items = [NSMutableDictionary dictionary];
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": "12.0.7",
4
+ "version": "12.0.9",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "git+https://github.com/react-native-community/react-native-share.git"
@@ -94,7 +94,7 @@
94
94
  },
95
95
  "readmeFilename": "README.md",
96
96
  "scripts": {
97
- "postinstall": "patch-package",
97
+ "patch:example:app": "patch-package",
98
98
  "start": "react-native start",
99
99
  "start:android": "react-native run-android",
100
100
  "start:ios": "react-native run-ios",