Not all features of native SDKs are available in Cordova wrapper.
The BlinkID-Cordova wrapper is open source, so you can easily add features that you need.
For 100% of features and maximum control, consider using native SDKs.
MicroBlink.framework/MicroBlink file in iOS submodule exceeds GitHubs limited file size of 100MB. To correctly init the submodule Git LFS is needed. Git LFS can be installed with homebrew:
brew install git-lfs
After installation, don't forget to restart the terminal!
Downloading a repository just downloads the files from the most recent commit of the default branch but without all the dependencies which are in submodules. We recommend that you clone directory. With a clone option, you will get a copy of the history and its functional git repository.
To clone the repository:
- Copy URL from Clone or download button: https://github.com/BlinkID/blinkid-phonegap.git
- Open terminal on Mac/Linux or GitBash on Windows.
- cd into directory where you want the cloned directory to be made.
git clone, than past URL
- Press enter
After cloning repository, make sure you clone also its submodules.
From terminal simply cd into BlinkID-phonegap and execute commands:
git submodule init git submodule update
Here's a complete example of how to create and build a project for Android and iOS using Cordova):
# pull the plugin and sample application from Github git clone https://github.com/BlinkID/blinkid-phonegap.git # initialize and update submodules git submodule init git submodule update # create a empty application cordova create testcordova cd testcordova # add the blinkID plugin cordova plugin add ../blinkid-phonegap/BlinkID # build the project, the binary will appear in the bin/ folder cordova build android # build the project cordova build ios
You can also use the provided
initDemoApp.sh script that will generate a demo app that uses the plugin:
To run the script, you'll need BASH environment on Windows (Linux and MacOS use BASH by default).
Github repository: https://github.com/BlinkID/blinkid-phonegap