Skip to content
This repository was archived by the owner on Jul 28, 2025. It is now read-only.

Commit 08c198f

Browse files
authored
Merge pull request #143 from BlinkID/jenkins/stable-build
2 parents 69f334b + 057f800 commit 08c198f

File tree

80 files changed

+1012
-3322
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

80 files changed

+1012
-3322
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release notes
22

3+
## 6.9.1
4+
5+
- Fixes iOS camera selection logic when the system locale is set to Spanish
6+
37
## 6.9.0
48

59
### New features

README.md

Lines changed: 6 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,25 @@
11
# BlinkID In-browser SDK
22

3-
## How to run this repo?
4-
5-
Test this repo quickly on your machine (assuming you have Node and Git installed) by doing the following steps:
6-
7-
- clone [this](https://github.com/BlinkID/blinkid-in-browser) repo by running `git clone https://github.com/BlinkID/blinkid-in-browser` in your Terminal
8-
- run `cd blinkid-in-browser/examples/getting-started && npm install && npm run dev`
9-
- get the license at [Microblink DevHub](https://developer.microblink.com/) and add it to the `LICENSE` variable in the `main.js` file in the `examples/getting-started` folder
10-
- open [http://localhost:5173/](http://localhost:5173/)
11-
- port may be different in your case, check the output of the `npm run dev` command noted above
12-
- point your ID towards the camera
13-
14-
If you prefer a short, 3 minute, video for running this project, feel free to check it out [here](https://www.youtube.com/watch?v=c0ZA8af9oBc).
15-
16-
If you want to recreate this project from scratch, step by step, please check out this tutorial: [Integrating ID Scanning and Extraction In Web Apps With BlinkID SDK](examples/getting-started/).
17-
18-
---
19-
203
[![Build Status](https://travis-ci.org/BlinkID/blinkid-in-browser.svg?branch=master)](https://travis-ci.org/BlinkID/blinkid-in-browser) [![npm version](https://badge.fury.io/js/%40microblink%2Fblinkid-in-browser-sdk.svg)](https://badge.fury.io/js/%40microblink%2Fblinkid-in-browser-sdk)
214

22-
235
BlinkID In-browser SDK enables scanning of various identity documents, including driving licenses, national identity cards, passports and others. The SDK provides real-time in-browser data extraction, without any need for sending images to servers for processing.
246

257
For more information on how to integrate BlinkID SDK into your web app, read the [instructions](#integration) below. Make sure you read the latest [CHANGELOG.md](CHANGELOG.md) file to see the most recent changes and improvements.
268

279
Check out the [official demo app](https://demo.microblink.com/in-browser-sdk/blinkid/) or live examples of BlinkID SDK in action:
2810

2911
1. [BlinkID SDK with built-in UI](https://blinkid.github.io/blinkid-in-browser/ui/demo.html)
12+
* See what the bare UI looks like at [Codepen](https://codepen.io/microblink/pen/GRZGQab)
3013
2. [Scan the front side of an identity document with a web camera](https://blinkid.github.io/blinkid-in-browser/examples/blinkid-camera/javascript/index.html)
14+
* See example at [Codepen](https://codepen.io/microblink/pen/gOPJoRp)
3115
3. [Scan the front side of an identity document by uploading its image](https://blinkid.github.io/blinkid-in-browser/examples/blinkid-file/javascript/index.html)
16+
* See example at [Codepen](https://codepen.io/microblink/pen/ExPzzda)
3217
4. [Scan both sides of an identity document with a web camera](https://blinkid.github.io/blinkid-in-browser/examples/multi-side/javascript/index.html)
18+
* See example at [Codepen](https://codepen.io/microblink/pen/BajeeMx)
3319
5. [Scan both sides of an identity document by uploading its image](https://blinkid.github.io/blinkid-in-browser/examples/multi-side-file/javascript/index.html)
20+
* See example at [Codepen](https://codepen.io/microblink/pen/MWboMrr)
3421
6. [Scan barcode from an identity document from web camera](https://blinkid.github.io/blinkid-in-browser/examples/idbarcode/javascript/index.html)
22+
* See example at [Codepen](https://codepen.io/microblink/pen/NWxVVJO)
3523

3624
To see the source code of the above examples, check out the [examples directory](examples). If you'd like to run examples of the UI component, either through the browser or locally, see the [ui/examples](ui/examples) directory.
3725

@@ -40,7 +28,6 @@ Please keep in mind that BlinkID In-browser SDK is meant to be used natively in
4028
## Table of contents
4129

4230
- [BlinkID In-browser SDK](#blinkid-in-browser-sdk)
43-
- [How to run this repo?](#how-to-run-this-repo)
4431
- [Table of contents](#table-of-contents)
4532
- [ Components of SDK](#-components-of-sdk)
4633
- [ Integration instructions](#-integration-instructions)

examples/blinkid-camera/javascript/app.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,11 @@ function main()
3434
}
3535

3636
// 1. It's possible to obtain a free trial license key on microblink.com
37-
let licenseKey = "sRwAAAYJbG9jYWxob3N0r/lOPk4/w35CpJlWLsMUzyluK70/xuVxz8ABrvYsc6K8qqHwklMLcmZ9e95cYAE2j+KJXGR/GBkeukLaT8sLvD0MjKnYXwQxXUIqQMXC7N/i8ZlbagoJ2pnJu0BDka67+4QI0IWdpYaO9rA5iP9mfNjPUD8ZwchKfS1PzKeoRpyYCYb4q+PLmXwIt/fXXOfG60pMf+ocFcjE9iYg3QSLaE9Zczlv06nzSvvTISR/gN0TXChtPiXiOlLhZ2YrP1dnlve+Cy8Kn5iGx9RzBzY4LR0rCE/U0eS3oxh3EFbyABXQx1wiCWzQgQDGzBljhM6yN+le1hs3oS6kOUY=";
37+
let licenseKey = "sRwAAAYJbG9jYWxob3N0r/lOPk4/w35CpJlWLts7Z6SUn3qcE1y5FxK93PFckWnYJYHZb43pMSynkGsypNMv7+HcjKXrIcWBXbSQwgW9nv7V/blkAM1WNj9J6R/dSv0+1uG7HJ8o46sLCZlIyUdt0Z2YspZpqQCibMm5lyM2Uthi0ahWfoxTgYPvqSW8qdPjscGJe/9yVwyRUBk9NXX83N8pUPYZw+OK+kbTw1tjlOd7tJOzxjqv0P4YH0IS6pR6KfhG+KZ55nTuMWlIeyKx8Fui7y2kkLvam6S1RbPeV2fPdz+ijaFA/HDDqe7gIx3ZA+mvthD/Zm1Itmw41MDzLeSpoN4xRJ7nvs0=";
3838

3939
if (window.location.hostname === "blinkid.github.io")
4040
{
41-
licenseKey = "sRwAAAYRYmxpbmtpZC5naXRodWIuaW+qBF9hPYYlTvZbRmaBzqxJdWEzKjIsc3qn8gvDYBK+5nqbMgzoqZ39gCwvxpxkX+klyHOYdxpjQz73LoYwqi/MUqSpIVbIUSUxx67FKUKmhy67IbGFbSDRUeE/YZk0/cs0Q9GIhl7V7ZABnyf8eiigVdeJpzDnSGZowjgSK3edSlaX/dHGe/lY6+fxXAKJVuanbWZ/46Bq/NhZyEWBwxejARNGBLTvFQe1GZDRQi6Qp7XXf2m5EERMD6/uSKGBNf3GfpUzOM3llPKG8X3l1EzrUyiO+ZiPDCbqTf4FEWs/lyTdaWJB78HbbsSNIAUoDZBXy3F70hqxQOQAig==";
41+
licenseKey = "sRwAAAYRYmxpbmtpZC5naXRodWIuaW+qBF9hPYYlTvZbRmaB1oPhWJJC5lf5QyYKzxSeA0m4NJW24Zs6ZPfXfRca6R3mk0cXQZ5DmmTryjTDfzXuW0LpaPXXr1IkD81yI2As2usPCBHFliP/yki7g3v4rTPKDfgj/FAz72ZQZyruv3luyiY8L5U3M3pjdFdts+GkkvJCCC7nELFU5rnEQgeWKGyrgQ8auXX+dV8a0nmysbFGV9jVb1/+oUMScG2rqayiKCyTrTIjgDKC9lqAAYt1rQB4PgqfjIMOwndnJl5rVD5Nbj5A3D3+z4ErVD551nYykyQQcBp9FwfOXp4OJ7N8j5pKtBhfYo7aqrTG5/KSRQ==";
4242
}
4343

4444
// 2. Create instance of SDK load settings with your license key

examples/blinkid-camera/javascript/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,6 @@ <h1 id="msg">Loading...</h1>
2424
</body>
2525

2626
<!-- Keep in mind that the jsDelivr CDN is used for demonstration, it's not intended to be used in production! -->
27-
<script src="https://cdn.jsdelivr.net/npm/@microblink/blinkid-in-browser-sdk@6.9.0/dist/blinkid-sdk.js"></script>
27+
<script src="https://cdn.jsdelivr.net/npm/@microblink/blinkid-in-browser-sdk@6.9.1/dist/blinkid-sdk.js"></script>
2828
<script src="app.js"></script>
2929
</html>

examples/blinkid-camera/typescript/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,6 @@
1919
"typescript": "^3.9.5"
2020
},
2121
"dependencies": {
22-
"@microblink/blinkid-in-browser-sdk": "~6.9.0"
22+
"@microblink/blinkid-in-browser-sdk": "~6.9.1"
2323
}
2424
}

examples/blinkid-camera/typescript/src/app.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ function main() {
3333
}
3434

3535
// 1. It's possible to obtain a free trial license key on microblink.com
36-
const licenseKey = "sRwAAAYJbG9jYWxob3N0r/lOPk4/w35CpJlWLsMUzyluK70/xuVxz8ABrvYsc6K8qqHwklMLcmZ9e95cYAE2j+KJXGR/GBkeukLaT8sLvD0MjKnYXwQxXUIqQMXC7N/i8ZlbagoJ2pnJu0BDka67+4QI0IWdpYaO9rA5iP9mfNjPUD8ZwchKfS1PzKeoRpyYCYb4q+PLmXwIt/fXXOfG60pMf+ocFcjE9iYg3QSLaE9Zczlv06nzSvvTISR/gN0TXChtPiXiOlLhZ2YrP1dnlve+Cy8Kn5iGx9RzBzY4LR0rCE/U0eS3oxh3EFbyABXQx1wiCWzQgQDGzBljhM6yN+le1hs3oS6kOUY=";
36+
const licenseKey = "sRwAAAYJbG9jYWxob3N0r/lOPk4/w35CpJlWLts7Z6SUn3qcE1y5FxK93PFckWnYJYHZb43pMSynkGsypNMv7+HcjKXrIcWBXbSQwgW9nv7V/blkAM1WNj9J6R/dSv0+1uG7HJ8o46sLCZlIyUdt0Z2YspZpqQCibMm5lyM2Uthi0ahWfoxTgYPvqSW8qdPjscGJe/9yVwyRUBk9NXX83N8pUPYZw+OK+kbTw1tjlOd7tJOzxjqv0P4YH0IS6pR6KfhG+KZ55nTuMWlIeyKx8Fui7y2kkLvam6S1RbPeV2fPdz+ijaFA/HDDqe7gIx3ZA+mvthD/Zm1Itmw41MDzLeSpoN4xRJ7nvs0=";
3737

3838
// 2. Create instance of SDK load settings with your license key
3939
const loadSettings = new BlinkIDSDK.WasmSDKLoadSettings(licenseKey);

examples/blinkid-file/javascript/app.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,11 @@ function main()
3030
}
3131

3232
// 1. It's possible to obtain a free trial license key on microblink.com
33-
let licenseKey = "sRwAAAYJbG9jYWxob3N0r/lOPk4/w35CpJlWLsMUzyluK70/xuVxz8ABrvYsc6K8qqHwklMLcmZ9e95cYAE2j+KJXGR/GBkeukLaT8sLvD0MjKnYXwQxXUIqQMXC7N/i8ZlbagoJ2pnJu0BDka67+4QI0IWdpYaO9rA5iP9mfNjPUD8ZwchKfS1PzKeoRpyYCYb4q+PLmXwIt/fXXOfG60pMf+ocFcjE9iYg3QSLaE9Zczlv06nzSvvTISR/gN0TXChtPiXiOlLhZ2YrP1dnlve+Cy8Kn5iGx9RzBzY4LR0rCE/U0eS3oxh3EFbyABXQx1wiCWzQgQDGzBljhM6yN+le1hs3oS6kOUY=";
33+
let licenseKey = "sRwAAAYJbG9jYWxob3N0r/lOPk4/w35CpJlWLts7Z6SUn3qcE1y5FxK93PFckWnYJYHZb43pMSynkGsypNMv7+HcjKXrIcWBXbSQwgW9nv7V/blkAM1WNj9J6R/dSv0+1uG7HJ8o46sLCZlIyUdt0Z2YspZpqQCibMm5lyM2Uthi0ahWfoxTgYPvqSW8qdPjscGJe/9yVwyRUBk9NXX83N8pUPYZw+OK+kbTw1tjlOd7tJOzxjqv0P4YH0IS6pR6KfhG+KZ55nTuMWlIeyKx8Fui7y2kkLvam6S1RbPeV2fPdz+ijaFA/HDDqe7gIx3ZA+mvthD/Zm1Itmw41MDzLeSpoN4xRJ7nvs0=";
3434

3535
if (window.location.hostname === "blinkid.github.io")
3636
{
37-
licenseKey = "sRwAAAYRYmxpbmtpZC5naXRodWIuaW+qBF9hPYYlTvZbRmaBzqxJdWEzKjIsc3qn8gvDYBK+5nqbMgzoqZ39gCwvxpxkX+klyHOYdxpjQz73LoYwqi/MUqSpIVbIUSUxx67FKUKmhy67IbGFbSDRUeE/YZk0/cs0Q9GIhl7V7ZABnyf8eiigVdeJpzDnSGZowjgSK3edSlaX/dHGe/lY6+fxXAKJVuanbWZ/46Bq/NhZyEWBwxejARNGBLTvFQe1GZDRQi6Qp7XXf2m5EERMD6/uSKGBNf3GfpUzOM3llPKG8X3l1EzrUyiO+ZiPDCbqTf4FEWs/lyTdaWJB78HbbsSNIAUoDZBXy3F70hqxQOQAig==";
37+
licenseKey = "sRwAAAYRYmxpbmtpZC5naXRodWIuaW+qBF9hPYYlTvZbRmaB1oPhWJJC5lf5QyYKzxSeA0m4NJW24Zs6ZPfXfRca6R3mk0cXQZ5DmmTryjTDfzXuW0LpaPXXr1IkD81yI2As2usPCBHFliP/yki7g3v4rTPKDfgj/FAz72ZQZyruv3luyiY8L5U3M3pjdFdts+GkkvJCCC7nELFU5rnEQgeWKGyrgQ8auXX+dV8a0nmysbFGV9jVb1/+oUMScG2rqayiKCyTrTIjgDKC9lqAAYt1rQB4PgqfjIMOwndnJl5rVD5Nbj5A3D3+z4ErVD551nYykyQQcBp9FwfOXp4OJ7N8j5pKtBhfYo7aqrTG5/KSRQ==";
3838
}
3939

4040
// 2. Create instance of SDK load settings with your license key

examples/blinkid-file/javascript/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,6 @@ <h1>Processing...</h1>
2323
</body>
2424

2525
<!-- Keep in mind that the jsDelivr CDN is used for demonstration, it's not intended to be used in production! -->
26-
<script src="https://cdn.jsdelivr.net/npm/@microblink/blinkid-in-browser-sdk@6.9.0/dist/blinkid-sdk.js"></script>
26+
<script src="https://cdn.jsdelivr.net/npm/@microblink/blinkid-in-browser-sdk@6.9.1/dist/blinkid-sdk.js"></script>
2727
<script src="app.js"></script>
2828
</html>

examples/blinkid-file/typescript/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,6 @@
1919
"typescript": "^3.9.5"
2020
},
2121
"dependencies": {
22-
"@microblink/blinkid-in-browser-sdk": "~6.9.0"
22+
"@microblink/blinkid-in-browser-sdk": "~6.9.1"
2323
}
2424
}

examples/blinkid-file/typescript/src/app.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ function main() {
2929
}
3030

3131
// 1. It's possible to obtain a free trial license key on microblink.com
32-
const licenseKey = "sRwAAAYJbG9jYWxob3N0r/lOPk4/w35CpJlWLsMUzyluK70/xuVxz8ABrvYsc6K8qqHwklMLcmZ9e95cYAE2j+KJXGR/GBkeukLaT8sLvD0MjKnYXwQxXUIqQMXC7N/i8ZlbagoJ2pnJu0BDka67+4QI0IWdpYaO9rA5iP9mfNjPUD8ZwchKfS1PzKeoRpyYCYb4q+PLmXwIt/fXXOfG60pMf+ocFcjE9iYg3QSLaE9Zczlv06nzSvvTISR/gN0TXChtPiXiOlLhZ2YrP1dnlve+Cy8Kn5iGx9RzBzY4LR0rCE/U0eS3oxh3EFbyABXQx1wiCWzQgQDGzBljhM6yN+le1hs3oS6kOUY=";
32+
const licenseKey = "sRwAAAYJbG9jYWxob3N0r/lOPk4/w35CpJlWLts7Z6SUn3qcE1y5FxK93PFckWnYJYHZb43pMSynkGsypNMv7+HcjKXrIcWBXbSQwgW9nv7V/blkAM1WNj9J6R/dSv0+1uG7HJ8o46sLCZlIyUdt0Z2YspZpqQCibMm5lyM2Uthi0ahWfoxTgYPvqSW8qdPjscGJe/9yVwyRUBk9NXX83N8pUPYZw+OK+kbTw1tjlOd7tJOzxjqv0P4YH0IS6pR6KfhG+KZ55nTuMWlIeyKx8Fui7y2kkLvam6S1RbPeV2fPdz+ijaFA/HDDqe7gIx3ZA+mvthD/Zm1Itmw41MDzLeSpoN4xRJ7nvs0=";
3333

3434
// 2. Create instance of SDK load settings with your license key
3535
const loadSettings = new BlinkIDSDK.WasmSDKLoadSettings(licenseKey);

0 commit comments

Comments
 (0)