@onekeyfe/react-native-lite-card 1.0.15 → 1.0.17

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.
Files changed (15) hide show
  1. package/ios/GPChannelSDKCore.xcframework/Info.plist +52 -0
  2. package/ios/{GPChannelSDKCore.framework → GPChannelSDKCore.xcframework/ios-arm64/GPChannelSDKCore.framework}/GPChannelSDKCore +0 -0
  3. package/ios/GPChannelSDKCore.xcframework/ios-arm64_x86_64-simulator/GPChannelSDKCore.framework/GPChannelSDKCore +0 -0
  4. package/ios/GPChannelSDKCore.xcframework/ios-arm64_x86_64-simulator/GPChannelSDKCore.framework/Headers/GPChannelSDK.h +315 -0
  5. package/ios/GPChannelSDKCore.xcframework/ios-arm64_x86_64-simulator/GPChannelSDKCore.framework/Headers/GPChannelSDKCore.h +19 -0
  6. package/ios/GPChannelSDKCore.xcframework/ios-arm64_x86_64-simulator/GPChannelSDKCore.framework/Info.plist +0 -0
  7. package/ios/GPChannelSDKCore.xcframework/ios-arm64_x86_64-simulator/GPChannelSDKCore.framework/Modules/module.modulemap +7 -0
  8. package/ios/GPChannelSDKCore.xcframework/ios-arm64_x86_64-simulator/GPChannelSDKCore.framework/_CodeSignature/CodeResources +147 -0
  9. package/package.json +1 -1
  10. package/react-native-lite-card.podspec +1 -1
  11. /package/ios/{GPChannelSDKCore.framework → GPChannelSDKCore.xcframework/ios-arm64/GPChannelSDKCore.framework}/Headers/GPChannelSDK.h +0 -0
  12. /package/ios/{GPChannelSDKCore.framework → GPChannelSDKCore.xcframework/ios-arm64/GPChannelSDKCore.framework}/Headers/GPChannelSDKCore.h +0 -0
  13. /package/ios/{GPChannelSDKCore.framework → GPChannelSDKCore.xcframework/ios-arm64/GPChannelSDKCore.framework}/Info.plist +0 -0
  14. /package/ios/{GPChannelSDKCore.framework → GPChannelSDKCore.xcframework/ios-arm64/GPChannelSDKCore.framework}/Modules/module.modulemap +0 -0
  15. /package/ios/{GPChannelSDKCore.framework → GPChannelSDKCore.xcframework/ios-arm64/GPChannelSDKCore.framework}/_CodeSignature/CodeResources +0 -0
