omikit-plugin 3.2.46 → 3.2.47

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
  };
@@ -15,16 +15,24 @@ Pod::Spec.new do |s|
15
15
  s.source = { :git => "https://github.com/VIHATTeam/OMICALL-React-Native-SDK.git", :tag => "#{s.version}" }
16
16
 
17
17
  s.source_files = "ios/**/*.{h,m,mm,swift}"
18
+ s.swift_versions = ["5.0"]
18
19
 
20
+ # Modular headers để tránh xung đột khi dùng static frameworks
21
+ s.static_framework = true
22
+ s.pod_target_xcconfig = {
23
+ "DEFINES_MODULE" => "YES"
24
+ }
25
+
26
+ # React dependencies
19
27
  s.dependency "React-Core"
20
28
 
21
- # Don't install the dependencies when we run `pod install` in the old architecture.
22
- if ENV['RCT_NEW_ARCH_ENABLED'] == '1' then
29
+ # Xử cho kiến trúc mới (New Architecture)
30
+ if ENV['RCT_NEW_ARCH_ENABLED'] == '1'
23
31
  s.compiler_flags = folly_compiler_flags + " -DRCT_NEW_ARCH_ENABLED=1"
24
- s.pod_target_xcconfig = {
25
- "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)/boost\"",
26
- "OTHER_CPLUSPLUSFLAGS" => "-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1",
27
- "CLANG_CXX_LANGUAGE_STANDARD" => "c++17"
32
+ s.pod_target_xcconfig = {
33
+ "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)/boost\"",
34
+ "OTHER_CPLUSPLUSFLAGS" => folly_compiler_flags,
35
+ "CLANG_CXX_LANGUAGE_STANDARD" => "c++17"
28
36
  }
29
37
  s.dependency "React-Codegen"
30
38
  s.dependency "RCT-Folly"
@@ -32,5 +40,7 @@ Pod::Spec.new do |s|
32
40
  s.dependency "RCTTypeSafety"
33
41
  s.dependency "ReactCommon/turbomodule/core"
34
42
  end
43
+
44
+ # OmiKit dependency
35
45
  s.dependency "OmiKit", '1.8.1'
36
- end
46
+ end
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "omikit-plugin",
3
- "version": "3.2.46",
3
+ "version": "3.2.47",
4
4
  "description": "Omikit Plugin by ViHAT",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",