@posthog/react-native-plugin 2.8.0 → 2.9.0
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/android/build.gradle
CHANGED
|
@@ -91,7 +91,7 @@ dependencies {
|
|
|
91
91
|
//noinspection GradleDynamicVersion
|
|
92
92
|
implementation "com.facebook.react:react-native:+"
|
|
93
93
|
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
|
|
94
|
-
implementation "com.posthog:posthog-android:3.
|
|
94
|
+
implementation "com.posthog:posthog-android:3.64.0"
|
|
95
95
|
|
|
96
96
|
testImplementation "junit:junit:4.13.2"
|
|
97
97
|
}
|
package/android/src/main/java/com/posthogreactnativeplugin/PosthogReactNativePluginModule.kt
CHANGED
|
@@ -178,6 +178,7 @@ class PosthogReactNativePluginModule(
|
|
|
178
178
|
|
|
179
179
|
sessionReplay = sessionReplayEnabled
|
|
180
180
|
sessionReplayConfig.screenshot = true
|
|
181
|
+
sessionReplayConfig.captureTouches = getBoolean(sdkReplayConfig, "captureTouches", true)
|
|
181
182
|
sessionReplayConfig.captureLogcat = captureLog
|
|
182
183
|
sessionReplayConfig.throttleDelayMs = throttleDelayMs.toLong()
|
|
183
184
|
sessionReplayConfig.maskAllImages = maskAllImages
|
package/ios/Package.swift
CHANGED
|
@@ -201,6 +201,7 @@ public class PosthogReactNativePlugin: RCTEventEmitter {
|
|
|
201
201
|
// sessionReplayEnabled only controls whether recording starts at setup.
|
|
202
202
|
config.sessionReplay = sessionReplayEnabled
|
|
203
203
|
config.sessionReplayConfig.screenshotMode = true
|
|
204
|
+
config.sessionReplayConfig.captureTouches = sdkReplayConfig["captureTouches"] as? Bool ?? true
|
|
204
205
|
|
|
205
206
|
let maskAllTextInputs = sdkReplayConfig["maskAllTextInputs"] as? Bool ?? true
|
|
206
207
|
config.sessionReplayConfig.maskAllTextInputs = maskAllTextInputs
|
package/package.json
CHANGED
|
@@ -6,7 +6,7 @@ folly_compiler_flags = '-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1
|
|
|
6
6
|
# Single source of truth for the posthog-ios native dependency version.
|
|
7
7
|
# Used by both the SPM and CocoaPods resolution paths below; bump this
|
|
8
8
|
# line when picking up a new posthog-ios release.
|
|
9
|
-
posthog_ios_version = '3.
|
|
9
|
+
posthog_ios_version = '3.74.0'
|
|
10
10
|
|
|
11
11
|
Pod::Spec.new do |s|
|
|
12
12
|
s.name = "posthog-react-native-plugin"
|