@@ -0,0 +1,52 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+ <plist version="1.0">
4
+ <dict>
5
+ <key>AvailableLibraries</key>
6
+ <array>
7
+ <dict>
8
+ <key>BinaryPath</key>
9
+ <string>GPChannelSDKCore.framework/GPChannelSDKCore</string>
10
+ <key>LibraryIdentifier</key>
11
+ <string>ios-arm64_x86_64-simulator</string>
12
+ <key>LibraryPath</key>
13
+ <string>GPChannelSDKCore.framework</string>
14
+ <key>SupportedArchitectures</key>
15
+ <array>
16
+ <string>arm64</string>
17
+ <string>x86_64</string>
18
+ </array>
19
+ <key>SupportedPlatform</key>
20
+ <string>ios</string>
21
+ <key>SupportedPlatformVariant</key>
22
+ <string>simulator</string>
23
+ <key>MinimumOSVersion</key>
24
+ <string>15.5</string>
25
+ </dict>
26
+ <dict>
27
+ <key>BinaryPath</key>
28
+ <string>GPChannelSDKCore.framework/GPChannelSDKCore</string>
29
+ <key>LibraryIdentifier</key>
30
+ <string>ios-arm64</string>
31
+ <key>LibraryPath</key>
32
+ <string>GPChannelSDKCore.framework</string>
33
+ <key>SupportedArchitectures</key>
34
+ <array>
35
+ <string>arm64</string>
36
+ </array>
37
+ <key>SupportedPlatform</key>
38
+ <string>ios</string>
39
+ <key>MinimumOSVersion</key>
40
+ <string>15.5</string>
41
+ </dict>
42
+ </array>
43
+ <key>CFBundlePackageType</key>
44
+ <string>XFWK</string>
45
+ <key>RCTNewArchEnabled</key>
46
+ <true/>
47
+ <key>XCFrameworkFormatVersion</key>
48
+ <string>1.0</string>
49
+ <key>MinimumOSVersion</key>
50
+ <string>15.5</string>
51
+ </dict>
52
+ </plist>
@@ -0,0 +1,315 @@
1
+ #ifndef JUB_GPC_APDU_SDK_H
2
+ #define JUB_GPC_APDU_SDK_H
3
+ //
4
+ // Generic helper definitions for shared library support
5
+ #if defined _MSC_VER || defined __CYGWIN__
6
+ #define JUB_COINCORE_DLL_IMPORT extern "C" __declspec(dllimport)
7
+ #define JUB_COINCORE_DLL_EXPORT extern "C" __declspec(dllexport)
8
+ #define JUB_COINCORE_DLL_LOCAL
9
+ #else
10
+ #if __GNUC__ >= 4
11
+ #define JUB_COINCORE_DLL_IMPORT __attribute__((visibility("default")))
12
+ #define JUB_COINCORE_DLL_EXPORT __attribute__((visibility("default")))
13
+ #define JUB_COINCORE_DLL_LOCAL __attribute__((visibility("internal")))
14
+ #else
15
+ #define JUB_COINCORE_DLL_IMPORT
16
+ #define JUB_COINCORE_DLL_EXPORT
17
+ #define JUB_COINCORE_DLL_LOCAL
18
+ #endif // #if __GNUC__ >= 4
19
+ #endif // #if defined _MSC_VER || defined __CYGWIN__
20
+
21
+ // Tag to deprecate functions and methods.
22
+ // Gives a compiler warning when they are used.
23
+ #if defined _MSC_VER || defined __CYGWIN__
24
+ #define BC_DEPRECATED __declspec(deprecated)
25
+ #else
26
+ #if __GNUC__ >= 4
27
+ #define JUB_DEPRECATED __attribute__((deprecated))
28
+ #else
29
+ #define JUB_DEPRECATED
30
+ #endif // #if __GNUC__ >= 4
31
+ #endif // #if defined _MSC_VER || defined __CYGWIN__
32
+
33
+ // Avoid namespace conflict between boost::placeholders and std::placeholders.
34
+ #define BOOST_BIND_NO_PLACEHOLDERS
35
+
36
+ // Define so we can have better visibility of lcov exclusion ranges.
37
+ #define LCOV_EXCL_START(text)
38
+ #define LCOV_EXCL_STOP()
39
+
40
+ #if defined(_WIN32)
41
+ #define HID_MODE
42
+ #elif defined(__APPLE__)
43
+ // see https://sourceforge.net/p/predef/mailman/message/34497133/
44
+ #include <TargetConditionals.h>
45
+ #if TARGET_OS_OSX // mac osx
46
+ #define HID_MODE
47
+ #elif TARGET_OS_IOS // ios
48
+ #define BLE_MODE
49
+ #define NFC_MODE
50
+ #endif // #if TARGET_OS_OSX
51
+ #elif defined(__ANDROID__)
52
+ #define BLE_MODE
53
+ #define NFC_MODE
54
+ #else //other
55
+ #define HID_MODE
56
+ #endif // #if defined(_WIN32)
57
+
58
+ #define JUBR_OK 0x00000000UL
59
+
60
+ #define JUBR_ERROR 0x00000001UL
61
+ #define JUBR_HOST_MEMORY 0x00000002UL
62
+ #define JUBR_ARGUMENTS_BAD 0x00000003UL
63
+ #define JUBR_IMPL_NOT_SUPPORT 0x00000004UL
64
+ #define JUBR_MEMORY_NULL_PTR 0x00000005UL
65
+ #define JUBR_CONTEXT_NOT_SATISFIED 0x00000006UL
66
+
67
+ #define JUBR_INVALID_MEMORY_PTR 0x00000008UL
68
+ #define JUBR_REPEAT_MEMORY_PTR 0x00000009UL
69
+ #define JUBR_BUFFER_TOO_SMALL 0x0000000AUL
70
+
71
+
72
+ /* === Library typedef: === */
73
+ #ifndef IN
74
+ #define IN
75
+ #endif // #ifndef IN
76
+
77
+ #ifndef OUT
78
+ #define OUT
79
+ #endif // #ifndef OUT
80
+
81
+ #ifndef INOUT
82
+ #define INOUT
83
+ #endif // #ifndef INOUT
84
+
85
+ #define JUB_TRUE 1
86
+ #define JUB_FALSE 0
87
+
88
+ #ifndef JUB_DISABLE_TRUE_FALSE
89
+ #ifndef FALSE
90
+ #define FALSE JUB_FALSE
91
+ #endif // #ifndef FALSE
92
+
93
+ #ifndef TRUE
94
+ #define TRUE JUB_TRUE
95
+ #endif // #ifndef TRUE
96
+ #endif // #ifndef JUB_DISABLE_TRUE_FALSE
97
+
98
+ /* an unsigned 8-bit value */
99
+ typedef unsigned char JUB_BYTE;
100
+
101
+ /* an unsigned 8-bit character */
102
+ typedef JUB_BYTE JUB_UCHAR;
103
+
104
+ /* an unsigned/signed 8-bit character, decide by complie*/
105
+ typedef char JUB_CHAR;
106
+
107
+ /* an 8-bit UTF-8 character */
108
+ typedef JUB_BYTE JUB_UTF8UCHAR;
109
+
110
+ /* a BYTE-sized Boolean flag */
111
+ typedef JUB_BYTE JUB_BBOOL;
112
+
113
+ /* an unsigned value, at least 32 bits long */
114
+ typedef unsigned long int JUB_ULONG;
115
+
116
+ /* a signed value, the same size as a JUB_ULONG */
117
+ typedef signed long int JUB_LONG;
118
+
119
+ typedef JUB_BYTE JUB_UINT8;
120
+
121
+ typedef unsigned int JUB_UINT32;
122
+
123
+ typedef unsigned short JUB_UINT16;
124
+
125
+ /* uint64 */
126
+ typedef unsigned long long JUB_UINT64;
127
+
128
+ /* signed uint64 */
129
+ typedef signed long long JUB_INT64;
130
+
131
+ #define JUB_PTR *
132
+ typedef JUB_CHAR JUB_PTR JUB_CHAR_PTR;
133
+ typedef JUB_CHAR_PTR JUB_PTR JUB_CHAR_PTR_PTR;
134
+ typedef const JUB_CHAR JUB_PTR JUB_CHAR_CPTR;
135
+ typedef const JUB_BYTE JUB_PTR JUB_BYTE_CPTR;
136
+
137
+ typedef JUB_BYTE JUB_PTR JUB_BYTE_PTR;
138
+ typedef const JUB_BYTE JUB_PTR JUB_BYTE_CPTR;
139
+ typedef JUB_UCHAR JUB_PTR JUB_UCHAR_PTR;
140
+ typedef JUB_UTF8UCHAR JUB_PTR JUB_UTF8UCHAR_PTR;
141
+ typedef JUB_ULONG JUB_PTR JUB_ULONG_PTR;
142
+ typedef JUB_UINT16 JUB_PTR JUB_UINT16_PTR;
143
+ typedef JUB_UINT32 JUB_PTR JUB_UINT32_PTR;
144
+ typedef JUB_UINT64 JUB_PTR JUB_UINT64_PTR;
145
+ typedef void JUB_PTR JUB_VOID_PTR;
146
+
147
+ /* Pointer to a JUB_VOID_PTR-- i.e., pointer to pointer to void */
148
+ typedef JUB_VOID_PTR JUB_PTR JUB_VOID_PTR_PTR;
149
+
150
+ typedef JUB_ULONG JUB_RV;
151
+
152
+ #ifdef __cplusplus
153
+ extern "C" {
154
+ #endif // #ifdef __cplusplus
155
+
156
+
157
+ /**
158
+ * SharedInfo.
159
+ */
160
+ typedef struct JUB_GPC_SCP11_SHAREDINFO {
161
+ JUB_CHAR_PTR scpID; // SCP identifier and parameters in hex string
162
+ JUB_CHAR_PTR keyUsage; // Key Usage Qualifier in hex string, for SCP11c, it's '3C'
163
+ JUB_CHAR_PTR keyType; // Key Type in hex string, for SCP11c, it's '88' (AES)
164
+ JUB_CHAR_PTR keyLength; // Key Length in hex string, it's '10'
165
+ JUB_CHAR_PTR hostID; // hostID in hex string, eg, "8080808080808080"
166
+ JUB_CHAR_PTR cardGroupID; // is the content of tag '5F20' (subject identifier) in CERT.SD.ECKA, eg, "6a75626974657277616c6c6574"
167
+ } GPC_SCP11_SHAREDINFO;
168
+
169
+
170
+ /*****************************************************************************
171
+ * @function name : JUB_FreeMemory
172
+ * @in param : memPtr
173
+ * @out param :
174
+ * @last change :
175
+ *****************************************************************************/
176
+ JUB_RV JUB_FreeMemory(IN JUB_CHAR_CPTR memPtr);
177
+
178
+
179
+ /*****************************************************************************
180
+ * @function name : JUB_GPC_TLVDecode
181
+ * @in param : tlv - TLV
182
+ * tag - tag
183
+ * @out param : value - value
184
+ * @last change :
185
+ *****************************************************************************/
186
+ JUB_COINCORE_DLL_EXPORT
187
+ JUB_RV JUB_GPC_TLVDecode(IN JUB_CHAR_CPTR tlv,
188
+ OUT JUB_ULONG_PTR tag,
189
+ OUT JUB_CHAR_PTR_PTR value);
190
+
191
+
192
+ /*****************************************************************************
193
+ * @function name : JUB_GPC_Initialize
194
+ * @in param : sharedInfo - SCP11 sharedInfo
195
+ * oce_crt - OCE certificate in hex string
196
+ * e_rk - Ephemeral private key of the OCE used for key agreement in hex string, ecdsa private key, length = 32
197
+ * @out param :
198
+ * @last change :
199
+ *****************************************************************************/
200
+ JUB_COINCORE_DLL_EXPORT
201
+ JUB_RV JUB_GPC_Initialize(IN GPC_SCP11_SHAREDINFO &sharedInfo,
202
+ IN JUB_CHAR_CPTR oce_crt,
203
+ IN JUB_CHAR_CPTR oce_rk);
204
+
205
+
206
+ /*****************************************************************************
207
+ * @function name : JUB_GPC_Finalize
208
+ * @in param :
209
+ * @out param :
210
+ * @last change :
211
+ *****************************************************************************/
212
+ JUB_COINCORE_DLL_EXPORT
213
+ JUB_RV JUB_GPC_Finalize();
214
+
215
+
216
+ /*****************************************************************************
217
+ * @function name : JUB_GPC_BuildMutualAuthData
218
+ * @in param :
219
+ * @out param : apduData - APDU data for MutualAuth cmd in hex string
220
+ * @last change :
221
+ * @ condition: JUB_GPC_Initialize() has been called first.
222
+ *****************************************************************************/
223
+ JUB_COINCORE_DLL_EXPORT
224
+ JUB_RV JUB_GPC_BuildMutualAuthData(OUT JUB_CHAR_PTR_PTR apduData);
225
+
226
+
227
+ /*****************************************************************************
228
+ * @function name : JUB_GPC_OpenSecureChannel
229
+ * @in param : response - response from Mutual Auth command in hex string
230
+ * @out param :
231
+ * @last change :
232
+ * @ condition: JUB_GPC_Initialize() has been called first.
233
+ *****************************************************************************/
234
+ JUB_COINCORE_DLL_EXPORT
235
+ JUB_RV JUB_GPC_OpenSecureChannel(IN JUB_CHAR_CPTR response);
236
+
237
+
238
+ /*****************************************************************************
239
+ * @function name : JUB_GPC_BuildAPDU
240
+ * @in param : cla - Class byte of the command message
241
+ * ins - Instruction byte of the command message
242
+ * p1 - Reference control parameter 1
243
+ * p2 - Reference control parameter 2
244
+ * data - APDU data in hex string
245
+ * @out param : apdu - APDU in plain text
246
+ * @last change :
247
+ *****************************************************************************/
248
+ JUB_COINCORE_DLL_EXPORT
249
+ JUB_RV JUB_GPC_BuildAPDU(IN JUB_ULONG cla, IN JUB_ULONG ins,
250
+ IN JUB_ULONG p1, IN JUB_ULONG p2,
251
+ IN JUB_CHAR_CPTR data,
252
+ OUT JUB_CHAR_PTR_PTR apdu);
253
+
254
+
255
+ /*****************************************************************************
256
+ * @function name : JUB_GPC_ParseAPDUResponse
257
+ * @in param : response - command response in hex string
258
+ * @out param : pwRet - APDU response
259
+ * resp - APDU response data
260
+ * @last change :
261
+ *****************************************************************************/
262
+ JUB_COINCORE_DLL_EXPORT
263
+ JUB_RV JUB_GPC_ParseAPDUResponse(IN JUB_CHAR_CPTR response,
264
+ OUT JUB_UINT16_PTR pwRet,
265
+ OUT JUB_CHAR_PTR_PTR resp);
266
+
267
+
268
+ /*****************************************************************************
269
+ * @function name : JUB_GPC_BuildSafeAPDU
270
+ * @in param : cla - Class byte of the command message
271
+ * ins - Instruction byte of the command message
272
+ * p1 - Reference control parameter 1
273
+ * p2 - Reference control parameter 2
274
+ * data - APDU data in hex string
275
+ * @out param : safeApdu - APDU in cipher text
276
+ * @last change :
277
+ * @ condition: JUB_GPC_Initialize() has been called first.
278
+ *****************************************************************************/
279
+ JUB_COINCORE_DLL_EXPORT
280
+ JUB_RV JUB_GPC_BuildSafeAPDU(IN JUB_ULONG cla, IN JUB_ULONG ins,
281
+ IN JUB_ULONG p1, IN JUB_ULONG p2,
282
+ IN JUB_CHAR_CPTR data,
283
+ OUT JUB_CHAR_PTR_PTR safeApdu);
284
+
285
+
286
+ /*****************************************************************************
287
+ * @function name : JUB_GPC_ParseSafeAPDUResponse
288
+ * @in param : response - command response in hex string
289
+ * @out param : pwRet - APDU response
290
+ * decResp - APDU response data in plain text
291
+ * @last change :
292
+ * @ condition: JUB_GPC_Initialize() has been called first.
293
+ *****************************************************************************/
294
+ JUB_COINCORE_DLL_EXPORT
295
+ JUB_RV JUB_GPC_ParseSafeAPDUResponse(IN JUB_CHAR_CPTR response,
296
+ OUT JUB_UINT16_PTR pwRet,
297
+ OUT JUB_CHAR_PTR_PTR decResp);
298
+
299
+
300
+ /*****************************************************************************
301
+ * @function name : JUB_GPC_ParseCertificate
302
+ * @in param : cert - certificate of a device
303
+ * @out param : sn - Certificate Serial Number
304
+ * : subjectID - Subject Identifier in hex
305
+ * @last change :
306
+ *****************************************************************************/
307
+ JUB_COINCORE_DLL_EXPORT
308
+ JUB_RV JUB_GPC_ParseCertificate(IN JUB_CHAR_CPTR cert,
309
+ OUT JUB_CHAR_PTR_PTR sn,
310
+ OUT JUB_CHAR_PTR_PTR subjectID);
311
+
312
+ #ifdef __cplusplus
313
+ }
314
+ #endif // #ifdef __cplusplus
315
+ #endif /* JUB_GPC_APDU_SDK_H */
@@ -0,0 +1,19 @@
1
+ //
2
+ // GPChannelSDKCore.h
3
+ // GPChannelSDKCore
4
+ //
5
+ // Created by Pan Min on 2020/7/8.
6
+ // Copyright © 2020 sherlockirene. All rights reserved.
7
+ //
8
+
9
+ #import <Foundation/Foundation.h>
10
+
11
+ //! Project version number for APDUSDKCore.
12
+ FOUNDATION_EXPORT double APDUSDKCoreVersionNumber;
13
+
14
+ //! Project version string for APDUSDKCore.
15
+ FOUNDATION_EXPORT const unsigned char APDUSDKCoreVersionString[];
16
+
17
+ // In this header, you should import all the public headers of your framework using statements like #import <APDUSDKCore/PublicHeader.h>
18
+
19
+ #import "GPChannelSDK.h"
@@ -0,0 +1,7 @@
1
+ framework module GpcApduSDKCore {
2
+ umbrella header "GPChannelSDKCore.h"
3
+ export *
4
+ module * { export * }
5
+ link "c++"
6
+ link "iconv"
7
+ }
@@ -0,0 +1,147 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+ <plist version="1.0">
4
+ <dict>
5
+ <key>files</key>
6
+ <dict>
7
+ <key>Headers/GPChannelSDK.h</key>
8
+ <data>
9
+ uG1v6vOqieGf3XyiACn0RwRrbic=
10
+ </data>
11
+ <key>Headers/GPChannelSDKCore.h</key>
12
+ <data>
13
+ gBRG6/N+nZ+djFA2jdAqyqUxttY=
14
+ </data>
15
+ <key>Info.plist</key>
16
+ <data>
17
+ KGZUYWkv0WnHzc7iJi1HxBwS/Oo=
18
+ </data>
19
+ <key>Modules/module.modulemap</key>
20
+ <data>
21
+ shafTzNtmQWs2IZCCWBFPKTovMs=
22
+ </data>
23
+ </dict>
24
+ <key>files2</key>
25
+ <dict>
26
+ <key>Headers/GPChannelSDK.h</key>
27
+ <dict>
28
+ <key>hash</key>
29
+ <data>
30
+ uG1v6vOqieGf3XyiACn0RwRrbic=
31
+ </data>
32
+ <key>hash2</key>
33
+ <data>
34
+ zhRWapd2qTHpNHZvJQzt30H3N5LW5Yt+GJ3GuRoj6q8=
35
+ </data>
36
+ </dict>
37
+ <key>Headers/GPChannelSDKCore.h</key>
38
+ <dict>
39
+ <key>hash</key>
40
+ <data>
41
+ gBRG6/N+nZ+djFA2jdAqyqUxttY=
42
+ </data>
43
+ <key>hash2</key>
44
+ <data>
45
+ DoV6Gm+oUan4pXmaQYly85t5g67vEiQJ1icjPGjFERs=
46
+ </data>
47
+ </dict>
48
+ <key>Modules/module.modulemap</key>
49
+ <dict>
50
+ <key>hash</key>
51
+ <data>
52
+ shafTzNtmQWs2IZCCWBFPKTovMs=
53
+ </data>
54
+ <key>hash2</key>
55
+ <data>
56
+ rfUGtQTl+2lFzt7UrZtPNwd68iTRktKD5yrLLWcFufg=
57
+ </data>
58
+ </dict>
59
+ </dict>
60
+ <key>rules</key>
61
+ <dict>
62
+ <key>^.*</key>
63
+ <true/>
64
+ <key>^.*\.lproj/</key>
65
+ <dict>
66
+ <key>optional</key>
67
+ <true/>
68
+ <key>weight</key>
69
+ <real>1000</real>
70
+ </dict>
71
+ <key>^.*\.lproj/locversion.plist$</key>
72
+ <dict>
73
+ <key>omit</key>
74
+ <true/>
75
+ <key>weight</key>
76
+ <real>1100</real>
77
+ </dict>
78
+ <key>^Base\.lproj/</key>
79
+ <dict>
80
+ <key>weight</key>
81
+ <real>1010</real>
82
+ </dict>
83
+ <key>^version.plist$</key>
84
+ <true/>
85
+ </dict>
86
+ <key>rules2</key>
87
+ <dict>
88
+ <key>.*\.dSYM($|/)</key>
89
+ <dict>
90
+ <key>weight</key>
91
+ <real>11</real>
92
+ </dict>
93
+ <key>^(.*/)?\.DS_Store$</key>
94
+ <dict>
95
+ <key>omit</key>
96
+ <true/>
97
+ <key>weight</key>
98
+ <real>2000</real>
99
+ </dict>
100
+ <key>^.*</key>
101
+ <true/>
102
+ <key>^.*\.lproj/</key>
103
+ <dict>
104
+ <key>optional</key>
105
+ <true/>
106
+ <key>weight</key>
107
+ <real>1000</real>
108
+ </dict>
109
+ <key>^.*\.lproj/locversion.plist$</key>
110
+ <dict>
111
+ <key>omit</key>
112
+ <true/>
113
+ <key>weight</key>
114
+ <real>1100</real>
115
+ </dict>
116
+ <key>^Base\.lproj/</key>
117
+ <dict>
118
+ <key>weight</key>
119
+ <real>1010</real>
120
+ </dict>
121
+ <key>^Info\.plist$</key>
122
+ <dict>
123
+ <key>omit</key>
124
+ <true/>
125
+ <key>weight</key>
126
+ <real>20</real>
127
+ </dict>
128
+ <key>^PkgInfo$</key>
129
+ <dict>
130
+ <key>omit</key>
131
+ <true/>
132
+ <key>weight</key>
133
+ <real>20</real>
134
+ </dict>
135
+ <key>^embedded\.provisionprofile$</key>
136
+ <dict>
137
+ <key>weight</key>
138
+ <real>20</real>
139
+ </dict>
140
+ <key>^version\.plist$</key>
141
+ <dict>
142
+ <key>weight</key>
143
+ <real>20</real>
144
+ </dict>
145
+ </dict>
146
+ </dict>
147
+ </plist>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onekeyfe/react-native-lite-card",
3
- "version": "1.0.15",
3
+ "version": "1.0.17",
4
4
  "description": "lite card",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",
@@ -15,7 +15,7 @@ Pod::Spec.new do |s|
15
15
  s.source = { :git => "https://github.com/OneKeyHQ/react-native-lite-card.git", :tag => "#{s.version}" }
16
16
 
17
17
  s.source_files = "ios/Classes/**/*", "keys/**/*"
18
- s.vendored_framework = "ios/GPChannelSDKCore.framework"
18
+ s.vendored_framework = "ios/GPChannelSDKCore.xcframework"
19
19
 
20
20
  # Use install_modules_dependencies helper to install the dependencies if React Native version >=0.71.0.
21
21
  # See https://github.com/facebook/react-native/blob/febf6b7f33fdb4904669f99d795eba4c0f95d7bf/scripts/cocoapods/new_architecture.rb#L79.