@regulaforensics/react-native-document-reader-core-rfid 8.1.227-beta
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/.gitlab/report.yaml +75 -0
- package/.gitlab-ci.yml +49 -0
- package/README.md +10 -0
- package/RNDocumentReaderCore.podspec +20 -0
- package/android/build.gradle +33 -0
- package/android/src/main/AndroidManifest.xml +6 -0
- package/android/src/main/java/com/regula/documentreader/core/RNDocumentReaderCoreModule.java +22 -0
- package/android/src/main/java/com/regula/documentreader/core/RNDocumentReaderCorePackage.java +28 -0
- package/index.js +0 -0
- package/ios/RNDocumentReaderCore.h +11 -0
- package/ios/RNDocumentReaderCore.m +13 -0
- package/ios/RNDocumentReaderCore.podspec +24 -0
- package/ios/RNDocumentReaderCore.xcodeproj/project.pbxproj +259 -0
- package/ios/RNDocumentReaderCore.xcworkspace/contents.xcworkspacedata +9 -0
- package/package.json +22 -0
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
spec:
|
|
2
|
+
inputs:
|
|
3
|
+
stage:
|
|
4
|
+
default: reports
|
|
5
|
+
image:
|
|
6
|
+
default: ubuntu:22.04
|
|
7
|
+
ignore_vulnerabilities:
|
|
8
|
+
default: "false"
|
|
9
|
+
sast_report_file:
|
|
10
|
+
default: gl-sast-report.json
|
|
11
|
+
secret_detection_report_file:
|
|
12
|
+
default: gl-secret-detection-report.json
|
|
13
|
+
dependency_scanning_report_file:
|
|
14
|
+
default: gl-dependency-scanning-report.json
|
|
15
|
+
---
|
|
16
|
+
|
|
17
|
+
view reports:
|
|
18
|
+
image: $[[ inputs.image ]]
|
|
19
|
+
stage: $[[ inputs.stage ]]
|
|
20
|
+
variables:
|
|
21
|
+
IGNORE_VULNERABILITIES: $[[ inputs.ignore_vulnerabilities ]]
|
|
22
|
+
SAST_REPORT_FILE: $[[ inputs.sast_report_file ]]
|
|
23
|
+
SECRET_DETECTION_REPORT_FILE: $[[ inputs.secret_detection_report_file ]]
|
|
24
|
+
DEPENDENCY_SCANNING_REPORT_FILE: $[[ inputs.dependency_scanning_report_file ]]
|
|
25
|
+
RED: \033[0;31m
|
|
26
|
+
YELLOW: \033[1;33m
|
|
27
|
+
GREEN: \033[0;32m
|
|
28
|
+
NC: \033[0m
|
|
29
|
+
needs:
|
|
30
|
+
- job: semgrep-sast
|
|
31
|
+
artifacts: true
|
|
32
|
+
- job: secret_detection
|
|
33
|
+
artifacts: true
|
|
34
|
+
- job: gemnasium-dependency_scanning
|
|
35
|
+
artifacts: true
|
|
36
|
+
rules:
|
|
37
|
+
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
|
|
38
|
+
script:
|
|
39
|
+
- ls -la
|
|
40
|
+
- apt update && apt install -y jq
|
|
41
|
+
- |
|
|
42
|
+
for f in SAST_REPORT_FILE SECRET_DETECTION_REPORT_FILE DEPENDENCY_SCANNING_REPORT_FILE
|
|
43
|
+
do
|
|
44
|
+
if [[ -f "${!f}" ]]
|
|
45
|
+
then
|
|
46
|
+
echo -e "${GREEN}File ${!f} exists, adding report${NC}"
|
|
47
|
+
r=${f/%_FILE}
|
|
48
|
+
declare $r="$(cat ${!f} | jq 'select(.vulnerabilities != []).vulnerabilities')"
|
|
49
|
+
if [[ ! -z "${!r}" ]]
|
|
50
|
+
then
|
|
51
|
+
VULNERABILITIES_FOUND=true
|
|
52
|
+
echo -e "${RED}Found $r vulnerabilities${NC}"
|
|
53
|
+
echo "${!r}"
|
|
54
|
+
echo
|
|
55
|
+
fi
|
|
56
|
+
else
|
|
57
|
+
echo -e "${YELLOW}File ${!f} doesn't exist, skipping${NC}"
|
|
58
|
+
fi
|
|
59
|
+
done
|
|
60
|
+
|
|
61
|
+
if [[ "$VULNERABILITIES_FOUND" == true ]]
|
|
62
|
+
then
|
|
63
|
+
if [[ "$IGNORE_VULNERABILITIES" == true ]]
|
|
64
|
+
then
|
|
65
|
+
echo -e "${GREEN}All found vulnerabilities were ignored due to IGNORE_VULNERABILITIES=true${NC}"
|
|
66
|
+
exit 0
|
|
67
|
+
else
|
|
68
|
+
echo -e "${RED}Vulnerabilities found, please see reports above${NC}"
|
|
69
|
+
exit 1
|
|
70
|
+
fi
|
|
71
|
+
fi
|
|
72
|
+
|
|
73
|
+
echo -e "${GREEN}No vulnerabilities found${NC}"
|
|
74
|
+
|
|
75
|
+
exit 0
|
package/.gitlab-ci.yml
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
stages:
|
|
2
|
+
- test
|
|
3
|
+
- reports
|
|
4
|
+
|
|
5
|
+
include:
|
|
6
|
+
- template: Jobs/SAST.gitlab-ci.yml
|
|
7
|
+
- template: Jobs/Secret-Detection.gitlab-ci.yml
|
|
8
|
+
- template: Jobs/Dependency-Scanning.gitlab-ci.yml
|
|
9
|
+
- local: .gitlab/report.yaml
|
|
10
|
+
rules:
|
|
11
|
+
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
|
|
12
|
+
inputs:
|
|
13
|
+
stage: reports
|
|
14
|
+
image: ubuntu:22.04
|
|
15
|
+
ignore_vulnerabilities: "false"
|
|
16
|
+
sast_report_file: gl-sast-report.json
|
|
17
|
+
secret_detection_report_file: gl-secret-detection-report.json
|
|
18
|
+
dependency_scanning_report_file: gl-dependency-scanning-report.json
|
|
19
|
+
|
|
20
|
+
trivy scan:
|
|
21
|
+
stage: test
|
|
22
|
+
image: aquasec/trivy
|
|
23
|
+
rules:
|
|
24
|
+
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
|
|
25
|
+
script:
|
|
26
|
+
- trivy fs --severity CRITICAL,HIGH,MEDIUM,LOW --ignore-unfixed --db-repository container-registry.regula.local:80/aquasecurity/trivy-db:2 --exit-code 1 .
|
|
27
|
+
|
|
28
|
+
semgrep-sast:
|
|
29
|
+
rules:
|
|
30
|
+
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
|
|
31
|
+
artifacts:
|
|
32
|
+
paths:
|
|
33
|
+
- gl-sast-report.json
|
|
34
|
+
|
|
35
|
+
secret_detection:
|
|
36
|
+
rules:
|
|
37
|
+
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
|
|
38
|
+
artifacts:
|
|
39
|
+
paths:
|
|
40
|
+
- gl-secret-detection-report.json
|
|
41
|
+
|
|
42
|
+
gemnasium-dependency_scanning:
|
|
43
|
+
variables:
|
|
44
|
+
DS_MAX_DEPTH: -1
|
|
45
|
+
rules:
|
|
46
|
+
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
|
|
47
|
+
artifacts:
|
|
48
|
+
paths:
|
|
49
|
+
- gl-dependency-scanning-report.json
|
package/README.md
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# Document Reader Core (React Native)
|
|
2
|
+
|
|
3
|
+
Regula Document Reader SDK allows you to read various kinds of identification documents, passports, driving licenses, ID cards, etc. All processing is performed completely _**offline**_ on your device. No any data leaving your device.
|
|
4
|
+
|
|
5
|
+
## Documentation
|
|
6
|
+
|
|
7
|
+
The documentation can be found [here](https://docs.regulaforensics.com/develop/doc-reader-sdk/mobile/react-native).
|
|
8
|
+
|
|
9
|
+
## Demo application
|
|
10
|
+
The demo application can be found here: [https://github.com/regulaforensics/react-native-document-reader](https://github.com/regulaforensics/react-native-document-reader).
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
require 'json'
|
|
2
|
+
|
|
3
|
+
package = JSON.parse(File.read(File.join(__dir__, 'package.json')))
|
|
4
|
+
|
|
5
|
+
Pod::Spec.new do |s|
|
|
6
|
+
s.name = "RNDocumentReaderCore"
|
|
7
|
+
s.version = package['version']
|
|
8
|
+
s.summary = package['description']
|
|
9
|
+
s.license = package['license']
|
|
10
|
+
|
|
11
|
+
s.authors = { 'RegulaForensics' => 'support@regulaforensics.com' }
|
|
12
|
+
s.homepage = 'https://regulaforensics.com'
|
|
13
|
+
|
|
14
|
+
s.source = { :http => 'file:' + __dir__ }
|
|
15
|
+
|
|
16
|
+
s.ios.deployment_target = '13.0'
|
|
17
|
+
s.dependency 'DocumentReaderRFIDBeta', '7.7.12077'
|
|
18
|
+
|
|
19
|
+
s.dependency 'React'
|
|
20
|
+
end
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
apply plugin: 'com.android.library'
|
|
2
|
+
|
|
3
|
+
android {
|
|
4
|
+
// Conditional for compatibility with AGP <4.2.
|
|
5
|
+
if (project.android.hasProperty("namespace")) {
|
|
6
|
+
namespace 'com.regula.documentreader.core'
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
compileSdk 34
|
|
10
|
+
|
|
11
|
+
defaultConfig {
|
|
12
|
+
minSdkVersion 21
|
|
13
|
+
targetSdk 34
|
|
14
|
+
versionCode 1
|
|
15
|
+
versionName "1.0"
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
rootProject.allprojects {
|
|
20
|
+
repositories {
|
|
21
|
+
maven {
|
|
22
|
+
url "https://maven.regulaforensics.com/RegulaDocumentReader/Beta"
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
dependencies {
|
|
28
|
+
//noinspection GradleDynamicVersion
|
|
29
|
+
implementation 'com.facebook.react:react-native:+'
|
|
30
|
+
//noinspection GradleDependency
|
|
31
|
+
implementation 'com.regula.documentreader.core:rfid:7.7.13601'
|
|
32
|
+
}
|
|
33
|
+
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
|
|
2
|
+
package com.regula.documentreader.core;
|
|
3
|
+
|
|
4
|
+
import com.facebook.react.bridge.ReactApplicationContext;
|
|
5
|
+
import com.facebook.react.bridge.ReactContextBaseJavaModule;
|
|
6
|
+
import com.facebook.react.bridge.ReactMethod;
|
|
7
|
+
import com.facebook.react.bridge.Callback;
|
|
8
|
+
|
|
9
|
+
public class RNDocumentReaderCoreModule extends ReactContextBaseJavaModule {
|
|
10
|
+
|
|
11
|
+
private final ReactApplicationContext reactContext;
|
|
12
|
+
|
|
13
|
+
public RNDocumentReaderCoreModule(ReactApplicationContext reactContext) {
|
|
14
|
+
super(reactContext);
|
|
15
|
+
this.reactContext = reactContext;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
@Override
|
|
19
|
+
public String getName() {
|
|
20
|
+
return "RNDocumentReaderCore";
|
|
21
|
+
}
|
|
22
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
|
|
2
|
+
package com.regula.documentreader.core;
|
|
3
|
+
|
|
4
|
+
import java.util.Arrays;
|
|
5
|
+
import java.util.Collections;
|
|
6
|
+
import java.util.List;
|
|
7
|
+
|
|
8
|
+
import com.facebook.react.ReactPackage;
|
|
9
|
+
import com.facebook.react.bridge.NativeModule;
|
|
10
|
+
import com.facebook.react.bridge.ReactApplicationContext;
|
|
11
|
+
import com.facebook.react.uimanager.ViewManager;
|
|
12
|
+
import com.facebook.react.bridge.JavaScriptModule;
|
|
13
|
+
public class RNDocumentReaderCorePackage implements ReactPackage {
|
|
14
|
+
@Override
|
|
15
|
+
public List<NativeModule> createNativeModules(ReactApplicationContext reactContext) {
|
|
16
|
+
return Arrays.<NativeModule>asList(new RNDocumentReaderCoreModule(reactContext));
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
// Deprecated from RN 0.47
|
|
20
|
+
public List<Class<? extends JavaScriptModule>> createJSModules() {
|
|
21
|
+
return Collections.emptyList();
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
@Override
|
|
25
|
+
public List<ViewManager> createViewManagers(ReactApplicationContext reactContext) {
|
|
26
|
+
return Collections.emptyList();
|
|
27
|
+
}
|
|
28
|
+
}
|
package/index.js
ADDED
|
File without changes
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
|
|
2
|
+
Pod::Spec.new do |s|
|
|
3
|
+
s.name = "RNDocumentReaderCore"
|
|
4
|
+
s.version = "1.0.0"
|
|
5
|
+
s.summary = "RNDocumentReaderCore"
|
|
6
|
+
s.description = <<-DESC
|
|
7
|
+
RNDocumentReaderCore
|
|
8
|
+
DESC
|
|
9
|
+
s.homepage = ""
|
|
10
|
+
s.license = "MIT"
|
|
11
|
+
# s.license = { :type => "MIT", :file => "FILE_LICENSE" }
|
|
12
|
+
s.author = { "author" => "author@domain.cn" }
|
|
13
|
+
s.platform = :ios, "7.0"
|
|
14
|
+
s.source = { :git => "https://github.com/author/RNDocumentReaderCore.git", :tag => "master" }
|
|
15
|
+
s.source_files = "RNDocumentReaderCore/**/*.{h,m}"
|
|
16
|
+
s.requires_arc = true
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
s.dependency "React"
|
|
20
|
+
#s.dependency "others"
|
|
21
|
+
|
|
22
|
+
end
|
|
23
|
+
|
|
24
|
+
|
|
@@ -0,0 +1,259 @@
|
|
|
1
|
+
// !$*UTF8*$!
|
|
2
|
+
{
|
|
3
|
+
archiveVersion = 1;
|
|
4
|
+
classes = {
|
|
5
|
+
};
|
|
6
|
+
objectVersion = 46;
|
|
7
|
+
objects = {
|
|
8
|
+
|
|
9
|
+
/* Begin PBXBuildFile section */
|
|
10
|
+
B3E7B58A1CC2AC0600A0062D /* RNDocumentReaderCore.m in Sources */ = {isa = PBXBuildFile; fileRef = B3E7B5891CC2AC0600A0062D /* RNDocumentReaderCore.m */; };
|
|
11
|
+
/* End PBXBuildFile section */
|
|
12
|
+
|
|
13
|
+
/* Begin PBXCopyFilesBuildPhase section */
|
|
14
|
+
58B511D91A9E6C8500147676 /* CopyFiles */ = {
|
|
15
|
+
isa = PBXCopyFilesBuildPhase;
|
|
16
|
+
buildActionMask = 2147483647;
|
|
17
|
+
dstPath = "include/$(PRODUCT_NAME)";
|
|
18
|
+
dstSubfolderSpec = 16;
|
|
19
|
+
files = (
|
|
20
|
+
);
|
|
21
|
+
runOnlyForDeploymentPostprocessing = 0;
|
|
22
|
+
};
|
|
23
|
+
/* End PBXCopyFilesBuildPhase section */
|
|
24
|
+
|
|
25
|
+
/* Begin PBXFileReference section */
|
|
26
|
+
134814201AA4EA6300B7C361 /* libRNDocumentReaderCore.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libRNDocumentReaderCore.a; sourceTree = BUILT_PRODUCTS_DIR; };
|
|
27
|
+
B3E7B5881CC2AC0600A0062D /* RNDocumentReaderCore.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RNDocumentReaderCore.h; sourceTree = "<group>"; };
|
|
28
|
+
B3E7B5891CC2AC0600A0062D /* RNDocumentReaderCore.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RNDocumentReaderCore.m; sourceTree = "<group>"; };
|
|
29
|
+
/* End PBXFileReference section */
|
|
30
|
+
|
|
31
|
+
/* Begin PBXFrameworksBuildPhase section */
|
|
32
|
+
58B511D81A9E6C8500147676 /* Frameworks */ = {
|
|
33
|
+
isa = PBXFrameworksBuildPhase;
|
|
34
|
+
buildActionMask = 2147483647;
|
|
35
|
+
files = (
|
|
36
|
+
);
|
|
37
|
+
runOnlyForDeploymentPostprocessing = 0;
|
|
38
|
+
};
|
|
39
|
+
/* End PBXFrameworksBuildPhase section */
|
|
40
|
+
|
|
41
|
+
/* Begin PBXGroup section */
|
|
42
|
+
134814211AA4EA7D00B7C361 /* Products */ = {
|
|
43
|
+
isa = PBXGroup;
|
|
44
|
+
children = (
|
|
45
|
+
134814201AA4EA6300B7C361 /* libRNDocumentReaderCore.a */,
|
|
46
|
+
);
|
|
47
|
+
name = Products;
|
|
48
|
+
sourceTree = "<group>";
|
|
49
|
+
};
|
|
50
|
+
58B511D21A9E6C8500147676 = {
|
|
51
|
+
isa = PBXGroup;
|
|
52
|
+
children = (
|
|
53
|
+
B3E7B5881CC2AC0600A0062D /* RNDocumentReaderCore.h */,
|
|
54
|
+
B3E7B5891CC2AC0600A0062D /* RNDocumentReaderCore.m */,
|
|
55
|
+
134814211AA4EA7D00B7C361 /* Products */,
|
|
56
|
+
);
|
|
57
|
+
sourceTree = "<group>";
|
|
58
|
+
};
|
|
59
|
+
/* End PBXGroup section */
|
|
60
|
+
|
|
61
|
+
/* Begin PBXNativeTarget section */
|
|
62
|
+
58B511DA1A9E6C8500147676 /* RNDocumentReaderCore */ = {
|
|
63
|
+
isa = PBXNativeTarget;
|
|
64
|
+
buildConfigurationList = 58B511EF1A9E6C8500147676 /* Build configuration list for PBXNativeTarget "RNDocumentReaderCore" */;
|
|
65
|
+
buildPhases = (
|
|
66
|
+
58B511D71A9E6C8500147676 /* Sources */,
|
|
67
|
+
58B511D81A9E6C8500147676 /* Frameworks */,
|
|
68
|
+
58B511D91A9E6C8500147676 /* CopyFiles */,
|
|
69
|
+
);
|
|
70
|
+
buildRules = (
|
|
71
|
+
);
|
|
72
|
+
dependencies = (
|
|
73
|
+
);
|
|
74
|
+
name = RNDocumentReaderCore;
|
|
75
|
+
productName = RCTDataManager;
|
|
76
|
+
productReference = 134814201AA4EA6300B7C361 /* libRNDocumentReaderCore.a */;
|
|
77
|
+
productType = "com.apple.product-type.library.static";
|
|
78
|
+
};
|
|
79
|
+
/* End PBXNativeTarget section */
|
|
80
|
+
|
|
81
|
+
/* Begin PBXProject section */
|
|
82
|
+
58B511D31A9E6C8500147676 /* Project object */ = {
|
|
83
|
+
isa = PBXProject;
|
|
84
|
+
attributes = {
|
|
85
|
+
LastUpgradeCheck = 0830;
|
|
86
|
+
ORGANIZATIONNAME = Facebook;
|
|
87
|
+
TargetAttributes = {
|
|
88
|
+
58B511DA1A9E6C8500147676 = {
|
|
89
|
+
CreatedOnToolsVersion = 6.1.1;
|
|
90
|
+
};
|
|
91
|
+
};
|
|
92
|
+
};
|
|
93
|
+
buildConfigurationList = 58B511D61A9E6C8500147676 /* Build configuration list for PBXProject "RNDocumentReaderCore" */;
|
|
94
|
+
compatibilityVersion = "Xcode 3.2";
|
|
95
|
+
developmentRegion = English;
|
|
96
|
+
hasScannedForEncodings = 0;
|
|
97
|
+
knownRegions = (
|
|
98
|
+
en,
|
|
99
|
+
);
|
|
100
|
+
mainGroup = 58B511D21A9E6C8500147676;
|
|
101
|
+
productRefGroup = 58B511D21A9E6C8500147676;
|
|
102
|
+
projectDirPath = "";
|
|
103
|
+
projectRoot = "";
|
|
104
|
+
targets = (
|
|
105
|
+
58B511DA1A9E6C8500147676 /* RNDocumentReaderCore */,
|
|
106
|
+
);
|
|
107
|
+
};
|
|
108
|
+
/* End PBXProject section */
|
|
109
|
+
|
|
110
|
+
/* Begin PBXSourcesBuildPhase section */
|
|
111
|
+
58B511D71A9E6C8500147676 /* Sources */ = {
|
|
112
|
+
isa = PBXSourcesBuildPhase;
|
|
113
|
+
buildActionMask = 2147483647;
|
|
114
|
+
files = (
|
|
115
|
+
B3E7B58A1CC2AC0600A0062D /* RNDocumentReaderCore.m in Sources */,
|
|
116
|
+
);
|
|
117
|
+
runOnlyForDeploymentPostprocessing = 0;
|
|
118
|
+
};
|
|
119
|
+
/* End PBXSourcesBuildPhase section */
|
|
120
|
+
|
|
121
|
+
/* Begin XCBuildConfiguration section */
|
|
122
|
+
58B511ED1A9E6C8500147676 /* Debug */ = {
|
|
123
|
+
isa = XCBuildConfiguration;
|
|
124
|
+
buildSettings = {
|
|
125
|
+
ALWAYS_SEARCH_USER_PATHS = NO;
|
|
126
|
+
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
|
|
127
|
+
CLANG_CXX_LIBRARY = "libc++";
|
|
128
|
+
CLANG_ENABLE_MODULES = YES;
|
|
129
|
+
CLANG_ENABLE_OBJC_ARC = YES;
|
|
130
|
+
CLANG_WARN_BOOL_CONVERSION = YES;
|
|
131
|
+
CLANG_WARN_CONSTANT_CONVERSION = YES;
|
|
132
|
+
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
|
|
133
|
+
CLANG_WARN_EMPTY_BODY = YES;
|
|
134
|
+
CLANG_WARN_ENUM_CONVERSION = YES;
|
|
135
|
+
CLANG_WARN_INFINITE_RECURSION = YES;
|
|
136
|
+
CLANG_WARN_INT_CONVERSION = YES;
|
|
137
|
+
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
|
|
138
|
+
CLANG_WARN_SUSPICIOUS_MOVE = YES;
|
|
139
|
+
CLANG_WARN_UNREACHABLE_CODE = YES;
|
|
140
|
+
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
|
|
141
|
+
COPY_PHASE_STRIP = NO;
|
|
142
|
+
ENABLE_STRICT_OBJC_MSGSEND = YES;
|
|
143
|
+
ENABLE_TESTABILITY = YES;
|
|
144
|
+
GCC_C_LANGUAGE_STANDARD = gnu99;
|
|
145
|
+
GCC_DYNAMIC_NO_PIC = NO;
|
|
146
|
+
GCC_NO_COMMON_BLOCKS = YES;
|
|
147
|
+
GCC_OPTIMIZATION_LEVEL = 0;
|
|
148
|
+
GCC_PREPROCESSOR_DEFINITIONS = (
|
|
149
|
+
"DEBUG=1",
|
|
150
|
+
"$(inherited)",
|
|
151
|
+
);
|
|
152
|
+
GCC_SYMBOLS_PRIVATE_EXTERN = NO;
|
|
153
|
+
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
|
|
154
|
+
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
|
|
155
|
+
GCC_WARN_UNDECLARED_SELECTOR = YES;
|
|
156
|
+
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
|
|
157
|
+
GCC_WARN_UNUSED_FUNCTION = YES;
|
|
158
|
+
GCC_WARN_UNUSED_VARIABLE = YES;
|
|
159
|
+
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
|
|
160
|
+
MTL_ENABLE_DEBUG_INFO = YES;
|
|
161
|
+
ONLY_ACTIVE_ARCH = YES;
|
|
162
|
+
SDKROOT = iphoneos;
|
|
163
|
+
};
|
|
164
|
+
name = Debug;
|
|
165
|
+
};
|
|
166
|
+
58B511EE1A9E6C8500147676 /* Release */ = {
|
|
167
|
+
isa = XCBuildConfiguration;
|
|
168
|
+
buildSettings = {
|
|
169
|
+
ALWAYS_SEARCH_USER_PATHS = NO;
|
|
170
|
+
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
|
|
171
|
+
CLANG_CXX_LIBRARY = "libc++";
|
|
172
|
+
CLANG_ENABLE_MODULES = YES;
|
|
173
|
+
CLANG_ENABLE_OBJC_ARC = YES;
|
|
174
|
+
CLANG_WARN_BOOL_CONVERSION = YES;
|
|
175
|
+
CLANG_WARN_CONSTANT_CONVERSION = YES;
|
|
176
|
+
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
|
|
177
|
+
CLANG_WARN_EMPTY_BODY = YES;
|
|
178
|
+
CLANG_WARN_ENUM_CONVERSION = YES;
|
|
179
|
+
CLANG_WARN_INFINITE_RECURSION = YES;
|
|
180
|
+
CLANG_WARN_INT_CONVERSION = YES;
|
|
181
|
+
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
|
|
182
|
+
CLANG_WARN_SUSPICIOUS_MOVE = YES;
|
|
183
|
+
CLANG_WARN_UNREACHABLE_CODE = YES;
|
|
184
|
+
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
|
|
185
|
+
COPY_PHASE_STRIP = YES;
|
|
186
|
+
ENABLE_NS_ASSERTIONS = NO;
|
|
187
|
+
ENABLE_STRICT_OBJC_MSGSEND = YES;
|
|
188
|
+
GCC_C_LANGUAGE_STANDARD = gnu99;
|
|
189
|
+
GCC_NO_COMMON_BLOCKS = YES;
|
|
190
|
+
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
|
|
191
|
+
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
|
|
192
|
+
GCC_WARN_UNDECLARED_SELECTOR = YES;
|
|
193
|
+
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
|
|
194
|
+
GCC_WARN_UNUSED_FUNCTION = YES;
|
|
195
|
+
GCC_WARN_UNUSED_VARIABLE = YES;
|
|
196
|
+
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
|
|
197
|
+
MTL_ENABLE_DEBUG_INFO = NO;
|
|
198
|
+
SDKROOT = iphoneos;
|
|
199
|
+
VALIDATE_PRODUCT = YES;
|
|
200
|
+
};
|
|
201
|
+
name = Release;
|
|
202
|
+
};
|
|
203
|
+
58B511F01A9E6C8500147676 /* Debug */ = {
|
|
204
|
+
isa = XCBuildConfiguration;
|
|
205
|
+
buildSettings = {
|
|
206
|
+
HEADER_SEARCH_PATHS = (
|
|
207
|
+
"$(inherited)",
|
|
208
|
+
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include,
|
|
209
|
+
"$(SRCROOT)/../../../React/**",
|
|
210
|
+
"$(SRCROOT)/../../react-native/React/**",
|
|
211
|
+
);
|
|
212
|
+
LIBRARY_SEARCH_PATHS = "$(inherited)";
|
|
213
|
+
OTHER_LDFLAGS = "-ObjC";
|
|
214
|
+
PRODUCT_NAME = RNDocumentReaderCore;
|
|
215
|
+
SKIP_INSTALL = YES;
|
|
216
|
+
};
|
|
217
|
+
name = Debug;
|
|
218
|
+
};
|
|
219
|
+
58B511F11A9E6C8500147676 /* Release */ = {
|
|
220
|
+
isa = XCBuildConfiguration;
|
|
221
|
+
buildSettings = {
|
|
222
|
+
HEADER_SEARCH_PATHS = (
|
|
223
|
+
"$(inherited)",
|
|
224
|
+
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include,
|
|
225
|
+
"$(SRCROOT)/../../../React/**",
|
|
226
|
+
"$(SRCROOT)/../../react-native/React/**",
|
|
227
|
+
);
|
|
228
|
+
LIBRARY_SEARCH_PATHS = "$(inherited)";
|
|
229
|
+
OTHER_LDFLAGS = "-ObjC";
|
|
230
|
+
PRODUCT_NAME = RNDocumentReaderCore;
|
|
231
|
+
SKIP_INSTALL = YES;
|
|
232
|
+
};
|
|
233
|
+
name = Release;
|
|
234
|
+
};
|
|
235
|
+
/* End XCBuildConfiguration section */
|
|
236
|
+
|
|
237
|
+
/* Begin XCConfigurationList section */
|
|
238
|
+
58B511D61A9E6C8500147676 /* Build configuration list for PBXProject "RNDocumentReaderCore" */ = {
|
|
239
|
+
isa = XCConfigurationList;
|
|
240
|
+
buildConfigurations = (
|
|
241
|
+
58B511ED1A9E6C8500147676 /* Debug */,
|
|
242
|
+
58B511EE1A9E6C8500147676 /* Release */,
|
|
243
|
+
);
|
|
244
|
+
defaultConfigurationIsVisible = 0;
|
|
245
|
+
defaultConfigurationName = Release;
|
|
246
|
+
};
|
|
247
|
+
58B511EF1A9E6C8500147676 /* Build configuration list for PBXNativeTarget "RNDocumentReaderCore" */ = {
|
|
248
|
+
isa = XCConfigurationList;
|
|
249
|
+
buildConfigurations = (
|
|
250
|
+
58B511F01A9E6C8500147676 /* Debug */,
|
|
251
|
+
58B511F11A9E6C8500147676 /* Release */,
|
|
252
|
+
);
|
|
253
|
+
defaultConfigurationIsVisible = 0;
|
|
254
|
+
defaultConfigurationName = Release;
|
|
255
|
+
};
|
|
256
|
+
/* End XCConfigurationList section */
|
|
257
|
+
};
|
|
258
|
+
rootObject = 58B511D31A9E6C8500147676 /* Project object */;
|
|
259
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@regulaforensics/react-native-document-reader-core-rfid",
|
|
3
|
+
"version": "8.1.227-beta",
|
|
4
|
+
"description": "React Native module for reading and validation of identification documents (Core framework)",
|
|
5
|
+
"main": "index.js",
|
|
6
|
+
"scripts": {
|
|
7
|
+
"test": "echo \"Error: no test specified\" && exit 1"
|
|
8
|
+
},
|
|
9
|
+
"keywords": [
|
|
10
|
+
"react-native", "documentreader", "reader", "scanner", "regula"
|
|
11
|
+
],
|
|
12
|
+
"author": "Regulaforensics",
|
|
13
|
+
"license": "commercial",
|
|
14
|
+
"repository": {
|
|
15
|
+
"type": "git",
|
|
16
|
+
"url": "https://github.com/regulaforensics/react-native-document-reader.git"
|
|
17
|
+
},
|
|
18
|
+
"homepage": "https://mobile.regulaforensics.com",
|
|
19
|
+
"publishConfig": {
|
|
20
|
+
"access": "public"
|
|
21
|
+
}
|
|
22
|
+
}
|