@regulaforensics/idv-module-document-reader 3.2.1-nightly

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,26 @@
1
+ apply plugin: 'com.android.library'
2
+ apply plugin: 'kotlin-android'
3
+
4
+ android {
5
+ namespace 'com.regula.plugin.idv.module.document_reader'
6
+ compileSdk 36
7
+
8
+ defaultConfig {
9
+ minSdkVersion 24
10
+ }
11
+ }
12
+
13
+ rootProject.allprojects {
14
+ repositories {
15
+ maven {
16
+ url "https://maven.regulaforensics.com/RegulaDocumentReader/Nightly"
17
+ }
18
+ }
19
+ }
20
+
21
+ dependencies {
22
+ implementation 'com.facebook.react:react-native:+'
23
+ implementation('com.regula.idv:docreader:3.1.1@aar') {
24
+ transitive = true
25
+ }
26
+ }
@@ -0,0 +1,12 @@
1
+ repositories {
2
+ maven {
3
+ url "https://maven.regulaforensics.com/RegulaDocumentReader/Nightly"
4
+ }
5
+ }
6
+
7
+ dependencies {
8
+ //noinspection GradleDependency
9
+ implementation('com.regula.idv:docreader:3.1.1@aar') {
10
+ transitive = true
11
+ }
12
+ }
@@ -0,0 +1,11 @@
1
+ package com.regula.plugin.idv.module.document_reader
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
+ }
@@ -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 'IDVDocumentReaderNightly', '0.1.221'
18
+ s.dependency 'React'
19
+ end
package/package.json ADDED
@@ -0,0 +1,35 @@
1
+ {
2
+ "name": "@regulaforensics/idv-module-document-reader",
3
+ "version": "3.2.1-nightly",
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,19 @@
1
+ <?xml version='1.0' encoding='utf-8'?>
2
+ <plugin id="@regulaforensics/idv-module-document-reader" version="3.2.1-nightly" xmlns="http://apache.org/cordova/ns/plugins/1.0">
3
+ <name>IDVModule</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="IDVDocumentReaderNightly" spec="0.1.221" />
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>