react-native-clarity 4.3.1 → 4.3.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/android/build.gradle
CHANGED
|
@@ -72,7 +72,7 @@ def kotlin_version = getExtOrDefault("kotlinVersion")
|
|
|
72
72
|
dependencies {
|
|
73
73
|
implementation "com.facebook.react:react-native:+"
|
|
74
74
|
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
|
|
75
|
-
implementation "com.microsoft.clarity:clarity:3.4.
|
|
75
|
+
implementation "com.microsoft.clarity:clarity:3.4.5"
|
|
76
76
|
}
|
|
77
77
|
|
|
78
78
|
if (isNewArchitectureEnabled()) {
|
|
@@ -31,7 +31,7 @@ class ClarityModule(reactContext: ReactApplicationContext) :
|
|
|
31
31
|
|
|
32
32
|
// Run on the main thread as recommended by the native Clarity SDK.
|
|
33
33
|
Handler(Looper.getMainLooper()).post {
|
|
34
|
-
promise.resolve(Clarity.initialize(currentActivity, config))
|
|
34
|
+
promise.resolve(Clarity.initialize(reactApplicationContext.currentActivity, config))
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
37
|
|
package/package.json
CHANGED
|
@@ -17,7 +17,7 @@ Pod::Spec.new do |s|
|
|
|
17
17
|
s.source_files = "ios/**/*.{h,m,mm}"
|
|
18
18
|
|
|
19
19
|
s.dependency "React-Core"
|
|
20
|
-
s.dependency "Clarity", '3.0.
|
|
20
|
+
s.dependency "Clarity", '3.0.15'
|
|
21
21
|
|
|
22
22
|
# Don't install the dependencies when we run `pod install` in the old architecture.
|
|
23
23
|
if ENV['RCT_NEW_ARCH_ENABLED'] == '1' then
|