@regulaforensics/document-reader-core-barcodemrzrfid 8.3.14-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/README.md +11 -0
- package/RNDocumentReaderCore.podspec +19 -0
- package/android/build.gradle +33 -0
- package/android/cordova.gradle +10 -0
- package/android/src/main/java/com/regula/plugin/documentreader/core/RNDocumentReaderCorePackage.kt +11 -0
- package/package.json +33 -0
- package/plugin.xml +19 -0
package/README.md
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# Regula Document Reader Core plugin
|
|
2
|
+
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. This is an additional plugin that enables core functionality for `@regulaforensics/document-reader`.
|
|
3
|
+
|
|
4
|
+
## Demo applications
|
|
5
|
+
You can find demo applications [here](https://github.com/regulaforensics/npm-document-reader/tree/main/examples)
|
|
6
|
+
|
|
7
|
+
## Documentation
|
|
8
|
+
You can find documentation on API [here](https://docs.regulaforensics.com/develop/doc-reader-sdk/mobile).
|
|
9
|
+
|
|
10
|
+
## Additional information
|
|
11
|
+
If you have any technical questions, feel free to [contact](mailto:support@regulaforensics.com) us or create issues [here](https://github.com/regulaforensics/npm-document-reader/issues).
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
require 'json'
|
|
2
|
+
|
|
3
|
+
package = JSON.parse(File.read(File.join(__dir__, 'package.json')))
|
|
4
|
+
source = File.join(__dir__, 'ios')
|
|
5
|
+
|
|
6
|
+
Pod::Spec.new do |s|
|
|
7
|
+
s.name = 'RNDocumentReaderCore'
|
|
8
|
+
s.version = package['version']
|
|
9
|
+
s.summary = package['description']
|
|
10
|
+
s.license = package['license']
|
|
11
|
+
|
|
12
|
+
s.authors = { 'RegulaForensics' => 'support@regulaforensics.com' }
|
|
13
|
+
s.homepage = 'https://regulaforensics.com'
|
|
14
|
+
|
|
15
|
+
s.source = { http: "file:#{source}" }
|
|
16
|
+
s.ios.deployment_target = '14.0'
|
|
17
|
+
s.dependency 'DocumentReaderBarcodeMRZRFIDStage', '8.3.13961'
|
|
18
|
+
s.dependency 'React'
|
|
19
|
+
end
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
apply plugin: 'com.android.library'
|
|
2
|
+
apply plugin: 'kotlin-android'
|
|
3
|
+
|
|
4
|
+
android {
|
|
5
|
+
// Conditional for compatibility with AGP <4.2.
|
|
6
|
+
if (project.android.hasProperty("namespace")) {
|
|
7
|
+
namespace 'com.regula.plugin.documentreader.core'
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
compileSdk 36
|
|
11
|
+
|
|
12
|
+
defaultConfig {
|
|
13
|
+
minSdkVersion 24
|
|
14
|
+
targetSdk 36
|
|
15
|
+
versionCode 1
|
|
16
|
+
versionName "1.0"
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
rootProject.allprojects {
|
|
21
|
+
repositories {
|
|
22
|
+
maven {
|
|
23
|
+
url "https://maven.regulaforensics.com/RegulaDocumentReader/Stage"
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
dependencies {
|
|
29
|
+
//noinspection GradleDynamicVersion
|
|
30
|
+
implementation 'com.facebook.react:react-native:+'
|
|
31
|
+
//noinspection GradleDependency
|
|
32
|
+
implementation('com.regula.documentreader.core:barcodemrzrfid:8.3.14470@aar')
|
|
33
|
+
}
|
package/android/src/main/java/com/regula/plugin/documentreader/core/RNDocumentReaderCorePackage.kt
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
package com.regula.plugin.documentreader.core
|
|
2
|
+
|
|
3
|
+
import com.facebook.react.ReactPackage
|
|
4
|
+
import com.facebook.react.bridge.NativeModule
|
|
5
|
+
import com.facebook.react.bridge.ReactApplicationContext
|
|
6
|
+
import com.facebook.react.uimanager.ViewManager
|
|
7
|
+
|
|
8
|
+
class RNDocumentReaderCorePackage : ReactPackage {
|
|
9
|
+
override fun createNativeModules(rc: ReactApplicationContext) = listOf<NativeModule>()
|
|
10
|
+
override fun createViewManagers(rc: ReactApplicationContext) = emptyList<ViewManager<*, *>>()
|
|
11
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@regulaforensics/document-reader-core-barcodemrzrfid",
|
|
3
|
+
"version": "8.3.14-rc",
|
|
4
|
+
"description": "This is an npm module for Regula Document Reader Core. It enables core functionality for @regulaforensics/document-reader.",
|
|
5
|
+
"cordova": {
|
|
6
|
+
"id": "@regulaforensics/document-reader-core-barcodemrzrfid",
|
|
7
|
+
"platforms": [
|
|
8
|
+
"ios",
|
|
9
|
+
"android"
|
|
10
|
+
]
|
|
11
|
+
},
|
|
12
|
+
"keywords": [
|
|
13
|
+
"react",
|
|
14
|
+
"react-native",
|
|
15
|
+
"ionic",
|
|
16
|
+
"capacitor",
|
|
17
|
+
"cordova",
|
|
18
|
+
"face",
|
|
19
|
+
"reader",
|
|
20
|
+
"scanner",
|
|
21
|
+
"regula"
|
|
22
|
+
],
|
|
23
|
+
"author": "RegulaForensics",
|
|
24
|
+
"license": "commercial",
|
|
25
|
+
"repository": {
|
|
26
|
+
"type": "git",
|
|
27
|
+
"url": "git+https://github.com/regulaforensics/npm-document-reader.git"
|
|
28
|
+
},
|
|
29
|
+
"homepage": "https://mobile.regulaforensics.com",
|
|
30
|
+
"publishConfig": {
|
|
31
|
+
"access": "public"
|
|
32
|
+
}
|
|
33
|
+
}
|
package/plugin.xml
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
<?xml version='1.0' encoding='utf-8'?>
|
|
2
|
+
<plugin id="@regulaforensics/document-reader-core-barcodemrzrfid" version="8.3.14-rc" xmlns="http://apache.org/cordova/ns/plugins/1.0">
|
|
3
|
+
<name>DocumentReaderCore</name>
|
|
4
|
+
|
|
5
|
+
<platform name="ios">
|
|
6
|
+
<podspec>
|
|
7
|
+
<config>
|
|
8
|
+
<source url="https://github.com/CocoaPods/Specs.git" />
|
|
9
|
+
</config>
|
|
10
|
+
<pods>
|
|
11
|
+
<pod name="DocumentReaderBarcodeMRZRFIDStage" spec="8.3.13961" />
|
|
12
|
+
</pods>
|
|
13
|
+
</podspec>
|
|
14
|
+
</platform>
|
|
15
|
+
|
|
16
|
+
<platform name="android">
|
|
17
|
+
<framework src="android/cordova.gradle" custom="true" type="gradleReference" />
|
|
18
|
+
</platform>
|
|
19
|
+
</plugin>
|