Skip to content

Commit

Permalink
1.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
diegocidm4 committed Dec 9, 2024
1 parent 81e67e0 commit 94f5bcd
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
12 changes: 11 additions & 1 deletion ios/Sources/idniecapPlugin/idniecap.swift
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,10 @@ import CoreNFC
datosDNIe = DNIeUtils.obtenerTodosDatosDNIe(dnie: passport)
self.datosDNIe = datosDNIe
self.passportSelected = datosDNIe?.getPassport()
if(paceReference == PACEHandler.CAN_PACE_KEY_REFERENCE)
{
self.datosDNIe?.setCan(can: accessKey)
}
} else {
errorText = error?.localizedDescription
print("[NFC] - Error\(error?.localizedDescription)")
Expand All @@ -137,8 +141,10 @@ import CoreNFC

}



if(datosDNIe != nil)
{
{
var base64Foto = ""
if(datosDNIe?.getImagen() != nil)
{
Expand Down Expand Up @@ -409,6 +415,10 @@ import CoreNFC
}
}


print(datosDNIe?.getCan());
print(datosDNIe?.getnumSoporte());

var json: [String: Any] = [:]
json["datosDNIe"] = jsonDatosDNIe
json["error"] = errorText
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "idniecap",
"version": "1.0.1",
"version": "1.0.2",
"description": "Librería para el uso del DNIe en ionic. Disponible para android e iOS.",
"main": "dist/plugin.cjs.js",
"module": "dist/esm/index.js",
Expand Down

0 comments on commit 94f5bcd

Please sign in to comment.