Giter Club home page Giter Club logo

sergiosuarezdev / ionic-biometric-capacitor Goto Github PK

View Code? Open in Web Editor NEW
8.0 2.0 1.0 12.43 MB

Small project using Ionic Biometric (FingerprintID / FaceID) plugin & Capacitor Storage to save password

Home Page: http://www.sergiosuarezdev.com

License: GNU General Public License v3.0

JavaScript 5.52% TypeScript 58.67% HTML 8.68% SCSS 27.13%
ionic capacitor-plugins capacitor angular fingerprint fingerprint-authentication faceid faceid-authentication ionic-framework ionic5

ionic-biometric-capacitor's Introduction

Biometric login

Small Ionic framework app using Capacitor & Ionic Plugin https://ionicframework.com

Working properly with Android & iOS phones. (tested with emulator)

Plugins usage:

Plugin Fingerprint-aio requires you to add to your Info.plist to work

<key>NSFaceIDUsageDescription</key>
<string>$FACEID_USAGE_DESCRIPTION</string>

If you have any problem with Android version change these lines in BiometricActivity.java

import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.appcompat.app.AppCompatActivity;
import androidx.core.content.ContextCompat;

Getting Started

To get started, clone this repo, and run: npm install in the root directory.

Test with emulator

ionic cap run ios/android

Secure Storage

If you want to use a Secure Storage for password install this plugin: https://github.com/martinkasa/capacitor-secure-storage-plugin

Updates

  • 1.1.3 - Updated dependencies
  • 1.1.2 - Updated README with Android import fixes
  • 1.1.1 - Changed fingerprint plugin to Finterprint AIO
  • 1.1.0 - Updated Ionic to v5 and Angular to v9
  • 1.0.1 - Fix an error on iOS
  • 1.0.0 - Initial project

Credits

Sergio Suárez - https://www.sergiosuarezdev.com

ionic-biometric-capacitor's People

Contributors

dependabot[bot] avatar sergiosuarezdev avatar ssuarezbrooktec avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

ionic-biometric-capacitor's Issues

Gradle build failed

  • What went wrong:
    Could not resolve all files for configuration ':app:debugRuntimeClasspath'.

Could not find com.github.JesusM:FingerprintManager:v2.0.2.

Fingerprint is not showed

Estoy emulando tu ejemplo contra un Nexus 5 API 30. Tras introducir la password y volver a meterla para pasar a la siguente vista el sistema no muestra la pregunta para activar el check de huella ni tampoco me dice que no este activo el sensor. ¿Que puede estar mal?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.