-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #49 from BlinkID/feature/malaysia-support/v1.5.1
Feature/malaysia support/v1.5.1
- Loading branch information
Showing
13 changed files
with
592 additions
and
152 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
263 changes: 169 additions & 94 deletions
263
BlinkID/src/android/java/com/phonegap/plugins/blinkid/BlinkIdScanner.java
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
// | ||
// ikad_keys.js | ||
// MicroBlink BlinkID library | ||
// | ||
// Copyright (c) 2015 MicroBlink. All rights reserved. | ||
// | ||
|
||
|
||
//pragma mark - Keys for obtaining data on Malaysian identity cards | ||
|
||
var kPPiKadDataType = "PaymentDataType"; | ||
|
||
|
||
var kPPiKadAddress = "iKadAddress.Address"; | ||
|
||
|
||
var kPPiKadDateOfBirth = "iKadDateOfBirth.DateOfBirth"; | ||
|
||
|
||
var kPPiKadEmployer = "iKadEmployer.Employer"; | ||
|
||
|
||
var kPPiKadExpiryDate = "iKadExpiryDate.ExpiryDate"; | ||
|
||
|
||
var kPPiKadName = "iKadName.Name"; | ||
|
||
|
||
var kPPiKadNationality = "iKadNationality.Nationality"; | ||
|
||
|
||
var kPPiKadPassportNumber = "iKadPassportNumber.PassportNumber"; | ||
|
||
/* | ||
Some iKad cards contain sector field, if they don't it won't be returned in the result dictionary. | ||
*/ | ||
var kPPiKadSector = "iKadSector.Sector"; | ||
|
||
|
||
var kPPiKadSex = "iKadSex.Sex"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.