react-native-ux-cam 6.0.1 → 6.0.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/RNUxcam.podspec
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
package = JSON.parse(File.read(File.join(__dir__, "package.json")))
|
|
2
2
|
|
|
3
|
-
folly_version = '2024.01.01.00'
|
|
4
3
|
folly_compiler_flags = '-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1 -Wno-comma -Wno-shorten-64-to-32'
|
|
5
4
|
|
|
6
5
|
Pod::Spec.new do |s|
|
|
@@ -19,22 +18,28 @@ Pod::Spec.new do |s|
|
|
|
19
18
|
s.requires_arc = true
|
|
20
19
|
s.static_framework = true
|
|
21
20
|
|
|
22
|
-
s.dependency '
|
|
23
|
-
s.dependency 'UXCam' , '~> 3.6.17'
|
|
21
|
+
s.dependency 'UXCam' , '~> 3.6.20'
|
|
24
22
|
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
s
|
|
28
|
-
|
|
23
|
+
if defined? install_modules_dependencies
|
|
24
|
+
# Default React Native dependencies for 0.71 and above (new and legacy architecture)
|
|
25
|
+
install_modules_dependencies(s)
|
|
26
|
+
else
|
|
27
|
+
s.dependency 'React-Core'
|
|
28
|
+
|
|
29
|
+
if ENV['RCT_NEW_ARCH_ENABLED'] == '1' then
|
|
30
|
+
# New Architecture on React Native 0.70 and older
|
|
31
|
+
s.compiler_flags = folly_compiler_flags + " -DRCT_NEW_ARCH_ENABLED=1"
|
|
32
|
+
s.pod_target_xcconfig = {
|
|
29
33
|
"HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)/boost\"",
|
|
30
34
|
"CLANG_CXX_LANGUAGE_STANDARD" => "c++17"
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
s.dependency "React-Codegen"
|
|
38
|
+
s.dependency "RCT-Folly"
|
|
39
|
+
s.dependency "RCTRequired"
|
|
40
|
+
s.dependency "RCTTypeSafety"
|
|
41
|
+
s.dependency "ReactCommon/turbomodule/core"
|
|
42
|
+
end
|
|
38
43
|
end
|
|
39
44
|
|
|
40
45
|
end
|
package/android/build.gradle
CHANGED
|
@@ -56,7 +56,7 @@ public class RNUxcamModuleImpl {
|
|
|
56
56
|
public static final String HIDE_GESTURES = "hideGestures";
|
|
57
57
|
|
|
58
58
|
private static final String UXCAM_PLUGIN_TYPE = "react-native";
|
|
59
|
-
private static final String UXCAM_REACT_PLUGIN_VERSION = "6.0.
|
|
59
|
+
private static final String UXCAM_REACT_PLUGIN_VERSION = "6.0.2";
|
|
60
60
|
|
|
61
61
|
private final ReactApplicationContext reactContext;
|
|
62
62
|
|
package/ios/RNUxcam/RNUxcam.mm
CHANGED
|
@@ -31,7 +31,7 @@ static NSString* const RNUxcam_HideGestures = @"hideGestures";
|
|
|
31
31
|
static NSString* const RNUxcam_OverlayColor = @"color";
|
|
32
32
|
|
|
33
33
|
static NSString* const RNUxcam_PluginType = @"react-native";
|
|
34
|
-
static NSString* const RNUxcam_PluginVersion = @"6.0.
|
|
34
|
+
static NSString* const RNUxcam_PluginVersion = @"6.0.2";
|
|
35
35
|
|
|
36
36
|
|
|
37
37
|
@interface RNUxcam ()
|