summaryrefslogtreecommitdiff
path: root/plugins/cordova-plugin-touchid/www/touchid.js
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/cordova-plugin-touchid/www/touchid.js')
-rw-r--r--plugins/cordova-plugin-touchid/www/touchid.js19
1 files changed, 0 insertions, 19 deletions
diff --git a/plugins/cordova-plugin-touchid/www/touchid.js b/plugins/cordova-plugin-touchid/www/touchid.js
deleted file mode 100644
index 020d5f89..00000000
--- a/plugins/cordova-plugin-touchid/www/touchid.js
+++ /dev/null
@@ -1,19 +0,0 @@
-
-var exec = require("cordova/exec");
-
-var TouchID = function () {
- this.name = "TouchID";
-};
-
-TouchID.prototype.authenticate = function (successCallback, errorCallback, text) {
- if (!text) {
- text = "Please authenticate via TouchID to proceed";
- }
- exec(successCallback, errorCallback, "TouchID", "authenticate", [text]);
-};
-
-TouchID.prototype.checkSupport = function (successCallback, errorCallback) {
- exec(successCallback, errorCallback, "TouchID", "checkSupport");
-};
-
-module.exports = new TouchID();