@regulaforensics/react-native-document-reader-api 9.10.916-rc → 9.10.918-rc
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/RNDocumentReaderApi.podspec +1 -1
- package/android/src/main/java/com/regula/plugin/document/reader/Config.kt +2 -0
- package/android/src/main/java/com/regula/plugin/document/reader/JSONConstructor.kt +10 -18
- package/android/src/main/java/com/regula/plugin/document/reader/Main.kt +14 -4
- package/example/App.tsx +53 -39
- package/example/README.md +2 -8
- package/example/android/app/build.gradle +5 -31
- package/example/android/app/src/main/java/com/regula/dr/fullauthrfid/MainActivity.kt +22 -0
- package/example/android/app/src/main/java/com/regula/dr/fullauthrfid/MainApplication.kt +28 -0
- package/example/android/build.gradle +7 -5
- package/example/android/gradle/wrapper/gradle-wrapper.jar +0 -0
- package/example/android/gradle/wrapper/gradle-wrapper.properties +2 -1
- package/example/android/gradle.properties +6 -5
- package/example/babel.config.js +3 -0
- package/example/ios/DocumentReader/AppDelegate.mm +10 -5
- package/example/ios/DocumentReader/Info.plist +21 -24
- package/example/ios/DocumentReader/SceneDelegate.h +7 -0
- package/example/ios/DocumentReader/SceneDelegate.mm +27 -0
- package/example/ios/DocumentReader.xcodeproj/project.pbxproj +17 -238
- package/example/ios/DocumentReader.xcodeproj/xcshareddata/xcschemes/DocumentReader.xcscheme +0 -18
- package/example/ios/Podfile +5 -9
- package/example/metro.config.js +2 -20
- package/example/package-lock.json +2687 -9340
- package/example/package.json +19 -40
- package/example/tsconfig.json +6 -0
- package/index.d.ts +20 -10
- package/index.js +13 -5
- package/ios/RGLWConfig.m +2 -0
- package/ios/RGLWJSONConstructor.m +1 -0
- package/ios/RGLWMain.h +1 -0
- package/ios/RGLWMain.m +16 -0
- package/ios/RNRegulaDocumentReader.m +1 -0
- package/package.json +1 -1
- package/example/android/app/src/debug/AndroidManifest.xml +0 -13
- package/example/android/app/src/debug/java/com/regula/dr/fullrfid/ReactNativeFlipper.java +0 -75
- package/example/android/app/src/main/java/com/regula/dr/fullauthrfid/MainActivity.java +0 -32
- package/example/android/app/src/main/java/com/regula/dr/fullauthrfid/MainApplication.java +0 -68
- package/example/android/app/src/release/java/com/regula/dr/fullrfid/ReactNativeFlipper.java +0 -20
- package/example/ios/DocumentReaderTests/DocumentReaderTests.m +0 -66
- package/example/ios/DocumentReaderTests/Info.plist +0 -24
- package/example/react-native.config.js +0 -5
- package/example/vendor/image-size-metro-compat/index.cjs +0 -16
- package/example/vendor/image-size-metro-compat/package.json +0 -8
|
@@ -7,32 +7,18 @@
|
|
|
7
7
|
objects = {
|
|
8
8
|
|
|
9
9
|
/* Begin PBXBuildFile section */
|
|
10
|
-
00E356F31AD99517003FC87E /* DocumentReaderTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* DocumentReaderTests.m */; };
|
|
11
10
|
0C80B921A6F3F58F76C31292 /* libPods-DocumentReader.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5DCACB8F33CDC322A6C60F78 /* libPods-DocumentReader.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 */; };
|
|
15
14
|
34A6AF2E2B862E4E00266440 /* db.dat in Resources */ = {isa = PBXBuildFile; fileRef = 34A6AF2D2B862E4E00266440 /* db.dat */; };
|
|
16
15
|
34B2241A2B61327D009FDA33 /* regula.license in Resources */ = {isa = PBXBuildFile; fileRef = 34B224192B61327D009FDA33 /* regula.license */; };
|
|
17
|
-
7699B88040F8A987B510C191 /* libPods-DocumentReader-DocumentReaderTests.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 19F6CBCC0A4E27FBF8BF4A61 /* libPods-DocumentReader-DocumentReaderTests.a */; };
|
|
18
16
|
81AB9BB82411601600AC10FF /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */; };
|
|
19
17
|
970CEEFE26CC4F5086D8C455 /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = 0B138461659C02ED353D3184 /* PrivacyInfo.xcprivacy */; };
|
|
18
|
+
A12700000000000000000001 /* SceneDelegate.mm in Sources */ = {isa = PBXBuildFile; fileRef = A12700000000000000000002 /* SceneDelegate.mm */; };
|
|
20
19
|
/* End PBXBuildFile section */
|
|
21
20
|
|
|
22
|
-
/* Begin PBXContainerItemProxy section */
|
|
23
|
-
00E356F41AD99517003FC87E /* PBXContainerItemProxy */ = {
|
|
24
|
-
isa = PBXContainerItemProxy;
|
|
25
|
-
containerPortal = 83CBB9F71A601CBA00E9B192 /* Project object */;
|
|
26
|
-
proxyType = 1;
|
|
27
|
-
remoteGlobalIDString = 13B07F861A680F5B00A75B9A;
|
|
28
|
-
remoteInfo = DocumentReader;
|
|
29
|
-
};
|
|
30
|
-
/* End PBXContainerItemProxy section */
|
|
31
|
-
|
|
32
21
|
/* Begin PBXFileReference section */
|
|
33
|
-
00E356EE1AD99517003FC87E /* DocumentReaderTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = DocumentReaderTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
|
|
34
|
-
00E356F11AD99517003FC87E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
|
|
35
|
-
00E356F21AD99517003FC87E /* DocumentReaderTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = DocumentReaderTests.m; sourceTree = "<group>"; };
|
|
36
22
|
0B138461659C02ED353D3184 /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; includeInIndex = 1; name = PrivacyInfo.xcprivacy; path = DocumentReader/PrivacyInfo.xcprivacy; sourceTree = "<group>"; };
|
|
37
23
|
13B07F961A680F5B00A75B9A /* DocumentReader.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = DocumentReader.app; sourceTree = BUILT_PRODUCTS_DIR; };
|
|
38
24
|
13B07FAF1A68108700A75B9A /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AppDelegate.h; path = DocumentReader/AppDelegate.h; sourceTree = "<group>"; };
|
|
@@ -40,28 +26,18 @@
|
|
|
40
26
|
13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = DocumentReader/Images.xcassets; sourceTree = "<group>"; };
|
|
41
27
|
13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = DocumentReader/Info.plist; sourceTree = "<group>"; };
|
|
42
28
|
13B07FB71A68108700A75B9A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = DocumentReader/main.m; sourceTree = "<group>"; };
|
|
43
|
-
19F6CBCC0A4E27FBF8BF4A61 /* libPods-DocumentReader-DocumentReaderTests.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-DocumentReader-DocumentReaderTests.a"; sourceTree = BUILT_PRODUCTS_DIR; };
|
|
44
29
|
3471549F2A4D9A1500361434 /* DocumentReader.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; name = DocumentReader.entitlements; path = DocumentReader/DocumentReader.entitlements; sourceTree = "<group>"; };
|
|
45
30
|
34A6AF2D2B862E4E00266440 /* db.dat */ = {isa = PBXFileReference; lastKnownFileType = file; path = db.dat; sourceTree = "<group>"; };
|
|
46
31
|
34B224192B61327D009FDA33 /* regula.license */ = {isa = PBXFileReference; lastKnownFileType = file; path = regula.license; sourceTree = "<group>"; };
|
|
47
32
|
3B4392A12AC88292D35C810B /* Pods-DocumentReader.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-DocumentReader.debug.xcconfig"; path = "Target Support Files/Pods-DocumentReader/Pods-DocumentReader.debug.xcconfig"; sourceTree = "<group>"; };
|
|
48
33
|
5709B34CF0A7D63546082F79 /* Pods-DocumentReader.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-DocumentReader.release.xcconfig"; path = "Target Support Files/Pods-DocumentReader/Pods-DocumentReader.release.xcconfig"; sourceTree = "<group>"; };
|
|
49
|
-
5B7EB9410499542E8C5724F5 /* Pods-DocumentReader-DocumentReaderTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-DocumentReader-DocumentReaderTests.debug.xcconfig"; path = "Target Support Files/Pods-DocumentReader-DocumentReaderTests/Pods-DocumentReader-DocumentReaderTests.debug.xcconfig"; sourceTree = "<group>"; };
|
|
50
34
|
5DCACB8F33CDC322A6C60F78 /* libPods-DocumentReader.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-DocumentReader.a"; sourceTree = BUILT_PRODUCTS_DIR; };
|
|
51
35
|
81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; name = LaunchScreen.storyboard; path = DocumentReader/LaunchScreen.storyboard; sourceTree = "<group>"; };
|
|
52
|
-
|
|
53
|
-
|
|
36
|
+
A12700000000000000000002 /* SceneDelegate.mm */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.objcpp; name = SceneDelegate.mm; path = DocumentReader/SceneDelegate.mm; sourceTree = "<group>"; };
|
|
37
|
+
A12700000000000000000003 /* SceneDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = SceneDelegate.h; path = DocumentReader/SceneDelegate.h; sourceTree = "<group>"; };
|
|
54
38
|
/* End PBXFileReference section */
|
|
55
39
|
|
|
56
40
|
/* Begin PBXFrameworksBuildPhase section */
|
|
57
|
-
00E356EB1AD99517003FC87E /* Frameworks */ = {
|
|
58
|
-
isa = PBXFrameworksBuildPhase;
|
|
59
|
-
buildActionMask = 2147483647;
|
|
60
|
-
files = (
|
|
61
|
-
7699B88040F8A987B510C191 /* libPods-DocumentReader-DocumentReaderTests.a in Frameworks */,
|
|
62
|
-
);
|
|
63
|
-
runOnlyForDeploymentPostprocessing = 0;
|
|
64
|
-
};
|
|
65
41
|
13B07F8C1A680F5B00A75B9A /* Frameworks */ = {
|
|
66
42
|
isa = PBXFrameworksBuildPhase;
|
|
67
43
|
buildActionMask = 2147483647;
|
|
@@ -73,23 +49,6 @@
|
|
|
73
49
|
/* End PBXFrameworksBuildPhase section */
|
|
74
50
|
|
|
75
51
|
/* Begin PBXGroup section */
|
|
76
|
-
00E356EF1AD99517003FC87E /* DocumentReaderTests */ = {
|
|
77
|
-
isa = PBXGroup;
|
|
78
|
-
children = (
|
|
79
|
-
00E356F21AD99517003FC87E /* DocumentReaderTests.m */,
|
|
80
|
-
00E356F01AD99517003FC87E /* Supporting Files */,
|
|
81
|
-
);
|
|
82
|
-
path = DocumentReaderTests;
|
|
83
|
-
sourceTree = "<group>";
|
|
84
|
-
};
|
|
85
|
-
00E356F01AD99517003FC87E /* Supporting Files */ = {
|
|
86
|
-
isa = PBXGroup;
|
|
87
|
-
children = (
|
|
88
|
-
00E356F11AD99517003FC87E /* Info.plist */,
|
|
89
|
-
);
|
|
90
|
-
name = "Supporting Files";
|
|
91
|
-
sourceTree = "<group>";
|
|
92
|
-
};
|
|
93
52
|
13B07FAE1A68108700A75B9A /* DocumentReader */ = {
|
|
94
53
|
isa = PBXGroup;
|
|
95
54
|
children = (
|
|
@@ -98,6 +57,8 @@
|
|
|
98
57
|
3471549F2A4D9A1500361434 /* DocumentReader.entitlements */,
|
|
99
58
|
13B07FAF1A68108700A75B9A /* AppDelegate.h */,
|
|
100
59
|
13B07FB01A68108700A75B9A /* AppDelegate.mm */,
|
|
60
|
+
A12700000000000000000002 /* SceneDelegate.mm */,
|
|
61
|
+
A12700000000000000000003 /* SceneDelegate.h */,
|
|
101
62
|
13B07FB51A68108700A75B9A /* Images.xcassets */,
|
|
102
63
|
13B07FB61A68108700A75B9A /* Info.plist */,
|
|
103
64
|
81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */,
|
|
@@ -110,9 +71,7 @@
|
|
|
110
71
|
2D16E6871FA4F8E400B85C8A /* Frameworks */ = {
|
|
111
72
|
isa = PBXGroup;
|
|
112
73
|
children = (
|
|
113
|
-
ED297162215061F000B7C4FE /* JavaScriptCore.framework */,
|
|
114
74
|
5DCACB8F33CDC322A6C60F78 /* libPods-DocumentReader.a */,
|
|
115
|
-
19F6CBCC0A4E27FBF8BF4A61 /* libPods-DocumentReader-DocumentReaderTests.a */,
|
|
116
75
|
);
|
|
117
76
|
name = Frameworks;
|
|
118
77
|
sourceTree = "<group>";
|
|
@@ -129,7 +88,6 @@
|
|
|
129
88
|
children = (
|
|
130
89
|
13B07FAE1A68108700A75B9A /* DocumentReader */,
|
|
131
90
|
832341AE1AAA6A7D00B99B32 /* Libraries */,
|
|
132
|
-
00E356EF1AD99517003FC87E /* DocumentReaderTests */,
|
|
133
91
|
83CBBA001A601CBA00E9B192 /* Products */,
|
|
134
92
|
2D16E6871FA4F8E400B85C8A /* Frameworks */,
|
|
135
93
|
BBD78D7AC51CEA395F1C20DB /* Pods */,
|
|
@@ -143,7 +101,6 @@
|
|
|
143
101
|
isa = PBXGroup;
|
|
144
102
|
children = (
|
|
145
103
|
13B07F961A680F5B00A75B9A /* DocumentReader.app */,
|
|
146
|
-
00E356EE1AD99517003FC87E /* DocumentReaderTests.xctest */,
|
|
147
104
|
);
|
|
148
105
|
name = Products;
|
|
149
106
|
sourceTree = "<group>";
|
|
@@ -153,8 +110,6 @@
|
|
|
153
110
|
children = (
|
|
154
111
|
3B4392A12AC88292D35C810B /* Pods-DocumentReader.debug.xcconfig */,
|
|
155
112
|
5709B34CF0A7D63546082F79 /* Pods-DocumentReader.release.xcconfig */,
|
|
156
|
-
5B7EB9410499542E8C5724F5 /* Pods-DocumentReader-DocumentReaderTests.debug.xcconfig */,
|
|
157
|
-
89C6BE57DB24E9ADA2F236DE /* Pods-DocumentReader-DocumentReaderTests.release.xcconfig */,
|
|
158
113
|
);
|
|
159
114
|
path = Pods;
|
|
160
115
|
sourceTree = "<group>";
|
|
@@ -162,33 +117,11 @@
|
|
|
162
117
|
/* End PBXGroup section */
|
|
163
118
|
|
|
164
119
|
/* Begin PBXNativeTarget section */
|
|
165
|
-
00E356ED1AD99517003FC87E /* DocumentReaderTests */ = {
|
|
166
|
-
isa = PBXNativeTarget;
|
|
167
|
-
buildConfigurationList = 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "DocumentReaderTests" */;
|
|
168
|
-
buildPhases = (
|
|
169
|
-
A55EABD7B0C7F3A422A6CC61 /* [CP] Check Pods Manifest.lock */,
|
|
170
|
-
00E356EA1AD99517003FC87E /* Sources */,
|
|
171
|
-
00E356EB1AD99517003FC87E /* Frameworks */,
|
|
172
|
-
00E356EC1AD99517003FC87E /* Resources */,
|
|
173
|
-
C59DA0FBD6956966B86A3779 /* [CP] Embed Pods Frameworks */,
|
|
174
|
-
F6A41C54EA430FDDC6A6ED99 /* [CP] Copy Pods Resources */,
|
|
175
|
-
);
|
|
176
|
-
buildRules = (
|
|
177
|
-
);
|
|
178
|
-
dependencies = (
|
|
179
|
-
00E356F51AD99517003FC87E /* PBXTargetDependency */,
|
|
180
|
-
);
|
|
181
|
-
name = DocumentReaderTests;
|
|
182
|
-
productName = DocumentReaderTests;
|
|
183
|
-
productReference = 00E356EE1AD99517003FC87E /* DocumentReaderTests.xctest */;
|
|
184
|
-
productType = "com.apple.product-type.bundle.unit-test";
|
|
185
|
-
};
|
|
186
120
|
13B07F861A680F5B00A75B9A /* DocumentReader */ = {
|
|
187
121
|
isa = PBXNativeTarget;
|
|
188
122
|
buildConfigurationList = 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "DocumentReader" */;
|
|
189
123
|
buildPhases = (
|
|
190
124
|
C38B50BA6285516D6DCD4F65 /* [CP] Check Pods Manifest.lock */,
|
|
191
|
-
FD10A7F022414F080027D42C /* Start Packager */,
|
|
192
125
|
13B07F871A680F5B00A75B9A /* Sources */,
|
|
193
126
|
13B07F8C1A680F5B00A75B9A /* Frameworks */,
|
|
194
127
|
13B07F8E1A680F5B00A75B9A /* Resources */,
|
|
@@ -213,10 +146,6 @@
|
|
|
213
146
|
attributes = {
|
|
214
147
|
LastUpgradeCheck = 1210;
|
|
215
148
|
TargetAttributes = {
|
|
216
|
-
00E356ED1AD99517003FC87E = {
|
|
217
|
-
CreatedOnToolsVersion = 6.2;
|
|
218
|
-
TestTargetID = 13B07F861A680F5B00A75B9A;
|
|
219
|
-
};
|
|
220
149
|
13B07F861A680F5B00A75B9A = {
|
|
221
150
|
LastSwiftMigration = 1120;
|
|
222
151
|
};
|
|
@@ -236,19 +165,11 @@
|
|
|
236
165
|
projectRoot = "";
|
|
237
166
|
targets = (
|
|
238
167
|
13B07F861A680F5B00A75B9A /* DocumentReader */,
|
|
239
|
-
00E356ED1AD99517003FC87E /* DocumentReaderTests */,
|
|
240
168
|
);
|
|
241
169
|
};
|
|
242
170
|
/* End PBXProject section */
|
|
243
171
|
|
|
244
172
|
/* Begin PBXResourcesBuildPhase section */
|
|
245
|
-
00E356EC1AD99517003FC87E /* Resources */ = {
|
|
246
|
-
isa = PBXResourcesBuildPhase;
|
|
247
|
-
buildActionMask = 2147483647;
|
|
248
|
-
files = (
|
|
249
|
-
);
|
|
250
|
-
runOnlyForDeploymentPostprocessing = 0;
|
|
251
|
-
};
|
|
252
173
|
13B07F8E1A680F5B00A75B9A /* Resources */ = {
|
|
253
174
|
isa = PBXResourcesBuildPhase;
|
|
254
175
|
buildActionMask = 2147483647;
|
|
@@ -278,7 +199,7 @@
|
|
|
278
199
|
);
|
|
279
200
|
runOnlyForDeploymentPostprocessing = 0;
|
|
280
201
|
shellPath = /bin/sh;
|
|
281
|
-
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";
|
|
202
|
+
shellScript = "set -e\n\n# Embed JS for Debug simulators too; no Metro server is needed at runtime.\nexport FORCE_BUNDLING=1\nexport EXTRA_PACKAGER_ARGS=\"$EXTRA_PACKAGER_ARGS --dev false\"\nexport SKIP_BUNDLING_METRO_IP=1\nexport RCT_NO_LAUNCH_PACKAGER=1\nunset SKIP_BUNDLING\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";
|
|
282
203
|
};
|
|
283
204
|
00EEFC60759A1932668264C0 /* [CP] Embed Pods Frameworks */ = {
|
|
284
205
|
isa = PBXShellScriptBuildPhase;
|
|
@@ -297,28 +218,6 @@
|
|
|
297
218
|
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-DocumentReader/Pods-DocumentReader-frameworks.sh\"\n";
|
|
298
219
|
showEnvVarsInLog = 0;
|
|
299
220
|
};
|
|
300
|
-
A55EABD7B0C7F3A422A6CC61 /* [CP] Check Pods Manifest.lock */ = {
|
|
301
|
-
isa = PBXShellScriptBuildPhase;
|
|
302
|
-
buildActionMask = 2147483647;
|
|
303
|
-
files = (
|
|
304
|
-
);
|
|
305
|
-
inputFileListPaths = (
|
|
306
|
-
);
|
|
307
|
-
inputPaths = (
|
|
308
|
-
"${PODS_PODFILE_DIR_PATH}/Podfile.lock",
|
|
309
|
-
"${PODS_ROOT}/Manifest.lock",
|
|
310
|
-
);
|
|
311
|
-
name = "[CP] Check Pods Manifest.lock";
|
|
312
|
-
outputFileListPaths = (
|
|
313
|
-
);
|
|
314
|
-
outputPaths = (
|
|
315
|
-
"$(DERIVED_FILE_DIR)/Pods-DocumentReader-DocumentReaderTests-checkManifestLockResult.txt",
|
|
316
|
-
);
|
|
317
|
-
runOnlyForDeploymentPostprocessing = 0;
|
|
318
|
-
shellPath = /bin/sh;
|
|
319
|
-
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";
|
|
320
|
-
showEnvVarsInLog = 0;
|
|
321
|
-
};
|
|
322
221
|
C38B50BA6285516D6DCD4F65 /* [CP] Check Pods Manifest.lock */ = {
|
|
323
222
|
isa = PBXShellScriptBuildPhase;
|
|
324
223
|
buildActionMask = 2147483647;
|
|
@@ -341,23 +240,6 @@
|
|
|
341
240
|
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";
|
|
342
241
|
showEnvVarsInLog = 0;
|
|
343
242
|
};
|
|
344
|
-
C59DA0FBD6956966B86A3779 /* [CP] Embed Pods Frameworks */ = {
|
|
345
|
-
isa = PBXShellScriptBuildPhase;
|
|
346
|
-
buildActionMask = 2147483647;
|
|
347
|
-
files = (
|
|
348
|
-
);
|
|
349
|
-
inputFileListPaths = (
|
|
350
|
-
"${PODS_ROOT}/Target Support Files/Pods-DocumentReader-DocumentReaderTests/Pods-DocumentReader-DocumentReaderTests-frameworks-${CONFIGURATION}-input-files.xcfilelist",
|
|
351
|
-
);
|
|
352
|
-
name = "[CP] Embed Pods Frameworks";
|
|
353
|
-
outputFileListPaths = (
|
|
354
|
-
"${PODS_ROOT}/Target Support Files/Pods-DocumentReader-DocumentReaderTests/Pods-DocumentReader-DocumentReaderTests-frameworks-${CONFIGURATION}-output-files.xcfilelist",
|
|
355
|
-
);
|
|
356
|
-
runOnlyForDeploymentPostprocessing = 0;
|
|
357
|
-
shellPath = /bin/sh;
|
|
358
|
-
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-DocumentReader-DocumentReaderTests/Pods-DocumentReader-DocumentReaderTests-frameworks.sh\"\n";
|
|
359
|
-
showEnvVarsInLog = 0;
|
|
360
|
-
};
|
|
361
243
|
E235C05ADACE081382539298 /* [CP] Copy Pods Resources */ = {
|
|
362
244
|
isa = PBXShellScriptBuildPhase;
|
|
363
245
|
buildActionMask = 2147483647;
|
|
@@ -375,124 +257,22 @@
|
|
|
375
257
|
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-DocumentReader/Pods-DocumentReader-resources.sh\"\n";
|
|
376
258
|
showEnvVarsInLog = 0;
|
|
377
259
|
};
|
|
378
|
-
F6A41C54EA430FDDC6A6ED99 /* [CP] Copy Pods Resources */ = {
|
|
379
|
-
isa = PBXShellScriptBuildPhase;
|
|
380
|
-
buildActionMask = 2147483647;
|
|
381
|
-
files = (
|
|
382
|
-
);
|
|
383
|
-
inputFileListPaths = (
|
|
384
|
-
"${PODS_ROOT}/Target Support Files/Pods-DocumentReader-DocumentReaderTests/Pods-DocumentReader-DocumentReaderTests-resources-${CONFIGURATION}-input-files.xcfilelist",
|
|
385
|
-
);
|
|
386
|
-
name = "[CP] Copy Pods Resources";
|
|
387
|
-
outputFileListPaths = (
|
|
388
|
-
"${PODS_ROOT}/Target Support Files/Pods-DocumentReader-DocumentReaderTests/Pods-DocumentReader-DocumentReaderTests-resources-${CONFIGURATION}-output-files.xcfilelist",
|
|
389
|
-
);
|
|
390
|
-
runOnlyForDeploymentPostprocessing = 0;
|
|
391
|
-
shellPath = /bin/sh;
|
|
392
|
-
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-DocumentReader-DocumentReaderTests/Pods-DocumentReader-DocumentReaderTests-resources.sh\"\n";
|
|
393
|
-
showEnvVarsInLog = 0;
|
|
394
|
-
};
|
|
395
|
-
FD10A7F022414F080027D42C /* Start Packager */ = {
|
|
396
|
-
isa = PBXShellScriptBuildPhase;
|
|
397
|
-
buildActionMask = 2147483647;
|
|
398
|
-
files = (
|
|
399
|
-
);
|
|
400
|
-
inputFileListPaths = (
|
|
401
|
-
);
|
|
402
|
-
inputPaths = (
|
|
403
|
-
);
|
|
404
|
-
name = "Start Packager";
|
|
405
|
-
outputFileListPaths = (
|
|
406
|
-
);
|
|
407
|
-
outputPaths = (
|
|
408
|
-
);
|
|
409
|
-
runOnlyForDeploymentPostprocessing = 0;
|
|
410
|
-
shellPath = /bin/sh;
|
|
411
|
-
shellScript = "export RCT_METRO_PORT=\"${RCT_METRO_PORT:=8081}\"\necho \"export RCT_METRO_PORT=${RCT_METRO_PORT}\" > \"${SRCROOT}/../node_modules/react-native/scripts/.packager.env\"\nif [ -z \"${RCT_NO_LAUNCH_PACKAGER+xxx}\" ] ; then\n if nc -w 5 -z localhost ${RCT_METRO_PORT} ; then\n if ! curl -s \"http://localhost:${RCT_METRO_PORT}/status\" | grep -q \"packager-status:running\" ; then\n echo \"Port ${RCT_METRO_PORT} already in use, packager is either not running or not running correctly\"\n exit 2\n fi\n else\n open \"$SRCROOT/../node_modules/react-native/scripts/launchPackager.command\" || echo \"Can't start packager automatically\"\n fi\nfi\n";
|
|
412
|
-
showEnvVarsInLog = 0;
|
|
413
|
-
};
|
|
414
260
|
/* End PBXShellScriptBuildPhase section */
|
|
415
261
|
|
|
416
262
|
/* Begin PBXSourcesBuildPhase section */
|
|
417
|
-
00E356EA1AD99517003FC87E /* Sources */ = {
|
|
418
|
-
isa = PBXSourcesBuildPhase;
|
|
419
|
-
buildActionMask = 2147483647;
|
|
420
|
-
files = (
|
|
421
|
-
00E356F31AD99517003FC87E /* DocumentReaderTests.m in Sources */,
|
|
422
|
-
);
|
|
423
|
-
runOnlyForDeploymentPostprocessing = 0;
|
|
424
|
-
};
|
|
425
263
|
13B07F871A680F5B00A75B9A /* Sources */ = {
|
|
426
264
|
isa = PBXSourcesBuildPhase;
|
|
427
265
|
buildActionMask = 2147483647;
|
|
428
266
|
files = (
|
|
429
267
|
13B07FBC1A68108700A75B9A /* AppDelegate.mm in Sources */,
|
|
268
|
+
A12700000000000000000001 /* SceneDelegate.mm in Sources */,
|
|
430
269
|
13B07FC11A68108700A75B9A /* main.m in Sources */,
|
|
431
270
|
);
|
|
432
271
|
runOnlyForDeploymentPostprocessing = 0;
|
|
433
272
|
};
|
|
434
273
|
/* End PBXSourcesBuildPhase section */
|
|
435
274
|
|
|
436
|
-
/* Begin PBXTargetDependency section */
|
|
437
|
-
00E356F51AD99517003FC87E /* PBXTargetDependency */ = {
|
|
438
|
-
isa = PBXTargetDependency;
|
|
439
|
-
target = 13B07F861A680F5B00A75B9A /* DocumentReader */;
|
|
440
|
-
targetProxy = 00E356F41AD99517003FC87E /* PBXContainerItemProxy */;
|
|
441
|
-
};
|
|
442
|
-
/* End PBXTargetDependency section */
|
|
443
|
-
|
|
444
275
|
/* Begin XCBuildConfiguration section */
|
|
445
|
-
00E356F61AD99517003FC87E /* Debug */ = {
|
|
446
|
-
isa = XCBuildConfiguration;
|
|
447
|
-
baseConfigurationReference = 5B7EB9410499542E8C5724F5 /* Pods-DocumentReader-DocumentReaderTests.debug.xcconfig */;
|
|
448
|
-
buildSettings = {
|
|
449
|
-
BUNDLE_LOADER = "$(TEST_HOST)";
|
|
450
|
-
GCC_PREPROCESSOR_DEFINITIONS = (
|
|
451
|
-
"DEBUG=1",
|
|
452
|
-
"$(inherited)",
|
|
453
|
-
);
|
|
454
|
-
INFOPLIST_FILE = DocumentReaderTests/Info.plist;
|
|
455
|
-
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
|
|
456
|
-
LD_RUNPATH_SEARCH_PATHS = (
|
|
457
|
-
"$(inherited)",
|
|
458
|
-
"@executable_path/Frameworks",
|
|
459
|
-
"@loader_path/Frameworks",
|
|
460
|
-
);
|
|
461
|
-
OTHER_LDFLAGS = (
|
|
462
|
-
"-ObjC",
|
|
463
|
-
"-lc++",
|
|
464
|
-
"$(inherited)",
|
|
465
|
-
);
|
|
466
|
-
PRODUCT_BUNDLE_IDENTIFIER = com.regula.dr.fullrfid;
|
|
467
|
-
PRODUCT_NAME = "$(TARGET_NAME)";
|
|
468
|
-
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/DocumentReader.app/DocumentReader";
|
|
469
|
-
};
|
|
470
|
-
name = Debug;
|
|
471
|
-
};
|
|
472
|
-
00E356F71AD99517003FC87E /* Release */ = {
|
|
473
|
-
isa = XCBuildConfiguration;
|
|
474
|
-
baseConfigurationReference = 89C6BE57DB24E9ADA2F236DE /* Pods-DocumentReader-DocumentReaderTests.release.xcconfig */;
|
|
475
|
-
buildSettings = {
|
|
476
|
-
BUNDLE_LOADER = "$(TEST_HOST)";
|
|
477
|
-
COPY_PHASE_STRIP = NO;
|
|
478
|
-
INFOPLIST_FILE = DocumentReaderTests/Info.plist;
|
|
479
|
-
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
|
|
480
|
-
LD_RUNPATH_SEARCH_PATHS = (
|
|
481
|
-
"$(inherited)",
|
|
482
|
-
"@executable_path/Frameworks",
|
|
483
|
-
"@loader_path/Frameworks",
|
|
484
|
-
);
|
|
485
|
-
OTHER_LDFLAGS = (
|
|
486
|
-
"-ObjC",
|
|
487
|
-
"-lc++",
|
|
488
|
-
"$(inherited)",
|
|
489
|
-
);
|
|
490
|
-
PRODUCT_BUNDLE_IDENTIFIER = com.regula.dr.fullrfid;
|
|
491
|
-
PRODUCT_NAME = "$(TARGET_NAME)";
|
|
492
|
-
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/DocumentReader.app/DocumentReader";
|
|
493
|
-
};
|
|
494
|
-
name = Release;
|
|
495
|
-
};
|
|
496
276
|
13B07F941A680F5B00A75B9A /* Debug */ = {
|
|
497
277
|
isa = XCBuildConfiguration;
|
|
498
278
|
baseConfigurationReference = 3B4392A12AC88292D35C810B /* Pods-DocumentReader.debug.xcconfig */;
|
|
@@ -606,7 +386,7 @@
|
|
|
606
386
|
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
|
|
607
387
|
GCC_WARN_UNUSED_FUNCTION = YES;
|
|
608
388
|
GCC_WARN_UNUSED_VARIABLE = YES;
|
|
609
|
-
IPHONEOS_DEPLOYMENT_TARGET =
|
|
389
|
+
IPHONEOS_DEPLOYMENT_TARGET = 17.6;
|
|
610
390
|
LD_RUNPATH_SEARCH_PATHS = (
|
|
611
391
|
/usr/lib/swift,
|
|
612
392
|
"$(inherited)",
|
|
@@ -620,15 +400,19 @@
|
|
|
620
400
|
ONLY_ACTIVE_ARCH = YES;
|
|
621
401
|
OTHER_CFLAGS = "$(inherited)";
|
|
622
402
|
OTHER_CPLUSPLUSFLAGS = (
|
|
403
|
+
"$(inherited)",
|
|
623
404
|
"$(OTHER_CFLAGS)",
|
|
624
405
|
"-DFOLLY_NO_CONFIG",
|
|
625
406
|
"-DFOLLY_MOBILE=1",
|
|
626
407
|
"-DFOLLY_USE_LIBCPP=1",
|
|
408
|
+
"-DFOLLY_CFG_NO_COROUTINES=1",
|
|
409
|
+
"-DFOLLY_HAVE_CLOCK_GETTIME=1",
|
|
627
410
|
);
|
|
628
411
|
OTHER_LDFLAGS = (
|
|
629
412
|
"$(inherited)",
|
|
630
413
|
" ",
|
|
631
414
|
);
|
|
415
|
+
PODFILE_DIR = "$(SRCROOT)";
|
|
632
416
|
REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native";
|
|
633
417
|
SDKROOT = iphoneos;
|
|
634
418
|
SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) DEBUG";
|
|
@@ -678,7 +462,7 @@
|
|
|
678
462
|
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
|
|
679
463
|
GCC_WARN_UNUSED_FUNCTION = YES;
|
|
680
464
|
GCC_WARN_UNUSED_VARIABLE = YES;
|
|
681
|
-
IPHONEOS_DEPLOYMENT_TARGET =
|
|
465
|
+
IPHONEOS_DEPLOYMENT_TARGET = 17.6;
|
|
682
466
|
LD_RUNPATH_SEARCH_PATHS = (
|
|
683
467
|
/usr/lib/swift,
|
|
684
468
|
"$(inherited)",
|
|
@@ -691,15 +475,19 @@
|
|
|
691
475
|
MTL_ENABLE_DEBUG_INFO = NO;
|
|
692
476
|
OTHER_CFLAGS = "$(inherited)";
|
|
693
477
|
OTHER_CPLUSPLUSFLAGS = (
|
|
478
|
+
"$(inherited)",
|
|
694
479
|
"$(OTHER_CFLAGS)",
|
|
695
480
|
"-DFOLLY_NO_CONFIG",
|
|
696
481
|
"-DFOLLY_MOBILE=1",
|
|
697
482
|
"-DFOLLY_USE_LIBCPP=1",
|
|
483
|
+
"-DFOLLY_CFG_NO_COROUTINES=1",
|
|
484
|
+
"-DFOLLY_HAVE_CLOCK_GETTIME=1",
|
|
698
485
|
);
|
|
699
486
|
OTHER_LDFLAGS = (
|
|
700
487
|
"$(inherited)",
|
|
701
488
|
" ",
|
|
702
489
|
);
|
|
490
|
+
PODFILE_DIR = "$(SRCROOT)";
|
|
703
491
|
REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native";
|
|
704
492
|
SDKROOT = iphoneos;
|
|
705
493
|
USE_HERMES = true;
|
|
@@ -710,15 +498,6 @@
|
|
|
710
498
|
/* End XCBuildConfiguration section */
|
|
711
499
|
|
|
712
500
|
/* Begin XCConfigurationList section */
|
|
713
|
-
00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "DocumentReaderTests" */ = {
|
|
714
|
-
isa = XCConfigurationList;
|
|
715
|
-
buildConfigurations = (
|
|
716
|
-
00E356F61AD99517003FC87E /* Debug */,
|
|
717
|
-
00E356F71AD99517003FC87E /* Release */,
|
|
718
|
-
);
|
|
719
|
-
defaultConfigurationIsVisible = 0;
|
|
720
|
-
defaultConfigurationName = Release;
|
|
721
|
-
};
|
|
722
501
|
13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "DocumentReader" */ = {
|
|
723
502
|
isa = XCConfigurationList;
|
|
724
503
|
buildConfigurations = (
|
|
@@ -22,24 +22,6 @@
|
|
|
22
22
|
</BuildActionEntry>
|
|
23
23
|
</BuildActionEntries>
|
|
24
24
|
</BuildAction>
|
|
25
|
-
<TestAction
|
|
26
|
-
buildConfiguration = "Debug"
|
|
27
|
-
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
|
28
|
-
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
|
29
|
-
shouldUseLaunchSchemeArgsEnv = "YES">
|
|
30
|
-
<Testables>
|
|
31
|
-
<TestableReference
|
|
32
|
-
skipped = "NO">
|
|
33
|
-
<BuildableReference
|
|
34
|
-
BuildableIdentifier = "primary"
|
|
35
|
-
BlueprintIdentifier = "00E356ED1AD99517003FC87E"
|
|
36
|
-
BuildableName = "DocumentReaderTests.xctest"
|
|
37
|
-
BlueprintName = "DocumentReaderTests"
|
|
38
|
-
ReferencedContainer = "container:DocumentReader.xcodeproj">
|
|
39
|
-
</BuildableReference>
|
|
40
|
-
</TestableReference>
|
|
41
|
-
</Testables>
|
|
42
|
-
</TestAction>
|
|
43
25
|
<LaunchAction
|
|
44
26
|
buildConfiguration = "Debug"
|
|
45
27
|
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
package/example/ios/Podfile
CHANGED
|
@@ -8,7 +8,7 @@ require Pod::Executable.execute_command('node', ['-p',
|
|
|
8
8
|
{paths: [process.argv[1]]},
|
|
9
9
|
)', __dir__]).strip
|
|
10
10
|
|
|
11
|
-
platform :ios,
|
|
11
|
+
platform :ios, '17.6'
|
|
12
12
|
prepare_react_native_project!
|
|
13
13
|
|
|
14
14
|
linkage = ENV['USE_FRAMEWORKS']
|
|
@@ -26,10 +26,6 @@ target 'DocumentReader' do
|
|
|
26
26
|
:app_path => "#{Pod::Config.instance.installation_root}/.."
|
|
27
27
|
)
|
|
28
28
|
|
|
29
|
-
target 'DocumentReaderTests' do
|
|
30
|
-
inherit! :complete
|
|
31
|
-
end
|
|
32
|
-
|
|
33
29
|
post_install do |installer|
|
|
34
30
|
# https://github.com/facebook/react-native/blob/main/packages/react-native/scripts/react_native_pods.rb#L197-L202
|
|
35
31
|
react_native_post_install(
|
|
@@ -38,11 +34,11 @@ target 'DocumentReader' do
|
|
|
38
34
|
:mac_catalyst_enabled => false
|
|
39
35
|
)
|
|
40
36
|
|
|
41
|
-
#
|
|
37
|
+
# Xcode 27 rejects older deployment targets, including resource/privacy bundles.
|
|
42
38
|
installer.pods_project.targets.each do |target|
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
config.build_settings['
|
|
39
|
+
target.build_configurations.each do |config|
|
|
40
|
+
if config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'].to_f < 17.6
|
|
41
|
+
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '17.6'
|
|
46
42
|
end
|
|
47
43
|
end
|
|
48
44
|
end
|
package/example/metro.config.js
CHANGED
|
@@ -1,21 +1,3 @@
|
|
|
1
|
-
const { getDefaultConfig
|
|
1
|
+
const { getDefaultConfig } = require('@react-native/metro-config');
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
const folders = [
|
|
5
|
-
path.resolve(path.join(__dirname, './node_modules'))
|
|
6
|
-
];
|
|
7
|
-
|
|
8
|
-
/**
|
|
9
|
-
* Metro configuration
|
|
10
|
-
* https://facebook.github.io/metro/docs/configuration
|
|
11
|
-
*
|
|
12
|
-
* @type {import('metro-config').MetroConfig}
|
|
13
|
-
*/
|
|
14
|
-
const config = {
|
|
15
|
-
resolver: {
|
|
16
|
-
nodeModulesPaths: folders
|
|
17
|
-
},
|
|
18
|
-
watchFolders: folders,
|
|
19
|
-
};
|
|
20
|
-
|
|
21
|
-
module.exports = mergeConfig(getDefaultConfig(__dirname), config);
|
|
3
|
+
module.exports = getDefaultConfig(__dirname);
|