Comments (6)
Hi @huijing,
you can see all needed modifications from the commits that we made for adding the UAE ID support. Please check diff of this merge commit.
from blinkid-cordova.
Are you saying I don't need to make changes to the BlinkIdScanner.java
file? And just modify the javascript files as per the commit you linked to? Where do I get the information required for the uae_id_keys.js
but for Indonesian IDs?
Sorry, I'm still not very familiar with how BlinkID works yet.
from blinkid-cordova.
Hi @huijing,
you have to modify the BlinkIdScanner.java
file. It is the main file in which Phonegap wrapper for BlinkID Android is implemented. It is the first file that is shown in the linked diff. To see diff for that file, please click on Load diff
(large diffs are not rendered by default).
Results are returned to the JS in JSON format (key-value pairs). When you are returning the results, you can define your own result keys in BlinkIdScanner.java
. Use that keys for indonesia_id_keys.js
. If you decide to use buildKeyValueResult
helper method, you can log keys and use that keys in indonesia_id_keys.js
.
from blinkid-cordova.
So I also need to add something like:
private JSONObject buildUaeIDBackResult(UnitedArabEmiratesIDBackRecognitionResult res) throws JSONException{
JSONObject result = buildKeyValueResult(res, RecognizerType.UAE_ID_BACK.resultId);
putDocumentImageToResultJson(result, UnitedArabEmiratesIDBackRecognitionResult.class);
putFaceImageToResultJson(result, UnitedArabEmiratesIDBackRecognitionResult.class);
return result;
}
but for the IndonesianIDFrontRecognitionResult.class
? I apologise but I've never done Java before so this is a bit tricky for me.
from blinkid-cordova.
Hi @huijing,
we are planning to add support for the Indonesian ID in the next two weeks. If this is OK for you, and you can wait, you don't need to do it by yourself.
from blinkid-cordova.
Okay, thank you for the update. I can close this issue now.
from blinkid-cordova.
Related Issues (20)
- not able to install plugin for ios HOT 4
- Not able to catch timeout HOT 2
- Not able to get face image while face image is true and full document is false HOT 1
- App getting crashed with One plus one device HOT 1
- Get the back image of the scanned USDL HOT 2
- Support for vertical USDL HOT 2
- Cant run plugin HOT 1
- cordova plugin : verification failed related to Unsupported Architectures, while submission to apple HOT 3
- Conflict with cordova-plugin-camera on Android HOT 1
- secondSideSplashMessage does not show up on iOS HOT 3
- Upgrade the plugin from 1.5.0 to latest (5.5.0) getting invalid license HOT 1
- Back side of US DL HOT 7
- Build 5.7.1 fails to install HOT 9
- Failed to detect if front and back side match in iOS HOT 4
- Build "MicroBlink.framework" failed. on xCode Version 12.x (macOS Big Sur) HOT 4
- Orientation does not match device when initialized horizontally HOT 4
- unable to get face image HOT 4
- Is there a way to turn off intro tutorial HOT 1
- In iOS, after scanning front and back, all images are undefined in BlinkIdMultiSideRecognizer.result HOT 1
- Fail to install in IOS platform HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from blinkid-cordova.