@regulaforensics/document-reader-btdevice 9.9.139-rc → 9.9.139
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/RNDocumentReaderBTDevice.podspec +19 -0
- package/android/build.gradle +34 -0
- package/android/cordova.gradle +11 -0
- package/android/src/main/kotlin/com/regula/plugin/{document/reader/btdevice/DocumentReaderBtdevicePackage.kt → documentreader/btdevice/RNDocumentReaderBTDevicePackage.kt} +2 -2
- package/package.json +1 -1
- package/plugin.xml +5 -4
- package/Package.swift +0 -26
- package/android/build.gradle.kts +0 -35
- package/android/cordova.gradle.kts +0 -11
- package/ios/Dummy.swift +0 -1
- package/react-native-document-reader-btdevice.podspec +0 -12
|
@@ -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 'pod_place_holder', 'version_place_holder'
|
|
18
|
+
s.dependency 'React'
|
|
19
|
+
end
|
|
@@ -0,0 +1,34 @@
|
|
|
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 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 "url_place_holder"
|
|
24
|
+
allowInsecureProtocol = true
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
dependencies {
|
|
30
|
+
//noinspection GradleDynamicVersion
|
|
31
|
+
implementation 'com.facebook.react:react-native:+'
|
|
32
|
+
//noinspection GradleDependency
|
|
33
|
+
implementation('com.regula.btdevice:api:version_place_holder')
|
|
34
|
+
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
package com.regula.plugin.
|
|
1
|
+
package com.regula.plugin.documentreader.btdevice
|
|
2
2
|
|
|
3
3
|
import com.facebook.react.ReactPackage
|
|
4
4
|
import com.facebook.react.bridge.NativeModule
|
|
5
5
|
import com.facebook.react.bridge.ReactApplicationContext
|
|
6
6
|
import com.facebook.react.uimanager.ViewManager
|
|
7
7
|
|
|
8
|
-
class
|
|
8
|
+
class RNDocumentReaderBTDevicePackage : ReactPackage {
|
|
9
9
|
override fun createNativeModules(rc: ReactApplicationContext) = listOf<NativeModule>()
|
|
10
10
|
override fun createViewManagers(rc: ReactApplicationContext) = emptyList<ViewManager<*, *>>()
|
|
11
11
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@regulaforensics/document-reader-btdevice",
|
|
3
|
-
"version": "9.9.139
|
|
3
|
+
"version": "9.9.139",
|
|
4
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
5
|
"cordova": {
|
|
6
6
|
"id": "@regulaforensics/document-reader-btdevice",
|
package/plugin.xml
CHANGED
|
@@ -1,19 +1,20 @@
|
|
|
1
1
|
<?xml version='1.0' encoding='utf-8'?>
|
|
2
|
-
<plugin id="@regulaforensics/document-reader-btdevice" version="9.9.139
|
|
2
|
+
<plugin id="@regulaforensics/document-reader-btdevice" version="9.9.139" xmlns="http://apache.org/cordova/ns/plugins/1.0">
|
|
3
3
|
<name>DocumentReaderBTDevice</name>
|
|
4
4
|
|
|
5
|
-
<platform name="ios"
|
|
5
|
+
<platform name="ios">
|
|
6
6
|
<podspec>
|
|
7
7
|
<config>
|
|
8
|
+
<source url="https://gitlab.regula.work/mobile-sdk/podspecs.git" />
|
|
8
9
|
<source url="https://github.com/regulaforensics/podspecs.git" />
|
|
9
10
|
</config>
|
|
10
11
|
<pods>
|
|
11
|
-
<pod name="
|
|
12
|
+
<pod name="BTDevice" spec="9.9.787" />
|
|
12
13
|
</pods>
|
|
13
14
|
</podspec>
|
|
14
15
|
</platform>
|
|
15
16
|
|
|
16
17
|
<platform name="android">
|
|
17
|
-
<framework src="android/cordova.gradle
|
|
18
|
+
<framework src="android/cordova.gradle" custom="true" type="gradleReference" />
|
|
18
19
|
</platform>
|
|
19
20
|
</plugin>
|
package/Package.swift
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
// swift-tools-version: 5.9
|
|
2
|
-
|
|
3
|
-
import PackageDescription
|
|
4
|
-
|
|
5
|
-
let package = Package(
|
|
6
|
-
name: "@regulaforensics/document-reader-btdevice",
|
|
7
|
-
platforms: [.iOS(.v15)],
|
|
8
|
-
products: [.library(name: "@regulaforensics/document-reader-btdevice", targets: ["@regulaforensics/document-reader-btdevice"])],
|
|
9
|
-
dependencies: [
|
|
10
|
-
.package(url: "https://github.com/apache/cordova-ios.git", branch: "master"),
|
|
11
|
-
.package(
|
|
12
|
-
url: "https://github.com/regulaforensics/BTDevice-Swift-Package",
|
|
13
|
-
exact: "9.9.784-rc"
|
|
14
|
-
)
|
|
15
|
-
],
|
|
16
|
-
targets: [
|
|
17
|
-
.target(
|
|
18
|
-
name: "@regulaforensics/document-reader-btdevice",
|
|
19
|
-
dependencies: [
|
|
20
|
-
.product(name: "Cordova", package: "cordova-ios"),
|
|
21
|
-
.product(name: "BTDevice", package: "BTDevice-Swift-Package")
|
|
22
|
-
],
|
|
23
|
-
path: "ios"
|
|
24
|
-
)
|
|
25
|
-
]
|
|
26
|
-
)
|
package/android/build.gradle.kts
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import com.android.build.api.dsl.LibraryExtension
|
|
2
|
-
|
|
3
|
-
plugins {
|
|
4
|
-
id("com.android.library")
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
// AGP 9+ may already provide built-in Kotlin.
|
|
8
|
-
if (extensions.findByName("kotlin") == null) {
|
|
9
|
-
apply(plugin = "kotlin-android")
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
extensions.configure<LibraryExtension> {
|
|
13
|
-
namespace = "com.regula.plugin.document.reader.btdevice"
|
|
14
|
-
compileSdk = 36
|
|
15
|
-
|
|
16
|
-
defaultConfig {
|
|
17
|
-
minSdk = 24
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
rootProject.allprojects {
|
|
22
|
-
repositories {
|
|
23
|
-
maven { url = uri("https://maven.regulaforensics.com/RegulaDocumentReader") }
|
|
24
|
-
maven { url = uri("https://maven.regulaforensics.com/RegulaDocumentReader/Beta") }
|
|
25
|
-
maven { url = uri("https://maven.regulaforensics.com/RegulaDocumentReader/Nightly") }
|
|
26
|
-
maven { url = uri("https://maven.regulaforensics.com/RegulaDocumentReader/Stage") }
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
dependencies {
|
|
31
|
-
//noinspection GradleDynamicVersion
|
|
32
|
-
implementation("com.facebook.react:react-native:+")
|
|
33
|
-
//noinspection GradleDependency
|
|
34
|
-
implementation("com.regula.btdevice:api:9.9.821")
|
|
35
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
repositories {
|
|
2
|
-
maven { url = uri("https://maven.regulaforensics.com/RegulaDocumentReader") }
|
|
3
|
-
maven { url = uri("https://maven.regulaforensics.com/RegulaDocumentReader/Beta") }
|
|
4
|
-
maven { url = uri("https://maven.regulaforensics.com/RegulaDocumentReader/Nightly") }
|
|
5
|
-
maven { url = uri("https://maven.regulaforensics.com/RegulaDocumentReader/Stage") }
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
dependencies {
|
|
9
|
-
//noinspection GradleDependency
|
|
10
|
-
add("implementation", "com.regula.btdevice:api:9.9.821")
|
|
11
|
-
}
|
package/ios/Dummy.swift
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
// Dependency-only package.
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
Pod::Spec.new do |s|
|
|
2
|
-
s.name = 'react-native-document-reader-btdevice'
|
|
3
|
-
s.version = '9.9.139-rc'
|
|
4
|
-
s.summary = 'Regula React Native plugin.'
|
|
5
|
-
s.license = 'commercial'
|
|
6
|
-
s.authors = { 'RegulaForensics' => 'support@regulaforensics.com' }
|
|
7
|
-
s.homepage = 'https://regulaforensics.com'
|
|
8
|
-
s.source = { :path => '.' }
|
|
9
|
-
s.ios.deployment_target = '15.0'
|
|
10
|
-
s.dependency 'BTDeviceStage', '9.9.784'
|
|
11
|
-
s.dependency 'React'
|
|
12
|
-
end
|