Skip to content

Commit

Permalink
Bumped Version 3.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
sjhoeksma committed Nov 15, 2016
1 parent 5d85918 commit 375f85a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cordova-plugin-keychain-touch-id",
"version": "3.2.0",
"version": "3.2.1",
"description": "Scan the fingerprint of your user with the TouchID sensor (iPhone 5S, iPhone 6(S), ..) and control a key in the Keychain",
"cordova": {
"id": "cordova-plugin-keychain-touch-id",
Expand Down
2 changes: 1 addition & 1 deletion plugin.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
id="cordova-plugin-keychain-touch-id"
version="3.2.0">
version="3.2.1">
<name>TouchID and Keychain</name>
<author>S.J.Hoeksma</author>
<description>TouchID and Keychain cordova plugin for iOS</description>
Expand Down
8 changes: 4 additions & 4 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ This invalid key is removed - user needs to **save their password again**.
# Examples

```js
if (window.plugins.touchid) {
if (window.plugins) {
window.plugins.touchid.isAvailable(function() {
window.plugins.touchid.has("MyKey", function() {
alert("Touch ID avaialble and Password key available");
Expand All @@ -103,19 +103,19 @@ if (window.plugins.touchid) {
});
}

if (window.plugins.touchid) {
if (window.plugins) {
window.plugins.touchid.verify("MyKey", "My Message", function(password) {
alert("Tocuh " + password);
});
}

if (window.plugins.touchid) {
if (window.plugins) {
window.plugins.touchid.save("MyKey", "My Password", function() {
alert("Password saved");
});
}

if (window.plugins.touchid) {
if (window.plugins) {
window.plugins.touchid.delete("MyKey", function() {
alert("Password key deleted");
});
Expand Down

0 comments on commit 375f85a

Please sign in to comment.