omikit-plugin 3.2.46 → 3.2.48
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.
|
@@ -7,6 +7,9 @@
|
|
|
7
7
|
objects = {
|
|
8
8
|
|
|
9
9
|
/* Begin PBXBuildFile section */
|
|
10
|
+
9893BD1F2D2B961D00B84BE1 /* OmikitNotification.m in Sources */ = {isa = PBXBuildFile; fileRef = 9893BD1B2D2B961D00B84BE1 /* OmikitNotification.m */; };
|
|
11
|
+
9893BD202D2B961D00B84BE1 /* OmikitPlugin.m in Sources */ = {isa = PBXBuildFile; fileRef = 9893BD1C2D2B961D00B84BE1 /* OmikitPlugin.m */; };
|
|
12
|
+
9893BD212D2B961D00B84BE1 /* OmikitPlugin.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9893BD1D2D2B961D00B84BE1 /* OmikitPlugin.swift */; };
|
|
10
13
|
C861229629A6239000F012BB /* OmikitPlugin.swift in Sources */ = {isa = PBXBuildFile; fileRef = C861229529A6239000F012BB /* OmikitPlugin.swift */; };
|
|
11
14
|
F4FF95D7245B92E800C19C63 /* OmikitPlugin.swift in Sources */ = {isa = PBXBuildFile; fileRef = F4FF95D6245B92E800C19C63 /* OmikitPlugin.swift */; };
|
|
12
15
|
/* End PBXBuildFile section */
|
|
@@ -25,6 +28,10 @@
|
|
|
25
28
|
|
|
26
29
|
/* Begin PBXFileReference section */
|
|
27
30
|
134814201AA4EA6300B7C361 /* libOmikitPlugin.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libOmikitPlugin.a; sourceTree = BUILT_PRODUCTS_DIR; };
|
|
31
|
+
9893BD1A2D2B961D00B84BE1 /* OmikitNotification.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = OmikitNotification.h; sourceTree = "<group>"; };
|
|
32
|
+
9893BD1B2D2B961D00B84BE1 /* OmikitNotification.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = OmikitNotification.m; sourceTree = "<group>"; };
|
|
33
|
+
9893BD1C2D2B961D00B84BE1 /* OmikitPlugin.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = OmikitPlugin.m; sourceTree = "<group>"; };
|
|
34
|
+
9893BD1D2D2B961D00B84BE1 /* OmikitPlugin.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = OmikitPlugin.swift; sourceTree = "<group>"; };
|
|
28
35
|
B3E7B5891CC2AC0600A0062D /* OmikitPlugin.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = OmikitPlugin.m; sourceTree = "<group>"; };
|
|
29
36
|
C861229529A6239000F012BB /* OmikitPlugin.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = OmikitPlugin.swift; sourceTree = "<group>"; };
|
|
30
37
|
C8FBCFCE29A5F49600AA4A22 /* CallManager.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CallManager.swift; sourceTree = "<group>"; };
|
|
@@ -59,6 +66,7 @@
|
|
|
59
66
|
58B511D21A9E6C8500147676 = {
|
|
60
67
|
isa = PBXGroup;
|
|
61
68
|
children = (
|
|
69
|
+
9893BD1E2D2B961D00B84BE1 /* Library */,
|
|
62
70
|
C861229529A6239000F012BB /* OmikitPlugin.swift */,
|
|
63
71
|
C8FBCFCD29A5F49600AA4A22 /* CallProcess */,
|
|
64
72
|
C8FBCFD429A5F49600AA4A22 /* Constant */,
|
|
@@ -70,6 +78,17 @@
|
|
|
70
78
|
);
|
|
71
79
|
sourceTree = "<group>";
|
|
72
80
|
};
|
|
81
|
+
9893BD1E2D2B961D00B84BE1 /* Library */ = {
|
|
82
|
+
isa = PBXGroup;
|
|
83
|
+
children = (
|
|
84
|
+
9893BD1A2D2B961D00B84BE1 /* OmikitNotification.h */,
|
|
85
|
+
9893BD1B2D2B961D00B84BE1 /* OmikitNotification.m */,
|
|
86
|
+
9893BD1C2D2B961D00B84BE1 /* OmikitPlugin.m */,
|
|
87
|
+
9893BD1D2D2B961D00B84BE1 /* OmikitPlugin.swift */,
|
|
88
|
+
);
|
|
89
|
+
path = Library;
|
|
90
|
+
sourceTree = "<group>";
|
|
91
|
+
};
|
|
73
92
|
C8FBCFCD29A5F49600AA4A22 /* CallProcess */ = {
|
|
74
93
|
isa = PBXGroup;
|
|
75
94
|
children = (
|
|
@@ -156,6 +175,9 @@
|
|
|
156
175
|
files = (
|
|
157
176
|
F4FF95D7245B92E800C19C63 /* OmikitPlugin.swift in Sources */,
|
|
158
177
|
C861229629A6239000F012BB /* OmikitPlugin.swift in Sources */,
|
|
178
|
+
9893BD1F2D2B961D00B84BE1 /* OmikitNotification.m in Sources */,
|
|
179
|
+
9893BD202D2B961D00B84BE1 /* OmikitPlugin.m in Sources */,
|
|
180
|
+
9893BD212D2B961D00B84BE1 /* OmikitPlugin.swift in Sources */,
|
|
159
181
|
);
|
|
160
182
|
runOnlyForDeploymentPostprocessing = 0;
|
|
161
183
|
};
|
|
Binary file
|
package/omikit-plugin.podspec
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
require "json"
|
|
2
2
|
|
|
3
3
|
package = JSON.parse(File.read(File.join(__dir__, "package.json")))
|
|
4
|
-
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|
|
|
7
6
|
s.name = "omikit-plugin"
|
|
@@ -14,23 +13,34 @@ Pod::Spec.new do |s|
|
|
|
14
13
|
s.platforms = { :ios => "11.0" }
|
|
15
14
|
s.source = { :git => "https://github.com/VIHATTeam/OMICALL-React-Native-SDK.git", :tag => "#{s.version}" }
|
|
16
15
|
|
|
16
|
+
# Chỉ định source files
|
|
17
17
|
s.source_files = "ios/**/*.{h,m,mm,swift}"
|
|
18
18
|
|
|
19
|
+
# Đảm bảo hỗ trợ Swift
|
|
20
|
+
s.swift_versions = ["5.0"]
|
|
21
|
+
|
|
22
|
+
# Định nghĩa module để tránh lỗi Swift bridging header
|
|
23
|
+
s.static_framework = true
|
|
24
|
+
s.pod_target_xcconfig = {
|
|
25
|
+
"DEFINES_MODULE" => "YES",
|
|
26
|
+
"SWIFT_OBJC_INTERFACE_HEADER_NAME" => "omikit_plugin-Swift.h"
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
# Thêm dependency bắt buộc
|
|
19
30
|
s.dependency "React-Core"
|
|
31
|
+
s.dependency "OmiKit", "1.8.1"
|
|
20
32
|
|
|
21
|
-
#
|
|
22
|
-
if ENV['RCT_NEW_ARCH_ENABLED'] == '1'
|
|
33
|
+
# Xử lý riêng cho New Architecture
|
|
34
|
+
if ENV['RCT_NEW_ARCH_ENABLED'] == '1'
|
|
35
|
+
folly_compiler_flags = '-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1 -Wno-comma -Wno-shorten-64-to-32'
|
|
23
36
|
s.compiler_flags = folly_compiler_flags + " -DRCT_NEW_ARCH_ENABLED=1"
|
|
24
|
-
s.pod_target_xcconfig
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
"CLANG_CXX_LANGUAGE_STANDARD" => "c++17"
|
|
28
|
-
}
|
|
37
|
+
s.pod_target_xcconfig["HEADER_SEARCH_PATHS"] = "\"$(PODS_ROOT)/boost\""
|
|
38
|
+
s.pod_target_xcconfig["OTHER_CPLUSPLUSFLAGS"] = folly_compiler_flags
|
|
39
|
+
s.pod_target_xcconfig["CLANG_CXX_LANGUAGE_STANDARD"] = "c++17"
|
|
29
40
|
s.dependency "React-Codegen"
|
|
30
41
|
s.dependency "RCT-Folly"
|
|
31
42
|
s.dependency "RCTRequired"
|
|
32
43
|
s.dependency "RCTTypeSafety"
|
|
33
44
|
s.dependency "ReactCommon/turbomodule/core"
|
|
34
45
|
end
|
|
35
|
-
|
|
36
|
-
end
|
|
46
|
+
end
|