@regulaforensics/document-reader-btdevice 9.9.139 → 9.9.141-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/Package.swift ADDED
@@ -0,0 +1,26 @@
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.789-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
+ )
@@ -0,0 +1,35 @@
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.829")
35
+ }
@@ -0,0 +1,11 @@
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.829")
11
+ }
@@ -1,11 +1,11 @@
1
- package com.regula.plugin.documentreader.btdevice
1
+ package com.regula.plugin.document.reader.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 RNDocumentReaderBTDevicePackage : ReactPackage {
8
+ class DocumentReaderBtdevicePackage : ReactPackage {
9
9
  override fun createNativeModules(rc: ReactApplicationContext) = listOf<NativeModule>()
10
10
  override fun createViewManagers(rc: ReactApplicationContext) = emptyList<ViewManager<*, *>>()
11
11
  }
@@ -0,0 +1 @@
1
+ // Dependency-only package.
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.141-rc",
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,20 +1,19 @@
1
1
  <?xml version='1.0' encoding='utf-8'?>
2
- <plugin id="@regulaforensics/document-reader-btdevice" version="9.9.139" xmlns="http://apache.org/cordova/ns/plugins/1.0">
2
+ <plugin id="@regulaforensics/document-reader-btdevice" version="9.9.141-rc" xmlns="http://apache.org/cordova/ns/plugins/1.0">
3
3
  <name>DocumentReaderBTDevice</name>
4
4
 
5
- <platform name="ios">
5
+ <platform name="ios" package="swift">
6
6
  <podspec>
7
7
  <config>
8
- <source url="https://gitlab.regula.work/mobile-sdk/podspecs.git" />
9
8
  <source url="https://github.com/regulaforensics/podspecs.git" />
10
9
  </config>
11
10
  <pods>
12
- <pod name="BTDevice" spec="9.9.787" />
11
+ <pod name="BTDeviceStage" spec="9.9.789" nospm="true" />
13
12
  </pods>
14
13
  </podspec>
15
14
  </platform>
16
15
 
17
16
  <platform name="android">
18
- <framework src="android/cordova.gradle" custom="true" type="gradleReference" />
17
+ <framework src="android/cordova.gradle.kts" custom="true" type="gradleReference" />
19
18
  </platform>
20
19
  </plugin>
@@ -0,0 +1,12 @@
1
+ Pod::Spec.new do |s|
2
+ s.name = 'react-native-document-reader-btdevice'
3
+ s.version = '9.9.141-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.789'
11
+ s.dependency 'React'
12
+ end
@@ -1,19 +0,0 @@
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
@@ -1,34 +0,0 @@
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 +0,0 @@
1
- repositories {
2
- maven {
3
- url "url_place_holder"
4
- allowInsecureProtocol = true
5
- }
6
- }
7
-
8
- dependencies {
9
- //noinspection GradleDependency
10
- implementation('com.regula.btdevice:api:version_place_holder')
11
- }