@datadog/mobile-react-native-session-replay 2.8.0 → 2.8.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.
@@ -28,15 +28,22 @@ Pod::Spec.new do |s|
28
28
  test_spec.platforms = { :ios => "13.4", :tvos => "13.4" }
29
29
  end
30
30
 
31
+
32
+ xcconfig = {
33
+ "HEADER_SEARCH_PATHS" => "$(PODS_ROOT)/React-RCTFabric/**",
34
+ }
35
+
31
36
  if ENV['RCT_NEW_ARCH_ENABLED'] == '1' then
32
37
  s.compiler_flags = folly_compiler_flags + " -DRCT_NEW_ARCH_ENABLED=1"
33
38
 
34
- s.pod_target_xcconfig = {
39
+ xcconfig.merge!({
35
40
  "DEFINES_MODULE" => "YES",
36
41
  "CLANG_CXX_LANGUAGE_STANDARD" => "c++17"
37
- }
42
+ })
38
43
  end
39
44
 
45
+ s.pod_target_xcconfig = xcconfig
46
+
40
47
  if respond_to?(:install_modules_dependencies, true)
41
48
  install_modules_dependencies(s)
42
49
  # else
@@ -18,7 +18,9 @@ import com.facebook.react.uimanager.ViewManager
18
18
  * Package of native dd-sdk-reactnative native modules.
19
19
  */
20
20
  class DdSDKReactNativeSessionReplayPackage : BaseReactPackage() {
21
- override fun createViewManagers(reactContext: ReactApplicationContext): List<ViewManager<*, *>> {
21
+ override fun createViewManagers(
22
+ reactContext: ReactApplicationContext
23
+ ): List<ViewManager<*, *>> {
22
24
  return listOf(DdPrivacyViewManager(reactContext))
23
25
  }
24
26
 
@@ -38,10 +40,10 @@ class DdSDKReactNativeSessionReplayPackage : BaseReactPackage() {
38
40
  ReactModuleInfo(
39
41
  it,
40
42
  it,
41
- false, // canOverrideExistingModule
42
- false, // needsEagerInit
43
- true, // hasConstants
44
- false, // isCxxModule
43
+ false, // canOverrideExistingModule
44
+ false, // needsEagerInit
45
+ true, // hasConstants
46
+ false, // isCxxModule
45
47
  isTurboModule // isTurboModule
46
48
  )
47
49
  }
@@ -49,5 +51,4 @@ class DdSDKReactNativeSessionReplayPackage : BaseReactPackage() {
49
51
  moduleInfos
50
52
  }
51
53
  }
52
-
53
54
  }
@@ -11,7 +11,13 @@
11
11
  #import <react/renderer/components/DdSDKReactNativeSessionReplay/Props.h>
12
12
  #import <react/renderer/components/DdSDKReactNativeSessionReplay/RCTComponentViewHelpers.h>
13
13
  #import <React/RCTFabricComponentsPlugins.h>
14
- #import "DatadogSDKReactNativeSessionReplay-Swift.h"
14
+
15
+
16
+ #if __has_include("DatadogSDKReactNativeSessionReplay-Swift.h")
17
+ #import <DatadogSDKReactNativeSessionReplay-Swift.h>
18
+ #else
19
+ #import <DatadogSDKReactNativeSessionReplay/DatadogSDKReactNativeSessionReplay-Swift.h>
20
+ #endif
15
21
 
16
22
  using namespace facebook::react;
17
23
 
@@ -5,7 +5,11 @@
5
5
  */
6
6
 
7
7
  #import <React/RCTViewManager.h>
8
- #import "DatadogSDKReactNativeSessionReplay-Swift.h"
8
+ #if __has_include("DatadogSDKReactNativeSessionReplay-Swift.h")
9
+ #import <DatadogSDKReactNativeSessionReplay-Swift.h>
10
+ #else
11
+ #import <DatadogSDKReactNativeSessionReplay/DatadogSDKReactNativeSessionReplay-Swift.h>
12
+ #endif
9
13
 
10
14
  @interface DdPrivacyView : UIView
11
15
 
@@ -8,15 +8,9 @@
8
8
 
9
9
  #if RCT_NEW_ARCH_ENABLED
10
10
  #import "RCTVersion.h"
11
-
12
- #import <React-RCTFabric/React/RCTParagraphComponentView.h>
13
- #import <React-RCTFabric/React/RCTConversions.h>
14
-
15
- #if __has_include(<React-FabricComponents/react/renderer/components/text/ParagraphProps.h>)
16
- #import <React-FabricComponents/react/renderer/components/text/ParagraphProps.h>
17
- #else
18
- #import <React-Fabric/react/renderer/components/text/ParagraphProps.h>
19
- #endif
11
+ #import "RCTParagraphComponentView.h"
12
+ #import "RCTConversions.h"
13
+ #import "ParagraphProps.h"
20
14
 
21
15
  namespace rct = facebook::react;
22
16
  #endif
@@ -2,7 +2,7 @@
2
2
  #define RCTVersion_h
3
3
 
4
4
  #define RCT_VERSION_MAJOR 0
5
- #define RCT_VERSION_MINOR 73
5
+ #define RCT_VERSION_MINOR 76
6
6
  #define RCT_VERSION_PATCH 9
7
7
 
8
8
  #endif /* RCTVersion_h */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@datadog/mobile-react-native-session-replay",
3
- "version": "2.8.0",
3
+ "version": "2.8.2",
4
4
  "description": "A client-side React Native module to enable session replay with Datadog",
5
5
  "keywords": [
6
6
  "datadog",
@@ -90,5 +90,5 @@
90
90
  "javaPackageName": "com.datadog.reactnative.sessionreplay"
91
91
  }
92
92
  },
93
- "gitHead": "55a6d45ea4a84149093f52f1d14329d17031709e"
93
+ "gitHead": "fb2d2cf6dcc860a49503b2229f533c4f852b25ca"
94
94
  }