react-native-clarity 3.0.4 → 3.1.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/ios/Clarity.h +0 -7
- package/ios/Clarity.m +0 -9
- package/package.json +1 -1
- package/react-native-clarity.podspec +1 -1
package/ios/Clarity.h
CHANGED
package/ios/Clarity.m
CHANGED
|
@@ -119,13 +119,4 @@ RCT_EXPORT_METHOD(getCurrentSessionUrl:(RCTPromiseResolveBlock)resolve
|
|
|
119
119
|
return LogLevelNone;
|
|
120
120
|
}
|
|
121
121
|
|
|
122
|
-
// Don't compile this code when we build for the old architecture.
|
|
123
|
-
#ifdef RCT_NEW_ARCH_ENABLED
|
|
124
|
-
- (std::shared_ptr<facebook::react::TurboModule>)getTurboModule:
|
|
125
|
-
(const facebook::react::ObjCTurboModule::InitParams &)params
|
|
126
|
-
{
|
|
127
|
-
return std::make_shared<facebook::react::NativeClaritySpecJSI>(params);
|
|
128
|
-
}
|
|
129
|
-
#endif
|
|
130
|
-
|
|
131
122
|
@end
|
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", '2.
|
|
20
|
+
s.dependency "Clarity", '2.2.0'
|
|
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
|