@datadog/mobile-react-native-session-replay 2.8.0 → 2.8.1
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/DatadogSDKReactNativeSessionReplay.podspec +9 -2
- package/android/src/rnpost74/kotlin/com/datadog/reactnative/sessionreplay/DdSDKReactNativeSessionReplayPackage.kt +7 -6
- package/ios/Sources/DdPrivacyViewFabric.mm +7 -1
- package/ios/Sources/DdPrivacyViewPaper.m +5 -1
- package/ios/Sources/RCTFabricWrapper.mm +3 -9
- package/ios/Sources/RCTVersion.h +1 -1
- package/package.json +2 -2
|
@@ -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
|
-
|
|
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(
|
|
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,
|
|
42
|
-
false,
|
|
43
|
-
true,
|
|
44
|
-
false,
|
|
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
|
-
|
|
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
|
-
#
|
|
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
|
|
13
|
-
#import
|
|
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
|
package/ios/Sources/RCTVersion.h
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@datadog/mobile-react-native-session-replay",
|
|
3
|
-
"version": "2.8.
|
|
3
|
+
"version": "2.8.1",
|
|
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": "
|
|
93
|
+
"gitHead": "a864b56f9adf689b4e65cd463529a03ba51cafc8"
|
|
94
94
|
}
|