@regulaforensics/document-reader-btdevice 8.2.8-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,11 @@
1
+ # Regula Document Reader BTDevice 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 for `@regulaforensics/document-reader` that allows connecting to external RFID readers via bluetooth.
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 = 'RNDocumentReaderBTDevice'
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 = '13.0'
17
+ s.dependency 'BTDevice', '7.6.419'
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.btdevice'
8
+ }
9
+
10
+ compileSdk 35
11
+
12
+ defaultConfig {
13
+ minSdkVersion 24
14
+ targetSdk 35
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.btdevice:api:7.6.439@aar')
33
+ }
@@ -0,0 +1,10 @@
1
+ repositories {
2
+ maven {
3
+ url "https://maven.regulaforensics.com/RegulaDocumentReader"
4
+ }
5
+ }
6
+
7
+ dependencies {
8
+ //noinspection GradleDependency
9
+ implementation('com.regula.btdevice:api:7.6.439@aar')
10
+ }
@@ -0,0 +1,11 @@
1
+ package com.regula.plugin.documentreader.btdevice
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 RNDocumentReaderBTDevicePackage : 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-btdevice",
3
+ "version": "8.2.8-beta",
4
+ "description": "This is an npm module for Regula Document Reader BTDevice. It allows @regulaforensics/document-reader connecting to external RFID readers via bluetooth.",
5
+ "cordova": {
6
+ "id": "@regulaforensics/document-reader-btdevice",
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-btdevice" version="8.2.8-beta" xmlns="http://apache.org/cordova/ns/plugins/1.0">
3
+ <name>DocumentReaderBTDevice</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="BTDevice" spec="7.6.419" />
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>