react-native-clarity 4.1.2 → 4.1.4
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/README.md +7 -0
- package/android/build.gradle +1 -1
- package/package.json +1 -1
- package/react-native-clarity.podspec +1 -1
package/README.md
CHANGED
|
@@ -21,6 +21,13 @@ To add the package, run the following command.
|
|
|
21
21
|
npm install react-native-clarity
|
|
22
22
|
```
|
|
23
23
|
|
|
24
|
+
#### [iOS Only] Install native dependencies:
|
|
25
|
+
|
|
26
|
+
```bash
|
|
27
|
+
cd ios && pod install
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
|
|
24
31
|
### Step 2: Initialize Clarity
|
|
25
32
|
|
|
26
33
|
Initialize Clarity by adding the following.
|
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.1.
|
|
75
|
+
implementation "com.microsoft.clarity:clarity:3.1.3"
|
|
76
76
|
}
|
|
77
77
|
|
|
78
78
|
if (isNewArchitectureEnabled()) {
|
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.3'
|
|
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
|