@capacitor/barcode-scanner 1.0.0-alpha.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.
@@ -0,0 +1,18 @@
1
+ require 'json'
2
+
3
+ package = JSON.parse(File.read(File.join(__dir__, 'package.json')))
4
+
5
+ Pod::Spec.new do |s|
6
+ s.name = 'CapacitorBarcodeScanner'
7
+ s.version = package['version']
8
+ s.summary = package['description']
9
+ s.license = package['license']
10
+ s.homepage = package['repository']['url']
11
+ s.author = package['author']
12
+ s.source = { :git => package['repository']['url'], :tag => s.version.to_s }
13
+ s.source_files = 'ios/Plugin/**/*.{swift,h,m,c,cc,mm,cpp}'
14
+ s.ios.deployment_target = '13.0'
15
+ s.dependency 'Capacitor'
16
+ s.dependency 'OSBarcodeLib', '~> 1.1.0'
17
+ s.swift_version = '5.1'
18
+ end
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2024 OutSystems
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,153 @@
1
+ # @capacitor/barcode-scanner
2
+
3
+ Capacitor plugin using Outsystems Barcode libs
4
+
5
+ ## Install
6
+
7
+ ```bash
8
+ npm install @capacitor/barcode-scanner
9
+ npx cap sync
10
+ ```
11
+
12
+ #### Android
13
+
14
+ You will need to modify the `allprojects > repositories` section in your `android/build.gradle` file to include the Outsystems repository. Your `android/build.gradle` file should look similar to this after adding the repository.
15
+
16
+ ```gradle
17
+ allprojects {
18
+ repositories {
19
+ google()
20
+ mavenCentral()
21
+ maven {
22
+ url 'https://pkgs.dev.azure.com/OutSystemsRD/9e79bc5b-69b2-4476-9ca5-d67594972a52/_packaging/PublicArtifactRepository/maven/v1'
23
+ name 'Azure'
24
+ credentials {
25
+ username = "optional"
26
+ password = ""
27
+ }
28
+ content {
29
+ includeGroup "com.github.outsystems"
30
+ }
31
+ }
32
+ }
33
+ }
34
+ ```
35
+
36
+ ---
37
+
38
+ ## API
39
+
40
+ <docgen-index>
41
+
42
+ * [`scanBarcode(...)`](#scanbarcode)
43
+ * [Type Aliases](#type-aliases)
44
+ * [Enums](#enums)
45
+
46
+ </docgen-index>
47
+
48
+ <docgen-api>
49
+ <!--Update the source file JSDoc comments and rerun docgen to update the docs below-->
50
+
51
+ Interface defining the contract for a plugin capable of scanning barcodes.
52
+ Requires implementation of the scanBarcode method, which initiates a barcode scan with given options.
53
+
54
+ ### scanBarcode(...)
55
+
56
+ ```typescript
57
+ scanBarcode(options: CapacitorBarcodeScannerOptions) => Promise<CapacitorBarcodeScannerScanResult>
58
+ ```
59
+
60
+ | Param | Type |
61
+ | ------------- | ----------------------------------------------------------------------------------------- |
62
+ | **`options`** | <code><a href="#capacitorbarcodescanneroptions">CapacitorBarcodeScannerOptions</a></code> |
63
+
64
+ **Returns:** <code>Promise&lt;<a href="#capacitorbarcodescannerscanresult">CapacitorBarcodeScannerScanResult</a>&gt;</code>
65
+
66
+ --------------------
67
+
68
+
69
+ ### Type Aliases
70
+
71
+
72
+ #### CapacitorBarcodeScannerScanResult
73
+
74
+ Defines the structure of the result returned from a barcode scan.
75
+
76
+ <code>{ ScanResult: string }</code>
77
+
78
+
79
+ #### CapacitorBarcodeScannerOptions
80
+
81
+ Defines the options for configuring a barcode scan.
82
+
83
+ <code>{ hint: <a href="#capacitorbarcodescannertypehint">CapacitorBarcodeScannerTypeHint</a>; scanInstructions?: string; scanButton?: boolean; scanText?: string; cameraDirection?: <a href="#capacitorbarcodescannercameradirection">CapacitorBarcodeScannerCameraDirection</a>; scanOrientation?: <a href="#capacitorbarcodescannerscanorientation">CapacitorBarcodeScannerScanOrientation</a>; android?: { scanningLibrary?: <a href="#capacitorbarcodescannerandroidscanninglibrary">CapacitorBarcodeScannerAndroidScanningLibrary</a>; }; web?: { showCameraSelection?: boolean; scannerFPS?: number; }; }</code>
84
+
85
+
86
+ #### CapacitorBarcodeScannerTypeHint
87
+
88
+ Extends supported formats from Html5Qrcode with a special 'ALL' option,
89
+ indicating support for all barcode types.
90
+ Type definition combining <a href="#html5qrcodesupportedformats">Html5QrcodeSupportedFormats</a> and OSBarcodeTypeHintALLOption
91
+ to represent the hint for the type of barcode to be scanned.
92
+
93
+ <code><a href="#html5qrcodesupportedformats">Html5QrcodeSupportedFormats</a> | <a href="#capacitorbarcodescannertypehintalloption">CapacitorBarcodeScannerTypeHintALLOption</a></code>
94
+
95
+
96
+ ### Enums
97
+
98
+
99
+ #### Html5QrcodeSupportedFormats
100
+
101
+ | Members | Value |
102
+ | ----------------------- | --------------- |
103
+ | **`QR_CODE`** | <code>0</code> |
104
+ | **`AZTEC`** | <code>1</code> |
105
+ | **`CODABAR`** | <code>2</code> |
106
+ | **`CODE_39`** | <code>3</code> |
107
+ | **`CODE_93`** | <code>4</code> |
108
+ | **`CODE_128`** | <code>5</code> |
109
+ | **`DATA_MATRIX`** | <code>6</code> |
110
+ | **`MAXICODE`** | <code>7</code> |
111
+ | **`ITF`** | <code>8</code> |
112
+ | **`EAN_13`** | <code>9</code> |
113
+ | **`EAN_8`** | <code>10</code> |
114
+ | **`PDF_417`** | <code>11</code> |
115
+ | **`RSS_14`** | <code>12</code> |
116
+ | **`RSS_EXPANDED`** | <code>13</code> |
117
+ | **`UPC_A`** | <code>14</code> |
118
+ | **`UPC_E`** | <code>15</code> |
119
+ | **`UPC_EAN_EXTENSION`** | <code>16</code> |
120
+
121
+
122
+ #### CapacitorBarcodeScannerTypeHintALLOption
123
+
124
+ | Members | Value |
125
+ | --------- | --------------- |
126
+ | **`ALL`** | <code>17</code> |
127
+
128
+
129
+ #### CapacitorBarcodeScannerCameraDirection
130
+
131
+ | Members | Value |
132
+ | ----------- | -------------- |
133
+ | **`BACK`** | <code>1</code> |
134
+ | **`FRONT`** | <code>2</code> |
135
+
136
+
137
+ #### CapacitorBarcodeScannerScanOrientation
138
+
139
+ | Members | Value |
140
+ | --------------- | -------------- |
141
+ | **`PORTRAIT`** | <code>1</code> |
142
+ | **`LANDSCAPE`** | <code>2</code> |
143
+ | **`ADAPTIVE`** | <code>3</code> |
144
+
145
+
146
+ #### CapacitorBarcodeScannerAndroidScanningLibrary
147
+
148
+ | Members | Value |
149
+ | ----------- | -------------------- |
150
+ | **`ZXING`** | <code>'zxing'</code> |
151
+ | **`MLKIT`** | <code>'mlkit'</code> |
152
+
153
+ </docgen-api>
@@ -0,0 +1,97 @@
1
+ ext {
2
+ junitVersion = project.hasProperty('junitVersion') ? rootProject.ext.junitVersion : '4.13.2'
3
+ androidxAppCompatVersion = project.hasProperty('androidxAppCompatVersion') ? rootProject.ext.androidxAppCompatVersion : '1.6.1'
4
+ androidxJunitVersion = project.hasProperty('androidxJunitVersion') ? rootProject.ext.androidxJunitVersion : '1.1.5'
5
+ androidxEspressoCoreVersion = project.hasProperty('androidxEspressoCoreVersion') ? rootProject.ext.androidxEspressoCoreVersion : '3.5.1'
6
+ }
7
+
8
+ buildscript {
9
+ ext.kotlin_version = project.hasProperty("kotlin_version") ? rootProject.ext.kotlin_version : '1.9.22'
10
+ repositories {
11
+ maven {
12
+ url 'https://pkgs.dev.azure.com/OutSystemsRD/9e79bc5b-69b2-4476-9ca5-d67594972a52/_packaging/PublicArtifactRepository/maven/v1'
13
+ name 'Azure'
14
+ credentials {
15
+ username = "optional"
16
+ password = ""
17
+ }
18
+ content {
19
+ includeGroup "com.github.outsystems"
20
+ }
21
+ }
22
+ google()
23
+ mavenCentral()
24
+ flatDir {
25
+ dirs 'libs'
26
+ }
27
+ }
28
+ dependencies {
29
+ classpath 'com.android.tools.build:gradle:8.2.2'
30
+ classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
31
+ }
32
+ }
33
+
34
+ apply plugin: 'com.android.library'
35
+ apply plugin: 'kotlin-android'
36
+
37
+ android {
38
+ namespace "com.capacitorjs.barcodescanner"
39
+ compileSdk project.hasProperty('compileSdkVersion') ? rootProject.ext.compileSdkVersion : 34
40
+ defaultConfig {
41
+ minSdkVersion project.hasProperty('minSdkVersion') ? rootProject.ext.minSdkVersion : 26
42
+ targetSdkVersion project.hasProperty('targetSdkVersion') ? rootProject.ext.targetSdkVersion : 34
43
+ versionCode 1
44
+ versionName "1.0"
45
+ testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
46
+ }
47
+ buildTypes {
48
+ release {
49
+ minifyEnabled false
50
+ proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
51
+ }
52
+ }
53
+ lintOptions {
54
+ abortOnError false
55
+ }
56
+ compileOptions {
57
+ sourceCompatibility JavaVersion.VERSION_17
58
+ targetCompatibility JavaVersion.VERSION_17
59
+ }
60
+ }
61
+
62
+ repositories {
63
+ maven {
64
+ url 'https://pkgs.dev.azure.com/OutSystemsRD/9e79bc5b-69b2-4476-9ca5-d67594972a52/_packaging/PublicArtifactRepository/maven/v1'
65
+ name 'Azure'
66
+ credentials {
67
+ username = "optional"
68
+ password = ""
69
+ }
70
+ content {
71
+ includeGroup "com.github.outsystems"
72
+ }
73
+ }
74
+ google()
75
+ mavenCentral()
76
+ }
77
+
78
+ dependencies {
79
+ // implementation fileTree(dir: 'libs', include: ['*.aar', '*.jar'])
80
+ implementation "com.github.outsystems:osbarcode-android:[1.0.1, 2.0.0[@aar"
81
+ implementation project(':capacitor-android')
82
+ implementation "androidx.appcompat:appcompat:$androidxAppCompatVersion"
83
+ implementation 'androidx.activity:activity-ktx:1.8.2'
84
+ implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm:1.6.4'
85
+ implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.6.4'
86
+ implementation 'com.google.zxing:core:3.4.1'
87
+ implementation 'com.google.mlkit:barcode-scanning:17.2.0'
88
+ implementation 'androidx.camera:camera-camera2:1.3.1'
89
+ implementation 'androidx.camera:camera-lifecycle:1.3.1'
90
+ implementation 'androidx.camera:camera-view:1.3.1'
91
+ implementation 'androidx.activity:activity-compose:1.8.2'
92
+ implementation 'androidx.compose.material3:material3:1.1.2'
93
+ implementation 'androidx.compose.material3:material3-window-size-class:1.1.2'
94
+ testImplementation "junit:junit:$junitVersion"
95
+ androidTestImplementation "androidx.test.ext:junit:$androidxJunitVersion"
96
+ androidTestImplementation "androidx.test.espresso:espresso-core:$androidxEspressoCoreVersion"
97
+ }
@@ -0,0 +1 @@
1
+ <manifest />
@@ -0,0 +1,76 @@
1
+ package com.capacitorjs.barcodescanner
2
+
3
+ import android.content.Intent
4
+ import androidx.activity.result.ActivityResult
5
+ import com.getcapacitor.JSObject
6
+ import com.getcapacitor.Plugin
7
+ import com.getcapacitor.PluginCall
8
+ import com.getcapacitor.PluginMethod
9
+ import com.getcapacitor.annotation.ActivityCallback
10
+ import com.getcapacitor.annotation.CapacitorPlugin
11
+ import com.outsystems.plugins.barcode.controller.OSBARCController
12
+ import com.outsystems.plugins.barcode.model.OSBARCScanParameters
13
+ import com.outsystems.plugins.barcode.view.OSBARCScannerActivity
14
+
15
+ @CapacitorPlugin(name = "CapacitorBarcodeScanner")
16
+ class CapacitorBarcodeScannerPlugin : Plugin() {
17
+ companion object {
18
+ private const val ERROR_FORMAT_PREFIX = "OS-PLUG-BARC-"
19
+ private const val SCAN_REQUEST_CODE = 112
20
+ }
21
+
22
+ private lateinit var barcodeController: OSBARCController
23
+
24
+ override fun load() {
25
+ super.load()
26
+ barcodeController = OSBARCController()
27
+ }
28
+
29
+ @PluginMethod
30
+ fun scanBarcode(call: PluginCall) {
31
+ val hint = call.getInt("hint")
32
+ val scanInstructions = call.getString("scanInstructions")
33
+ val scanButton = call.getBoolean("scanButton", false)
34
+ val scanText = call.getString("scanText", "")
35
+ val cameraDirection = call.getInt("cameraDirection")
36
+
37
+ val nativeOptions = call.getObject("native")
38
+
39
+ val scanOrientation = nativeOptions?.getInteger("scanOrientation")
40
+ val androidScanningLibrary = nativeOptions?.getJSObject("android")?.getString("scanningLibrary")
41
+
42
+ val parameters = OSBARCScanParameters(
43
+ scanInstructions = scanInstructions,
44
+ cameraDirection = cameraDirection,
45
+ scanOrientation = scanOrientation,
46
+ scanButton = scanButton!!,
47
+ scanText = scanText!!,
48
+ hint = hint,
49
+ androidScanningLibrary = androidScanningLibrary
50
+ )
51
+
52
+ val scanIntent = Intent(activity, OSBARCScannerActivity::class.java)
53
+ .putExtra("SCAN_PARAMETERS", parameters)
54
+
55
+ startActivityForResult(call, scanIntent, "handleScanResult")
56
+ }
57
+
58
+ @ActivityCallback
59
+ fun handleScanResult(call: PluginCall, result: ActivityResult) {
60
+ barcodeController.handleActivityResult(
61
+ SCAN_REQUEST_CODE, result.resultCode, result.data,
62
+ onSuccess = { scanResult ->
63
+ val ret = JSObject()
64
+ ret.put("ScanResult", scanResult)
65
+ call.resolve(ret)
66
+ },
67
+ onError = { error ->
68
+ call.reject(error.description, formatErrorCode(error.code))
69
+ }
70
+ )
71
+ }
72
+
73
+ private fun formatErrorCode(code: Int): String {
74
+ return ERROR_FORMAT_PREFIX + code.toString().padStart(4, '0')
75
+ }
76
+ }
File without changes
package/dist/docs.json ADDED
@@ -0,0 +1,262 @@
1
+ {
2
+ "api": {
3
+ "name": "CapacitorBarcodeScannerPlugin",
4
+ "slug": "capacitorbarcodescannerplugin",
5
+ "docs": "Interface defining the contract for a plugin capable of scanning barcodes.\nRequires implementation of the scanBarcode method, which initiates a barcode scan with given options.",
6
+ "tags": [],
7
+ "methods": [
8
+ {
9
+ "name": "scanBarcode",
10
+ "signature": "(options: CapacitorBarcodeScannerOptions) => Promise<CapacitorBarcodeScannerScanResult>",
11
+ "parameters": [
12
+ {
13
+ "name": "options",
14
+ "docs": "",
15
+ "type": "CapacitorBarcodeScannerOptions"
16
+ }
17
+ ],
18
+ "returns": "Promise<CapacitorBarcodeScannerScanResult>",
19
+ "tags": [],
20
+ "docs": "",
21
+ "complexTypes": [
22
+ "CapacitorBarcodeScannerScanResult",
23
+ "CapacitorBarcodeScannerOptions"
24
+ ],
25
+ "slug": "scanbarcode"
26
+ }
27
+ ],
28
+ "properties": []
29
+ },
30
+ "interfaces": [],
31
+ "enums": [
32
+ {
33
+ "name": "Html5QrcodeSupportedFormats",
34
+ "slug": "html5qrcodesupportedformats",
35
+ "members": [
36
+ {
37
+ "name": "QR_CODE",
38
+ "value": "0",
39
+ "tags": [],
40
+ "docs": ""
41
+ },
42
+ {
43
+ "name": "AZTEC",
44
+ "value": "1",
45
+ "tags": [],
46
+ "docs": ""
47
+ },
48
+ {
49
+ "name": "CODABAR",
50
+ "value": "2",
51
+ "tags": [],
52
+ "docs": ""
53
+ },
54
+ {
55
+ "name": "CODE_39",
56
+ "value": "3",
57
+ "tags": [],
58
+ "docs": ""
59
+ },
60
+ {
61
+ "name": "CODE_93",
62
+ "value": "4",
63
+ "tags": [],
64
+ "docs": ""
65
+ },
66
+ {
67
+ "name": "CODE_128",
68
+ "value": "5",
69
+ "tags": [],
70
+ "docs": ""
71
+ },
72
+ {
73
+ "name": "DATA_MATRIX",
74
+ "value": "6",
75
+ "tags": [],
76
+ "docs": ""
77
+ },
78
+ {
79
+ "name": "MAXICODE",
80
+ "value": "7",
81
+ "tags": [],
82
+ "docs": ""
83
+ },
84
+ {
85
+ "name": "ITF",
86
+ "value": "8",
87
+ "tags": [],
88
+ "docs": ""
89
+ },
90
+ {
91
+ "name": "EAN_13",
92
+ "value": "9",
93
+ "tags": [],
94
+ "docs": ""
95
+ },
96
+ {
97
+ "name": "EAN_8",
98
+ "value": "10",
99
+ "tags": [],
100
+ "docs": ""
101
+ },
102
+ {
103
+ "name": "PDF_417",
104
+ "value": "11",
105
+ "tags": [],
106
+ "docs": ""
107
+ },
108
+ {
109
+ "name": "RSS_14",
110
+ "value": "12",
111
+ "tags": [],
112
+ "docs": ""
113
+ },
114
+ {
115
+ "name": "RSS_EXPANDED",
116
+ "value": "13",
117
+ "tags": [],
118
+ "docs": ""
119
+ },
120
+ {
121
+ "name": "UPC_A",
122
+ "value": "14",
123
+ "tags": [],
124
+ "docs": ""
125
+ },
126
+ {
127
+ "name": "UPC_E",
128
+ "value": "15",
129
+ "tags": [],
130
+ "docs": ""
131
+ },
132
+ {
133
+ "name": "UPC_EAN_EXTENSION",
134
+ "value": "16",
135
+ "tags": [],
136
+ "docs": ""
137
+ }
138
+ ]
139
+ },
140
+ {
141
+ "name": "CapacitorBarcodeScannerTypeHintALLOption",
142
+ "slug": "capacitorbarcodescannertypehintalloption",
143
+ "members": [
144
+ {
145
+ "name": "ALL",
146
+ "value": "17",
147
+ "tags": [],
148
+ "docs": ""
149
+ }
150
+ ]
151
+ },
152
+ {
153
+ "name": "CapacitorBarcodeScannerCameraDirection",
154
+ "slug": "capacitorbarcodescannercameradirection",
155
+ "members": [
156
+ {
157
+ "name": "BACK",
158
+ "value": "1",
159
+ "tags": [],
160
+ "docs": ""
161
+ },
162
+ {
163
+ "name": "FRONT",
164
+ "value": "2",
165
+ "tags": [],
166
+ "docs": ""
167
+ }
168
+ ]
169
+ },
170
+ {
171
+ "name": "CapacitorBarcodeScannerScanOrientation",
172
+ "slug": "capacitorbarcodescannerscanorientation",
173
+ "members": [
174
+ {
175
+ "name": "PORTRAIT",
176
+ "value": "1",
177
+ "tags": [],
178
+ "docs": ""
179
+ },
180
+ {
181
+ "name": "LANDSCAPE",
182
+ "value": "2",
183
+ "tags": [],
184
+ "docs": ""
185
+ },
186
+ {
187
+ "name": "ADAPTIVE",
188
+ "value": "3",
189
+ "tags": [],
190
+ "docs": ""
191
+ }
192
+ ]
193
+ },
194
+ {
195
+ "name": "CapacitorBarcodeScannerAndroidScanningLibrary",
196
+ "slug": "capacitorbarcodescannerandroidscanninglibrary",
197
+ "members": [
198
+ {
199
+ "name": "ZXING",
200
+ "value": "'zxing'",
201
+ "tags": [],
202
+ "docs": ""
203
+ },
204
+ {
205
+ "name": "MLKIT",
206
+ "value": "'mlkit'",
207
+ "tags": [],
208
+ "docs": ""
209
+ }
210
+ ]
211
+ }
212
+ ],
213
+ "typeAliases": [
214
+ {
215
+ "name": "CapacitorBarcodeScannerScanResult",
216
+ "slug": "capacitorbarcodescannerscanresult",
217
+ "docs": "Defines the structure of the result returned from a barcode scan.",
218
+ "types": [
219
+ {
220
+ "text": "{ ScanResult: string }",
221
+ "complexTypes": []
222
+ }
223
+ ]
224
+ },
225
+ {
226
+ "name": "CapacitorBarcodeScannerOptions",
227
+ "slug": "capacitorbarcodescanneroptions",
228
+ "docs": "Defines the options for configuring a barcode scan.",
229
+ "types": [
230
+ {
231
+ "text": "{\n hint: CapacitorBarcodeScannerTypeHint;\n scanInstructions?: string;\n scanButton?: boolean;\n scanText?: string;\n cameraDirection?: CapacitorBarcodeScannerCameraDirection;\n scanOrientation?: CapacitorBarcodeScannerScanOrientation;\n android?: {\n scanningLibrary?: CapacitorBarcodeScannerAndroidScanningLibrary;\n };\n web?: {\n showCameraSelection?: boolean;\n scannerFPS?: number;\n };\n}",
232
+ "complexTypes": [
233
+ "CapacitorBarcodeScannerTypeHint",
234
+ "CapacitorBarcodeScannerCameraDirection",
235
+ "CapacitorBarcodeScannerScanOrientation",
236
+ "CapacitorBarcodeScannerAndroidScanningLibrary"
237
+ ]
238
+ }
239
+ ]
240
+ },
241
+ {
242
+ "name": "CapacitorBarcodeScannerTypeHint",
243
+ "slug": "capacitorbarcodescannertypehint",
244
+ "docs": "Extends supported formats from Html5Qrcode with a special 'ALL' option,\nindicating support for all barcode types.\nType definition combining Html5QrcodeSupportedFormats and OSBarcodeTypeHintALLOption\nto represent the hint for the type of barcode to be scanned.",
245
+ "types": [
246
+ {
247
+ "text": "Html5QrcodeSupportedFormats",
248
+ "complexTypes": [
249
+ "Html5QrcodeSupportedFormats"
250
+ ]
251
+ },
252
+ {
253
+ "text": "CapacitorBarcodeScannerTypeHintALLOption",
254
+ "complexTypes": [
255
+ "CapacitorBarcodeScannerTypeHintALLOption"
256
+ ]
257
+ }
258
+ ]
259
+ }
260
+ ],
261
+ "pluginConfigs": []
262
+ }