react-native-share 11.0.0 → 11.0.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/RNShare.podspec CHANGED
@@ -2,8 +2,6 @@ require "json"
2
2
 
3
3
  package = JSON.parse(File.read(File.join(__dir__, "package.json")))
4
4
 
5
- folly_compiler_flags = '-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1 -Wno-comma -Wno-shorten-64-to-32'
6
-
7
5
  Pod::Spec.new do |s|
8
6
  s.name = "RNShare"
9
7
  s.version = package["version"]
@@ -16,24 +14,12 @@ Pod::Spec.new do |s|
16
14
 
17
15
  s.source_files = "ios/**/*.{h,m,mm}"
18
16
 
19
- s.dependency "React-Core"
20
-
21
17
  s.ios.weak_framework = 'LinkPresentation'
22
18
 
23
- if ENV["RCT_NEW_ARCH_ENABLED"] == "1"
24
- s.compiler_flags = folly_compiler_flags + " -DRCT_NEW_ARCH_ENABLED=1"
25
- s.pod_target_xcconfig = {
26
- "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)/boost\"",
27
- "OTHER_CPLUSPLUSFLAGS" => "-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1",
28
- "CLANG_CXX_LANGUAGE_STANDARD" => "c++17"
29
- }
30
-
31
- s.dependency "React-Codegen"
32
- s.dependency "React-RCTFabric"
33
- s.dependency "RCT-Folly"
34
- s.dependency "RCTRequired"
35
- s.dependency "RCTTypeSafety"
36
- s.dependency "ReactCommon/turbomodule/core"
19
+ if defined?(install_modules_dependencies()) != nil
20
+ install_modules_dependencies(s)
21
+ else
22
+ s.dependency "React-Core"
37
23
  end
38
24
 
39
25
  end
package/ios/RNShare.h CHANGED
@@ -9,7 +9,7 @@
9
9
  #endif
10
10
 
11
11
  #if RCT_NEW_ARCH_ENABLED
12
- #import <RNShareSpec.h>
12
+ #import "RNShareSpec.h"
13
13
  #endif
14
14
 
15
15
  @interface RNShare : NSObject <RCTBridgeModule, UIDocumentPickerDelegate>
package/ios/RNShare.mm CHANGED
@@ -26,7 +26,7 @@
26
26
  #import "RNShareUtils.h"
27
27
 
28
28
  #if RCT_NEW_ARCH_ENABLED
29
- #import <RNShareSpec.h>
29
+ #import "RNShareSpec.h"
30
30
  #endif
31
31
 
32
32
  @implementation RNShare
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": "11.0.0",
4
+ "version": "11.0.2",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "git+https://github.com/react-native-community/react-native-share.git"