/quasar-cordova-fingerprint

🔒👍📱 Quasar + Cordova Fingerprint Plugin

Primary LanguageJavaScript

Quasar Cordova Fingerprint (quasar-cordova-fingerprint)

🔒👍📱 Quasar + Cordova Fingerprint Plugin

Plugin Used

cordova-plugin-fingerprint-aio

Install the dependencies

npm install

Boot fingerprint.js

export default async ({ Vue }) => {
  Vue.prototype.$fingerPrint = (text) => {
    return new Promise((resolve, reject) => {
      window.Fingerprint.isAvailable((suc) => {
        window.Fingerprint.show({
          clientId: 'fingerprintId',
          clientSecret: 'o7aoOMYUbyxaD23oFAnJ',
          disableBackup: true
        }, (suc) => {
          resolve(suc)
        }, (err) => {
          reject(err)
        })
      }, () => {
        reject(false)
      })
    })
  }
}

Start the app in development mode (hot-code reloading, error reporting, etc.)

quasar dev -m cordova -T android

Prints