scandit-react-native-datacapture-id-aamva-barcode-verification 8.2.0 → 8.3.0-beta.1

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/THIRD_PARTY.txt CHANGED
@@ -211,7 +211,6 @@ includes components licensed under the following licenses:
211
211
 
212
212
 
213
213
  Copyright (c) 2017-2022 Arm Limited
214
- Copyright (c) 2007-2010 Baptiste Lepilleur
215
214
  Copyright (c) 2013-2022 Niels Lohmann
216
215
  Copyright (c) 2008-2018 The Khronos Group Inc.
217
216
 
@@ -284,6 +283,7 @@ includes components licensed under the following licenses:
284
283
 
285
284
  ================================================================================
286
285
 
286
+
287
287
  Copyright (c) 2017 Ollix
288
288
 
289
289
  Permission is hereby granted, free of charge, to any person
@@ -64,9 +64,10 @@ android {
64
64
  }
65
65
 
66
66
  dependencies {
67
- def sdk_version = "8.2.0"
67
+ def sdk_version = "8.3.0-beta.1"
68
68
 
69
69
  println("Version of the native sdk used in this build: ${safeExtGet('global_sdk_version', sdk_version)}")
70
+ api project(path: ':scandit-react-native-datacapture-core')
70
71
  api "com.scandit.datacapture:id-aamva-barcode-verification:${safeExtGet('global_sdk_version', sdk_version)}"
71
72
 
72
73
  // For < 0.71, this will be from the local maven repo
File without changes
@@ -9,10 +9,16 @@ package com.scandit.datacapture.reactnative.id_aamva_barcode_verification
9
9
 
10
10
  import com.facebook.react.bridge.ReactApplicationContext
11
11
  import com.facebook.react.bridge.ReactContextBaseJavaModule
12
+ import com.facebook.react.module.annotations.ReactModule
12
13
 
14
+ @ReactModule(name = ScanditDataCaptureIdAamvaBarcodeVerificationModule.NAME)
13
15
  class ScanditDataCaptureIdAamvaBarcodeVerificationModule(
14
- private val reactContext: ReactApplicationContext
16
+ reactContext: ReactApplicationContext
15
17
  ) : ReactContextBaseJavaModule(reactContext) {
16
18
 
17
- override fun getName(): String = "ScanditDataCaptureIdAamvaBarcodeVerification"
19
+ companion object {
20
+ const val NAME = "ScanditDataCaptureIdAamvaBarcodeVerification"
21
+ }
22
+
23
+ override fun getName(): String = NAME
18
24
  }
@@ -7,12 +7,12 @@
7
7
  @file:Suppress("PackageName")
8
8
  package com.scandit.datacapture.reactnative.id_aamva_barcode_verification
9
9
 
10
- import com.facebook.react.ReactPackage
11
10
  import com.facebook.react.bridge.NativeModule
12
11
  import com.facebook.react.bridge.ReactApplicationContext
13
12
  import com.facebook.react.uimanager.ViewManager
13
+ import com.scandit.datacapture.reactnative.core.ScanditReactPackageBase
14
14
 
15
- class ScanditDataCaptureIdAamvaBarcodeVerificationPackage : ReactPackage {
15
+ class ScanditDataCaptureIdAamvaBarcodeVerificationPackage : ScanditReactPackageBase() {
16
16
  override fun createNativeModules(
17
17
  reactContext: ReactApplicationContext
18
18
  ): MutableList<NativeModule> = mutableListOf(
@@ -22,4 +22,7 @@ class ScanditDataCaptureIdAamvaBarcodeVerificationPackage : ReactPackage {
22
22
  override fun createViewManagers(
23
23
  reactContext: ReactApplicationContext
24
24
  ): MutableList<ViewManager<*, *>> = mutableListOf()
25
+
26
+ override fun getModuleClasses(): List<Class<out NativeModule>> =
27
+ listOf(ScanditDataCaptureIdAamvaBarcodeVerificationModule::class.java)
25
28
  }
File without changes
package/package.json CHANGED
@@ -1,16 +1,11 @@
1
1
  {
2
2
  "name": "scandit-react-native-datacapture-id-aamva-barcode-verification",
3
- "version": "8.2.0",
3
+ "version": "8.3.0-beta.1",
4
4
  "description": "Scandit Data Capture SDK for React Native",
5
5
  "homepage": "https://github.com/Scandit/scandit-react-native-datacapture-id-aamva-barcode-verification",
6
6
  "main": "index.js",
7
7
  "flow": "index.js.flow",
8
- "scripts": {
9
- "test": "pnpm run lint",
10
- "lint": "echo 'scandit-react-native-datacapture-id-aamva-barcode-verification does not have TS files to lint'",
11
- "build": "echo 'scandit-react-native-datacapture-id-aamva-barcode-verification does not have TS files to build'",
12
- "start": "pnpm run build"
13
- },
8
+ "scripts": {},
14
9
  "keywords": [
15
10
  "scandit",
16
11
  "react-native"
@@ -15,7 +15,7 @@ Pod::Spec.new do |s|
15
15
  s.requires_arc = true
16
16
  s.module_name = "ScanditDataCaptureIdAamvaBarcodeVerification"
17
17
  s.header_dir = "ScanditDataCaptureIdAamvaBarcodeVerification"
18
- s.dependency 'ScanditIdAamvaBarcodeVerification', '= 8.2.0'
18
+ s.dependency 'ScanditIdAamvaBarcodeVerification', '= 8.3.0-beta.1'
19
19
  s.source_files = "ios/Sources/**/*.{h,m,swift}"
20
20
  s.dependency "React"
21
21
  end