@regulaforensics/idv-module-document-reader 3.2.29-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/README.md
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# Regula IDV Module plugin
|
|
2
|
+
IDV is a framework that unifies access to all Regula products.
|
|
3
|
+
This is an additional plugin that enables extra functionality for [`@regulaforensics/idv`](https://www.npmjs.com/package/@regulaforensics/idv).
|
|
4
|
+
|
|
5
|
+
## Demo application
|
|
6
|
+
You can find demo application [here](https://github.com/regulaforensics/npm-idv)
|
|
7
|
+
|
|
8
|
+
## Documentation
|
|
9
|
+
You can find documentation on API [here](https://docs.regulaforensics.com/develop/idv-sdk/mobile).
|
|
10
|
+
|
|
11
|
+
## Additional information
|
|
12
|
+
If you have any technical questions, feel free to [contact](mailto:support@regulaforensics.com) us or create issues [here](https://github.com/regulaforensics/npm-idv/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 = 'idv-module-document-reader'
|
|
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 'IDVDocumentReader', '3.1.1732'
|
|
18
|
+
s.dependency 'React'
|
|
19
|
+
end
|
|
@@ -0,0 +1,35 @@
|
|
|
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.idv.module'
|
|
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"
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
dependencies {
|
|
29
|
+
//noinspection GradleDynamicVersion
|
|
30
|
+
implementation 'com.facebook.react:react-native:+'
|
|
31
|
+
//noinspection GradleDependency
|
|
32
|
+
implementation('com.regula.idv:docreader:3.1.46@aar') {
|
|
33
|
+
transitive = true
|
|
34
|
+
}
|
|
35
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
package com.regula.plugin.idv.module
|
|
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 RNIDVDocumentReaderPackage : 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,35 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@regulaforensics/idv-module-document-reader",
|
|
3
|
+
"version": "3.2.29-beta",
|
|
4
|
+
"description": "This is an npm module for Regula IDV Module. Use as dependency with @regulaforensics/idv.",
|
|
5
|
+
"cordova": {
|
|
6
|
+
"id": "@regulaforensics/idv-module-document-reader",
|
|
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
|
+
"platform",
|
|
23
|
+
"idv"
|
|
24
|
+
],
|
|
25
|
+
"author": "RegulaForensics",
|
|
26
|
+
"license": "commercial",
|
|
27
|
+
"repository": {
|
|
28
|
+
"type": "git",
|
|
29
|
+
"url": "git+https://github.com/regulaforensics/npm-idv.git"
|
|
30
|
+
},
|
|
31
|
+
"homepage": "https://mobile.regulaforensics.com",
|
|
32
|
+
"publishConfig": {
|
|
33
|
+
"access": "public"
|
|
34
|
+
}
|
|
35
|
+
}
|
package/plugin.xml
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
<?xml version='1.0' encoding='utf-8'?>
|
|
2
|
+
<plugin id="@regulaforensics/idv-module-document-reader" version="3.2.29-beta" xmlns="http://apache.org/cordova/ns/plugins/1.0">
|
|
3
|
+
<name>IDVModule</name>
|
|
4
|
+
|
|
5
|
+
<platform name="ios">
|
|
6
|
+
<config-file target="config.xml" parent="/widget">
|
|
7
|
+
<preference name="deployment-target" value="14.0" />
|
|
8
|
+
</config-file>
|
|
9
|
+
<podspec>
|
|
10
|
+
<config>
|
|
11
|
+
<source url="https://github.com/CocoaPods/Specs.git" />
|
|
12
|
+
</config>
|
|
13
|
+
<pods>
|
|
14
|
+
<pod name="IDVDocumentReader" spec="3.1.1732" />
|
|
15
|
+
</pods>
|
|
16
|
+
</podspec>
|
|
17
|
+
</platform>
|
|
18
|
+
|
|
19
|
+
<platform name="android">
|
|
20
|
+
<framework src="android/cordova.gradle" custom="true" type="gradleReference" />
|
|
21
|
+
</platform>
|
|
22
|
+
</plugin>
|