@hawcx/react-native-sdk 1.0.1 → 1.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/CHANGELOG.md +5 -1
- package/HawcxReactNative.podspec +2 -2
- package/LICENSE +48 -15
- package/README.md +150 -88
- package/docs/RELEASE.md +2 -2
- package/example/ios/HawcxExampleApp.xcodeproj/project.pbxproj +57 -57
- package/example/ios/HawcxExampleApp.xcodeproj/project.xcworkspace/xcuserdata/agambhullar.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
- package/example/ios/Podfile +24 -0
- package/example/ios/Podfile.lock +3 -3
- package/example/package-lock.json +3 -3
- package/example/package.json +1 -1
- package/example/src/App.tsx +211 -8
- package/example/src/hawcx.config.ts +4 -26
- package/ios/Frameworks/HawcxFramework.xcframework/ios-arm64/HawcxFramework.framework/HawcxFramework +0 -0
- package/ios/Frameworks/HawcxFramework.xcframework/ios-arm64/HawcxFramework.framework/Modules/HawcxFramework.swiftmodule/arm64-apple-ios.abi.json +208 -77
- package/ios/Frameworks/HawcxFramework.xcframework/ios-arm64/HawcxFramework.framework/Modules/HawcxFramework.swiftmodule/arm64-apple-ios.private.swiftinterface +10 -0
- package/ios/Frameworks/HawcxFramework.xcframework/ios-arm64/HawcxFramework.framework/Modules/HawcxFramework.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
- package/ios/Frameworks/HawcxFramework.xcframework/ios-arm64/HawcxFramework.framework/Modules/HawcxFramework.swiftmodule/arm64-apple-ios.swiftinterface +10 -0
- package/ios/Frameworks/HawcxFramework.xcframework/ios-arm64_x86_64-simulator/HawcxFramework.framework/HawcxFramework +0 -0
- package/ios/Frameworks/HawcxFramework.xcframework/ios-arm64_x86_64-simulator/HawcxFramework.framework/Modules/HawcxFramework.swiftmodule/arm64-apple-ios-simulator.abi.json +208 -77
- package/ios/Frameworks/HawcxFramework.xcframework/ios-arm64_x86_64-simulator/HawcxFramework.framework/Modules/HawcxFramework.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +10 -0
- package/ios/Frameworks/HawcxFramework.xcframework/ios-arm64_x86_64-simulator/HawcxFramework.framework/Modules/HawcxFramework.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
- package/ios/Frameworks/HawcxFramework.xcframework/ios-arm64_x86_64-simulator/HawcxFramework.framework/Modules/HawcxFramework.swiftmodule/arm64-apple-ios-simulator.swiftinterface +10 -0
- package/ios/Frameworks/HawcxFramework.xcframework/ios-arm64_x86_64-simulator/HawcxFramework.framework/Modules/HawcxFramework.swiftmodule/x86_64-apple-ios-simulator.abi.json +208 -77
- package/ios/Frameworks/HawcxFramework.xcframework/ios-arm64_x86_64-simulator/HawcxFramework.framework/Modules/HawcxFramework.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +10 -0
- package/ios/Frameworks/HawcxFramework.xcframework/ios-arm64_x86_64-simulator/HawcxFramework.framework/Modules/HawcxFramework.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
- package/ios/Frameworks/HawcxFramework.xcframework/ios-arm64_x86_64-simulator/HawcxFramework.framework/Modules/HawcxFramework.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +10 -0
- package/ios/Frameworks/HawcxFramework.xcframework/ios-arm64_x86_64-simulator/HawcxFramework.framework/_CodeSignature/CodeResources +20 -20
- package/ios/HawcxReactNative.swift +64 -0
- package/lib/commonjs/index.js +34 -0
- package/lib/commonjs/index.js.map +1 -1
- package/lib/module/index.js +33 -0
- package/lib/module/index.js.map +1 -1
- package/lib/typescript/index.d.ts +28 -0
- package/lib/typescript/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/react_mobile_sdk_plan.md +2 -0
- package/src/__tests__/index.test.ts +40 -1
- package/src/index.ts +66 -0
|
@@ -8,12 +8,12 @@
|
|
|
8
8
|
|
|
9
9
|
/* Begin PBXBuildFile section */
|
|
10
10
|
00E356F31AD99517003FC87E /* HawcxExampleAppTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* HawcxExampleAppTests.m */; };
|
|
11
|
-
0C80B921A6F3F58F76C31292 /* libPods-HawcxExampleApp.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5DCACB8F33CDC322A6C60F78 /* libPods-HawcxExampleApp.a */; };
|
|
12
11
|
13B07FBC1A68108700A75B9A /* AppDelegate.mm in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB01A68108700A75B9A /* AppDelegate.mm */; };
|
|
13
12
|
13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; };
|
|
14
13
|
13B07FC11A68108700A75B9A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; };
|
|
14
|
+
1FBCD83682464DA3C6B2A4AB /* libPods-HawcxExampleApp-HawcxExampleAppTests.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 8F2339134B431CCC6DCF0B4F /* libPods-HawcxExampleApp-HawcxExampleAppTests.a */; };
|
|
15
15
|
6132EF182BDFF13200BBE14D /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = 6132EF172BDFF13200BBE14D /* PrivacyInfo.xcprivacy */; };
|
|
16
|
-
|
|
16
|
+
74647824D04F84C892CEA8DD /* libPods-HawcxExampleApp.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 03EEA0B95D44F87A1E3AD734 /* libPods-HawcxExampleApp.a */; };
|
|
17
17
|
81AB9BB82411601600AC10FF /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */; };
|
|
18
18
|
/* End PBXBuildFile section */
|
|
19
19
|
|
|
@@ -31,20 +31,20 @@
|
|
|
31
31
|
00E356EE1AD99517003FC87E /* HawcxExampleAppTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = HawcxExampleAppTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
|
|
32
32
|
00E356F11AD99517003FC87E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
|
|
33
33
|
00E356F21AD99517003FC87E /* HawcxExampleAppTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = HawcxExampleAppTests.m; sourceTree = "<group>"; };
|
|
34
|
+
03EEA0B95D44F87A1E3AD734 /* libPods-HawcxExampleApp.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-HawcxExampleApp.a"; sourceTree = BUILT_PRODUCTS_DIR; };
|
|
35
|
+
09F895AA471DF78C9D9305A4 /* Pods-HawcxExampleApp.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-HawcxExampleApp.debug.xcconfig"; path = "Target Support Files/Pods-HawcxExampleApp/Pods-HawcxExampleApp.debug.xcconfig"; sourceTree = "<group>"; };
|
|
34
36
|
13B07F961A680F5B00A75B9A /* HawcxExampleApp.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = HawcxExampleApp.app; sourceTree = BUILT_PRODUCTS_DIR; };
|
|
35
37
|
13B07FAF1A68108700A75B9A /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AppDelegate.h; path = HawcxExampleApp/AppDelegate.h; sourceTree = "<group>"; };
|
|
36
38
|
13B07FB01A68108700A75B9A /* AppDelegate.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; name = AppDelegate.mm; path = HawcxExampleApp/AppDelegate.mm; sourceTree = "<group>"; };
|
|
37
39
|
13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = HawcxExampleApp/Images.xcassets; sourceTree = "<group>"; };
|
|
38
40
|
13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = HawcxExampleApp/Info.plist; sourceTree = "<group>"; };
|
|
39
41
|
13B07FB71A68108700A75B9A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = HawcxExampleApp/main.m; sourceTree = "<group>"; };
|
|
40
|
-
|
|
41
|
-
3B4392A12AC88292D35C810B /* Pods-HawcxExampleApp.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-HawcxExampleApp.debug.xcconfig"; path = "Target Support Files/Pods-HawcxExampleApp/Pods-HawcxExampleApp.debug.xcconfig"; sourceTree = "<group>"; };
|
|
42
|
-
5709B34CF0A7D63546082F79 /* Pods-HawcxExampleApp.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-HawcxExampleApp.release.xcconfig"; path = "Target Support Files/Pods-HawcxExampleApp/Pods-HawcxExampleApp.release.xcconfig"; sourceTree = "<group>"; };
|
|
43
|
-
5B7EB9410499542E8C5724F5 /* Pods-HawcxExampleApp-HawcxExampleAppTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-HawcxExampleApp-HawcxExampleAppTests.debug.xcconfig"; path = "Target Support Files/Pods-HawcxExampleApp-HawcxExampleAppTests/Pods-HawcxExampleApp-HawcxExampleAppTests.debug.xcconfig"; sourceTree = "<group>"; };
|
|
44
|
-
5DCACB8F33CDC322A6C60F78 /* libPods-HawcxExampleApp.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-HawcxExampleApp.a"; sourceTree = BUILT_PRODUCTS_DIR; };
|
|
42
|
+
1A6CDDE599DB3EC6876727DC /* Pods-HawcxExampleApp-HawcxExampleAppTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-HawcxExampleApp-HawcxExampleAppTests.debug.xcconfig"; path = "Target Support Files/Pods-HawcxExampleApp-HawcxExampleAppTests/Pods-HawcxExampleApp-HawcxExampleAppTests.debug.xcconfig"; sourceTree = "<group>"; };
|
|
45
43
|
6132EF172BDFF13200BBE14D /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; lastKnownFileType = text.xml; name = PrivacyInfo.xcprivacy; path = HawcxExampleApp/PrivacyInfo.xcprivacy; sourceTree = "<group>"; };
|
|
46
44
|
81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; name = LaunchScreen.storyboard; path = HawcxExampleApp/LaunchScreen.storyboard; sourceTree = "<group>"; };
|
|
47
|
-
|
|
45
|
+
8F2339134B431CCC6DCF0B4F /* libPods-HawcxExampleApp-HawcxExampleAppTests.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-HawcxExampleApp-HawcxExampleAppTests.a"; sourceTree = BUILT_PRODUCTS_DIR; };
|
|
46
|
+
9E2BECC9BB35F621AD10D533 /* Pods-HawcxExampleApp.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-HawcxExampleApp.release.xcconfig"; path = "Target Support Files/Pods-HawcxExampleApp/Pods-HawcxExampleApp.release.xcconfig"; sourceTree = "<group>"; };
|
|
47
|
+
CE1858E1CE6C7F6E769EF47D /* Pods-HawcxExampleApp-HawcxExampleAppTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-HawcxExampleApp-HawcxExampleAppTests.release.xcconfig"; path = "Target Support Files/Pods-HawcxExampleApp-HawcxExampleAppTests/Pods-HawcxExampleApp-HawcxExampleAppTests.release.xcconfig"; sourceTree = "<group>"; };
|
|
48
48
|
ED297162215061F000B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = System/Library/Frameworks/JavaScriptCore.framework; sourceTree = SDKROOT; };
|
|
49
49
|
/* End PBXFileReference section */
|
|
50
50
|
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
isa = PBXFrameworksBuildPhase;
|
|
54
54
|
buildActionMask = 2147483647;
|
|
55
55
|
files = (
|
|
56
|
-
|
|
56
|
+
1FBCD83682464DA3C6B2A4AB /* libPods-HawcxExampleApp-HawcxExampleAppTests.a in Frameworks */,
|
|
57
57
|
);
|
|
58
58
|
runOnlyForDeploymentPostprocessing = 0;
|
|
59
59
|
};
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
isa = PBXFrameworksBuildPhase;
|
|
62
62
|
buildActionMask = 2147483647;
|
|
63
63
|
files = (
|
|
64
|
-
|
|
64
|
+
74647824D04F84C892CEA8DD /* libPods-HawcxExampleApp.a in Frameworks */,
|
|
65
65
|
);
|
|
66
66
|
runOnlyForDeploymentPostprocessing = 0;
|
|
67
67
|
};
|
|
@@ -102,8 +102,8 @@
|
|
|
102
102
|
isa = PBXGroup;
|
|
103
103
|
children = (
|
|
104
104
|
ED297162215061F000B7C4FE /* JavaScriptCore.framework */,
|
|
105
|
-
|
|
106
|
-
|
|
105
|
+
03EEA0B95D44F87A1E3AD734 /* libPods-HawcxExampleApp.a */,
|
|
106
|
+
8F2339134B431CCC6DCF0B4F /* libPods-HawcxExampleApp-HawcxExampleAppTests.a */,
|
|
107
107
|
);
|
|
108
108
|
name = Frameworks;
|
|
109
109
|
sourceTree = "<group>";
|
|
@@ -143,10 +143,10 @@
|
|
|
143
143
|
BBD78D7AC51CEA395F1C20DB /* Pods */ = {
|
|
144
144
|
isa = PBXGroup;
|
|
145
145
|
children = (
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
146
|
+
09F895AA471DF78C9D9305A4 /* Pods-HawcxExampleApp.debug.xcconfig */,
|
|
147
|
+
9E2BECC9BB35F621AD10D533 /* Pods-HawcxExampleApp.release.xcconfig */,
|
|
148
|
+
1A6CDDE599DB3EC6876727DC /* Pods-HawcxExampleApp-HawcxExampleAppTests.debug.xcconfig */,
|
|
149
|
+
CE1858E1CE6C7F6E769EF47D /* Pods-HawcxExampleApp-HawcxExampleAppTests.release.xcconfig */,
|
|
150
150
|
);
|
|
151
151
|
path = Pods;
|
|
152
152
|
sourceTree = "<group>";
|
|
@@ -158,12 +158,12 @@
|
|
|
158
158
|
isa = PBXNativeTarget;
|
|
159
159
|
buildConfigurationList = 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "HawcxExampleAppTests" */;
|
|
160
160
|
buildPhases = (
|
|
161
|
-
|
|
161
|
+
54A2E682CF59A6336EC6382E /* [CP] Check Pods Manifest.lock */,
|
|
162
162
|
00E356EA1AD99517003FC87E /* Sources */,
|
|
163
163
|
00E356EB1AD99517003FC87E /* Frameworks */,
|
|
164
164
|
00E356EC1AD99517003FC87E /* Resources */,
|
|
165
|
-
|
|
166
|
-
|
|
165
|
+
C8BAF5D49D37D685BC98E007 /* [CP] Embed Pods Frameworks */,
|
|
166
|
+
3BDDBFDDB4BBEC2434F81C47 /* [CP] Copy Pods Resources */,
|
|
167
167
|
);
|
|
168
168
|
buildRules = (
|
|
169
169
|
);
|
|
@@ -179,13 +179,13 @@
|
|
|
179
179
|
isa = PBXNativeTarget;
|
|
180
180
|
buildConfigurationList = 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "HawcxExampleApp" */;
|
|
181
181
|
buildPhases = (
|
|
182
|
-
|
|
182
|
+
F25204CA5ADAA84B579E3D63 /* [CP] Check Pods Manifest.lock */,
|
|
183
183
|
13B07F871A680F5B00A75B9A /* Sources */,
|
|
184
184
|
13B07F8C1A680F5B00A75B9A /* Frameworks */,
|
|
185
185
|
13B07F8E1A680F5B00A75B9A /* Resources */,
|
|
186
186
|
00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */,
|
|
187
|
-
|
|
188
|
-
|
|
187
|
+
E2A435E943932176BDCDAE09 /* [CP] Embed Pods Frameworks */,
|
|
188
|
+
CFC940BF3F0D31DA9E0A3891 /* [CP] Copy Pods Resources */,
|
|
189
189
|
);
|
|
190
190
|
buildRules = (
|
|
191
191
|
);
|
|
@@ -269,24 +269,24 @@
|
|
|
269
269
|
shellPath = /bin/sh;
|
|
270
270
|
shellScript = "set -e\n\nWITH_ENVIRONMENT=\"../node_modules/react-native/scripts/xcode/with-environment.sh\"\nREACT_NATIVE_XCODE=\"../node_modules/react-native/scripts/react-native-xcode.sh\"\n\n/bin/sh -c \"$WITH_ENVIRONMENT $REACT_NATIVE_XCODE\"\n";
|
|
271
271
|
};
|
|
272
|
-
|
|
272
|
+
3BDDBFDDB4BBEC2434F81C47 /* [CP] Copy Pods Resources */ = {
|
|
273
273
|
isa = PBXShellScriptBuildPhase;
|
|
274
274
|
buildActionMask = 2147483647;
|
|
275
275
|
files = (
|
|
276
276
|
);
|
|
277
277
|
inputFileListPaths = (
|
|
278
|
-
"${PODS_ROOT}/Target Support Files/Pods-HawcxExampleApp/Pods-HawcxExampleApp-
|
|
278
|
+
"${PODS_ROOT}/Target Support Files/Pods-HawcxExampleApp-HawcxExampleAppTests/Pods-HawcxExampleApp-HawcxExampleAppTests-resources-${CONFIGURATION}-input-files.xcfilelist",
|
|
279
279
|
);
|
|
280
|
-
name = "[CP]
|
|
280
|
+
name = "[CP] Copy Pods Resources";
|
|
281
281
|
outputFileListPaths = (
|
|
282
|
-
"${PODS_ROOT}/Target Support Files/Pods-HawcxExampleApp/Pods-HawcxExampleApp-
|
|
282
|
+
"${PODS_ROOT}/Target Support Files/Pods-HawcxExampleApp-HawcxExampleAppTests/Pods-HawcxExampleApp-HawcxExampleAppTests-resources-${CONFIGURATION}-output-files.xcfilelist",
|
|
283
283
|
);
|
|
284
284
|
runOnlyForDeploymentPostprocessing = 0;
|
|
285
285
|
shellPath = /bin/sh;
|
|
286
|
-
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-HawcxExampleApp/Pods-HawcxExampleApp-
|
|
286
|
+
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-HawcxExampleApp-HawcxExampleAppTests/Pods-HawcxExampleApp-HawcxExampleAppTests-resources.sh\"\n";
|
|
287
287
|
showEnvVarsInLog = 0;
|
|
288
288
|
};
|
|
289
|
-
|
|
289
|
+
54A2E682CF59A6336EC6382E /* [CP] Check Pods Manifest.lock */ = {
|
|
290
290
|
isa = PBXShellScriptBuildPhase;
|
|
291
291
|
buildActionMask = 2147483647;
|
|
292
292
|
files = (
|
|
@@ -308,77 +308,77 @@
|
|
|
308
308
|
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
|
|
309
309
|
showEnvVarsInLog = 0;
|
|
310
310
|
};
|
|
311
|
-
|
|
311
|
+
C8BAF5D49D37D685BC98E007 /* [CP] Embed Pods Frameworks */ = {
|
|
312
312
|
isa = PBXShellScriptBuildPhase;
|
|
313
313
|
buildActionMask = 2147483647;
|
|
314
314
|
files = (
|
|
315
315
|
);
|
|
316
316
|
inputFileListPaths = (
|
|
317
|
+
"${PODS_ROOT}/Target Support Files/Pods-HawcxExampleApp-HawcxExampleAppTests/Pods-HawcxExampleApp-HawcxExampleAppTests-frameworks-${CONFIGURATION}-input-files.xcfilelist",
|
|
317
318
|
);
|
|
318
|
-
|
|
319
|
-
"${PODS_PODFILE_DIR_PATH}/Podfile.lock",
|
|
320
|
-
"${PODS_ROOT}/Manifest.lock",
|
|
321
|
-
);
|
|
322
|
-
name = "[CP] Check Pods Manifest.lock";
|
|
319
|
+
name = "[CP] Embed Pods Frameworks";
|
|
323
320
|
outputFileListPaths = (
|
|
324
|
-
|
|
325
|
-
outputPaths = (
|
|
326
|
-
"$(DERIVED_FILE_DIR)/Pods-HawcxExampleApp-checkManifestLockResult.txt",
|
|
321
|
+
"${PODS_ROOT}/Target Support Files/Pods-HawcxExampleApp-HawcxExampleAppTests/Pods-HawcxExampleApp-HawcxExampleAppTests-frameworks-${CONFIGURATION}-output-files.xcfilelist",
|
|
327
322
|
);
|
|
328
323
|
runOnlyForDeploymentPostprocessing = 0;
|
|
329
324
|
shellPath = /bin/sh;
|
|
330
|
-
shellScript = "
|
|
325
|
+
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-HawcxExampleApp-HawcxExampleAppTests/Pods-HawcxExampleApp-HawcxExampleAppTests-frameworks.sh\"\n";
|
|
331
326
|
showEnvVarsInLog = 0;
|
|
332
327
|
};
|
|
333
|
-
|
|
328
|
+
CFC940BF3F0D31DA9E0A3891 /* [CP] Copy Pods Resources */ = {
|
|
334
329
|
isa = PBXShellScriptBuildPhase;
|
|
335
330
|
buildActionMask = 2147483647;
|
|
336
331
|
files = (
|
|
337
332
|
);
|
|
338
333
|
inputFileListPaths = (
|
|
339
|
-
"${PODS_ROOT}/Target Support Files/Pods-HawcxExampleApp
|
|
334
|
+
"${PODS_ROOT}/Target Support Files/Pods-HawcxExampleApp/Pods-HawcxExampleApp-resources-${CONFIGURATION}-input-files.xcfilelist",
|
|
340
335
|
);
|
|
341
|
-
name = "[CP]
|
|
336
|
+
name = "[CP] Copy Pods Resources";
|
|
342
337
|
outputFileListPaths = (
|
|
343
|
-
"${PODS_ROOT}/Target Support Files/Pods-HawcxExampleApp
|
|
338
|
+
"${PODS_ROOT}/Target Support Files/Pods-HawcxExampleApp/Pods-HawcxExampleApp-resources-${CONFIGURATION}-output-files.xcfilelist",
|
|
344
339
|
);
|
|
345
340
|
runOnlyForDeploymentPostprocessing = 0;
|
|
346
341
|
shellPath = /bin/sh;
|
|
347
|
-
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-HawcxExampleApp
|
|
342
|
+
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-HawcxExampleApp/Pods-HawcxExampleApp-resources.sh\"\n";
|
|
348
343
|
showEnvVarsInLog = 0;
|
|
349
344
|
};
|
|
350
|
-
|
|
345
|
+
E2A435E943932176BDCDAE09 /* [CP] Embed Pods Frameworks */ = {
|
|
351
346
|
isa = PBXShellScriptBuildPhase;
|
|
352
347
|
buildActionMask = 2147483647;
|
|
353
348
|
files = (
|
|
354
349
|
);
|
|
355
350
|
inputFileListPaths = (
|
|
356
|
-
"${PODS_ROOT}/Target Support Files/Pods-HawcxExampleApp/Pods-HawcxExampleApp-
|
|
351
|
+
"${PODS_ROOT}/Target Support Files/Pods-HawcxExampleApp/Pods-HawcxExampleApp-frameworks-${CONFIGURATION}-input-files.xcfilelist",
|
|
357
352
|
);
|
|
358
|
-
name = "[CP]
|
|
353
|
+
name = "[CP] Embed Pods Frameworks";
|
|
359
354
|
outputFileListPaths = (
|
|
360
|
-
"${PODS_ROOT}/Target Support Files/Pods-HawcxExampleApp/Pods-HawcxExampleApp-
|
|
355
|
+
"${PODS_ROOT}/Target Support Files/Pods-HawcxExampleApp/Pods-HawcxExampleApp-frameworks-${CONFIGURATION}-output-files.xcfilelist",
|
|
361
356
|
);
|
|
362
357
|
runOnlyForDeploymentPostprocessing = 0;
|
|
363
358
|
shellPath = /bin/sh;
|
|
364
|
-
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-HawcxExampleApp/Pods-HawcxExampleApp-
|
|
359
|
+
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-HawcxExampleApp/Pods-HawcxExampleApp-frameworks.sh\"\n";
|
|
365
360
|
showEnvVarsInLog = 0;
|
|
366
361
|
};
|
|
367
|
-
|
|
362
|
+
F25204CA5ADAA84B579E3D63 /* [CP] Check Pods Manifest.lock */ = {
|
|
368
363
|
isa = PBXShellScriptBuildPhase;
|
|
369
364
|
buildActionMask = 2147483647;
|
|
370
365
|
files = (
|
|
371
366
|
);
|
|
372
367
|
inputFileListPaths = (
|
|
373
|
-
"${PODS_ROOT}/Target Support Files/Pods-HawcxExampleApp-HawcxExampleAppTests/Pods-HawcxExampleApp-HawcxExampleAppTests-resources-${CONFIGURATION}-input-files.xcfilelist",
|
|
374
368
|
);
|
|
375
|
-
|
|
369
|
+
inputPaths = (
|
|
370
|
+
"${PODS_PODFILE_DIR_PATH}/Podfile.lock",
|
|
371
|
+
"${PODS_ROOT}/Manifest.lock",
|
|
372
|
+
);
|
|
373
|
+
name = "[CP] Check Pods Manifest.lock";
|
|
376
374
|
outputFileListPaths = (
|
|
377
|
-
|
|
375
|
+
);
|
|
376
|
+
outputPaths = (
|
|
377
|
+
"$(DERIVED_FILE_DIR)/Pods-HawcxExampleApp-checkManifestLockResult.txt",
|
|
378
378
|
);
|
|
379
379
|
runOnlyForDeploymentPostprocessing = 0;
|
|
380
380
|
shellPath = /bin/sh;
|
|
381
|
-
shellScript = "\"${PODS_ROOT}/
|
|
381
|
+
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
|
|
382
382
|
showEnvVarsInLog = 0;
|
|
383
383
|
};
|
|
384
384
|
/* End PBXShellScriptBuildPhase section */
|
|
@@ -414,7 +414,7 @@
|
|
|
414
414
|
/* Begin XCBuildConfiguration section */
|
|
415
415
|
00E356F61AD99517003FC87E /* Debug */ = {
|
|
416
416
|
isa = XCBuildConfiguration;
|
|
417
|
-
baseConfigurationReference =
|
|
417
|
+
baseConfigurationReference = 1A6CDDE599DB3EC6876727DC /* Pods-HawcxExampleApp-HawcxExampleAppTests.debug.xcconfig */;
|
|
418
418
|
buildSettings = {
|
|
419
419
|
BUNDLE_LOADER = "$(TEST_HOST)";
|
|
420
420
|
GCC_PREPROCESSOR_DEFINITIONS = (
|
|
@@ -441,7 +441,7 @@
|
|
|
441
441
|
};
|
|
442
442
|
00E356F71AD99517003FC87E /* Release */ = {
|
|
443
443
|
isa = XCBuildConfiguration;
|
|
444
|
-
baseConfigurationReference =
|
|
444
|
+
baseConfigurationReference = CE1858E1CE6C7F6E769EF47D /* Pods-HawcxExampleApp-HawcxExampleAppTests.release.xcconfig */;
|
|
445
445
|
buildSettings = {
|
|
446
446
|
BUNDLE_LOADER = "$(TEST_HOST)";
|
|
447
447
|
COPY_PHASE_STRIP = NO;
|
|
@@ -465,7 +465,7 @@
|
|
|
465
465
|
};
|
|
466
466
|
13B07F941A680F5B00A75B9A /* Debug */ = {
|
|
467
467
|
isa = XCBuildConfiguration;
|
|
468
|
-
baseConfigurationReference =
|
|
468
|
+
baseConfigurationReference = 09F895AA471DF78C9D9305A4 /* Pods-HawcxExampleApp.debug.xcconfig */;
|
|
469
469
|
buildSettings = {
|
|
470
470
|
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
|
471
471
|
CLANG_ENABLE_MODULES = YES;
|
|
@@ -493,7 +493,7 @@
|
|
|
493
493
|
};
|
|
494
494
|
13B07F951A680F5B00A75B9A /* Release */ = {
|
|
495
495
|
isa = XCBuildConfiguration;
|
|
496
|
-
baseConfigurationReference =
|
|
496
|
+
baseConfigurationReference = 9E2BECC9BB35F621AD10D533 /* Pods-HawcxExampleApp.release.xcconfig */;
|
|
497
497
|
buildSettings = {
|
|
498
498
|
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
|
499
499
|
CLANG_ENABLE_MODULES = YES;
|
|
Binary file
|
package/example/ios/Podfile
CHANGED
|
@@ -4,10 +4,34 @@ require Pod::Executable.execute_command('node', ['-p',
|
|
|
4
4
|
"react-native/scripts/react_native_pods.rb",
|
|
5
5
|
{paths: [process.argv[1]]},
|
|
6
6
|
)', __dir__]).strip
|
|
7
|
+
require 'fileutils'
|
|
8
|
+
require 'pathname'
|
|
9
|
+
require 'tmpdir'
|
|
7
10
|
|
|
8
11
|
platform :ios, '17.5'
|
|
9
12
|
prepare_react_native_project!
|
|
10
13
|
|
|
14
|
+
pre_install do |_installer|
|
|
15
|
+
local_xcframework = File.expand_path('../../ios/Frameworks/HawcxFramework.xcframework', __dir__)
|
|
16
|
+
pod_xcframework = File.expand_path('../node_modules/@hawcx/react-native-sdk/ios/Frameworks/HawcxFramework.xcframework', __dir__)
|
|
17
|
+
|
|
18
|
+
unless File.exist?(local_xcframework)
|
|
19
|
+
Pod::UI.warn "Local HawcxFramework not found at #{local_xcframework}; using packaged release."
|
|
20
|
+
next
|
|
21
|
+
end
|
|
22
|
+
|
|
23
|
+
Pod::UI.puts "🔄 Syncing local HawcxFramework.xcframework into node_modules copy"
|
|
24
|
+
temp_dir = Dir.mktmpdir('hawcx-framework-copy')
|
|
25
|
+
temp_framework = File.join(temp_dir, 'HawcxFramework.xcframework')
|
|
26
|
+
|
|
27
|
+
FileUtils.cp_r(Pathname.new(local_xcframework).realpath.to_s, temp_framework)
|
|
28
|
+
FileUtils.rm_rf(pod_xcframework)
|
|
29
|
+
FileUtils.mkdir_p(File.dirname(pod_xcframework))
|
|
30
|
+
FileUtils.cp_r(temp_framework, pod_xcframework)
|
|
31
|
+
ensure
|
|
32
|
+
FileUtils.rm_rf(temp_dir) if defined?(temp_dir) && temp_dir && Dir.exist?(temp_dir)
|
|
33
|
+
end
|
|
34
|
+
|
|
11
35
|
# If you are using a `react-native-flipper` your iOS build will fail when `NO_FLIPPER=1` is set.
|
|
12
36
|
# because `react-native-flipper` depends on (FlipperKit,...) that will be excluded
|
|
13
37
|
#
|
package/example/ios/Podfile.lock
CHANGED
|
@@ -11,7 +11,7 @@ PODS:
|
|
|
11
11
|
- ReactCommon/turbomodule/core (= 0.73.9)
|
|
12
12
|
- fmt (6.2.1)
|
|
13
13
|
- glog (0.3.5)
|
|
14
|
-
- HawcxReactNative (1.0.
|
|
14
|
+
- HawcxReactNative (1.0.2):
|
|
15
15
|
- React-Core
|
|
16
16
|
- hermes-engine (0.73.9):
|
|
17
17
|
- hermes-engine/Pre-built (= 0.73.9)
|
|
@@ -1236,7 +1236,7 @@ SPEC CHECKSUMS:
|
|
|
1236
1236
|
FBReactNativeSpec: 4fe1d8c2fadc7949344b197d933f76b40401aac5
|
|
1237
1237
|
fmt: ff9d55029c625d3757ed641535fd4a75fedc7ce9
|
|
1238
1238
|
glog: c5d68082e772fa1c511173d6b30a9de2c05a69a2
|
|
1239
|
-
HawcxReactNative:
|
|
1239
|
+
HawcxReactNative: f27677aa2158f6d4a0e76629d1776a2e86cda742
|
|
1240
1240
|
hermes-engine: ed62e0dcd013bf4a3b487f164feec1c4e705b5b5
|
|
1241
1241
|
libevent: 4049cae6c81cdb3654a443be001fb9bdceff7913
|
|
1242
1242
|
RCT-Folly: cd21f1661364f975ae76b3308167ad66b09f53f5
|
|
@@ -1285,6 +1285,6 @@ SPEC CHECKSUMS:
|
|
|
1285
1285
|
SocketRocket: f32cd54efbe0f095c4d7594881e52619cfe80b17
|
|
1286
1286
|
Yoga: 57d2ffe418d024d56f8b0047f335c677e4c4d9ac
|
|
1287
1287
|
|
|
1288
|
-
PODFILE CHECKSUM:
|
|
1288
|
+
PODFILE CHECKSUM: 7c9fa5fb4f3bb06100c4b7f80f2b55a859bf9bee
|
|
1289
1289
|
|
|
1290
1290
|
COCOAPODS: 1.16.2
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "hawcx-react-native-sdk-example",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "hawcx-react-native-sdk-example",
|
|
9
|
-
"version": "1.0.
|
|
9
|
+
"version": "1.0.2",
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"@hawcx/react-native-sdk": "file:..",
|
|
12
12
|
"react": "18.2.0",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
},
|
|
30
30
|
"..": {
|
|
31
31
|
"name": "@hawcx/react-native-sdk",
|
|
32
|
-
"version": "1.0.
|
|
32
|
+
"version": "1.0.2",
|
|
33
33
|
"license": "MIT",
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"@react-native/eslint-config": "^0.74.0",
|