qrdnicapacitor 1.0.3 → 1.0.5
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 +1 -1
- package/android/build.gradle +7 -3
- package/dist/docs.json +1 -1
- package/dist/esm/definitions.d.ts +1 -1
- package/dist/esm/definitions.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -98,7 +98,7 @@ abrirEscaner() => Promise<any>
|
|
|
98
98
|
| **`rawSignature`** | <code>string</code> |
|
|
99
99
|
| **`signedData`** | <code>string</code> |
|
|
100
100
|
| **`certificateRef`** | <code>string</code> |
|
|
101
|
-
| **`type`** | <code>
|
|
101
|
+
| **`type`** | <code>string</code> |
|
|
102
102
|
| **`verificationResult`** | <code>{ status: 'VALID' \| 'INVALID' \| 'NO_CERTIFICATES' \| 'INVALID_QR' \| 'EXPIRED_QR' \| 'UNKNOWN'; certificate?: string; }</code> |
|
|
103
103
|
| **`qrDataExpiry`** | <code>string</code> |
|
|
104
104
|
| **`fullBirthPlace`** | <code>string</code> |
|
package/android/build.gradle
CHANGED
|
@@ -42,16 +42,20 @@ android {
|
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
+
|
|
45
46
|
repositories {
|
|
46
47
|
google()
|
|
47
48
|
mavenCentral()
|
|
49
|
+
flatDir {
|
|
50
|
+
dirs 'libs' // Esto le dice a Gradle que busque librerías en la carpeta libs
|
|
51
|
+
}
|
|
48
52
|
}
|
|
49
53
|
|
|
50
|
-
|
|
51
54
|
dependencies {
|
|
52
|
-
implementation files('libs/qrdnidroid-release.aar')
|
|
55
|
+
//implementation files('libs/qrdnidroid-release.aar')
|
|
56
|
+
implementation(name: 'qrdnidroid-release', ext: 'aar')
|
|
53
57
|
implementation files('libs/jpeg2000.jar')
|
|
54
|
-
implementation fileTree(dir: 'libs', include: ['*.jar', '*.aar'])
|
|
58
|
+
//implementation fileTree(dir: 'libs', include: ['*.jar', '*.aar'])
|
|
55
59
|
implementation ('me.dm7.barcodescanner:zxing:1.9.8') {
|
|
56
60
|
exclude group: 'com.android.support'
|
|
57
61
|
}
|
package/dist/docs.json
CHANGED
|
@@ -34,7 +34,7 @@ export interface MiDNIData {
|
|
|
34
34
|
rawSignature: string;
|
|
35
35
|
signedData: string;
|
|
36
36
|
certificateRef: string;
|
|
37
|
-
type?:
|
|
37
|
+
type?: string;
|
|
38
38
|
verificationResult: {
|
|
39
39
|
status: 'VALID' | 'INVALID' | 'NO_CERTIFICATES' | 'INVALID_QR' | 'EXPIRED_QR' | 'UNKNOWN';
|
|
40
40
|
certificate?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"definitions.js","sourceRoot":"","sources":["../../src/definitions.ts"],"names":[],"mappings":"","sourcesContent":["export interface qrdniPlugin {\n configure(options: { license: string, certs?: { [key: string]: string } }): Promise<EstadoLicencia>;\n validaMiDNIQR(options: { data: string }): Promise<MiDNIData>;\n abrirEscaner(): Promise<any>;\n}\n\nexport interface EstadoLicencia {\n descripcion: string;\n APIKeyValida: boolean;\n lecturaQRHabilitada: boolean;\n}\n\nexport interface MiDNIData {\n dni: string;\n name: string;\n surnames: string;\n birthDate: string;\n expiryDate: string;\n gender: string;\n\n address: string;\n nationality: string;\n parents: string;\n supportNumber: string;\n \n birthPlace1: string;\n birthPlace2: string;\n birthPlace3: string;\n \n photoData: string; // Base64\n isAdult?: boolean;\n \n rawSignature: string;\n signedData: string;\n certificateRef: string;\n type?:
|
|
1
|
+
{"version":3,"file":"definitions.js","sourceRoot":"","sources":["../../src/definitions.ts"],"names":[],"mappings":"","sourcesContent":["export interface qrdniPlugin {\n configure(options: { license: string, certs?: { [key: string]: string } }): Promise<EstadoLicencia>;\n validaMiDNIQR(options: { data: string }): Promise<MiDNIData>;\n abrirEscaner(): Promise<any>;\n}\n\nexport interface EstadoLicencia {\n descripcion: string;\n APIKeyValida: boolean;\n lecturaQRHabilitada: boolean;\n}\n\nexport interface MiDNIData {\n dni: string;\n name: string;\n surnames: string;\n birthDate: string;\n expiryDate: string;\n gender: string;\n\n address: string;\n nationality: string;\n parents: string;\n supportNumber: string;\n \n birthPlace1: string;\n birthPlace2: string;\n birthPlace3: string;\n \n photoData: string; // Base64\n isAdult?: boolean;\n \n rawSignature: string;\n signedData: string;\n certificateRef: string;\n type?: string;\n verificationResult: {\n status: 'VALID' | 'INVALID' | 'NO_CERTIFICATES' | 'INVALID_QR' | 'EXPIRED_QR' | 'UNKNOWN';\n certificate?: string; // Solo presente si el status es VALID\n }; \n qrDataExpiry: string;\n\n fullBirthPlace: string;\n}"]}
|