{"id":18914719,"url":"https://github.com/lau1944/biometric-flutter","last_synced_at":"2026-05-10T06:36:47.807Z","repository":{"id":56841680,"uuid":"300847119","full_name":"lau1944/Biometric-Flutter","owner":"lau1944","description":"A new authentication flutter plugin with latest biometric library","archived":false,"fork":false,"pushed_at":"2020-10-06T16:18:31.000Z","size":485,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-12-31T14:43:21.230Z","etag":null,"topics":["android","biometric","flutter","flutter-plugin","flutterpackage"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lau1944.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-10-03T09:50:01.000Z","updated_at":"2021-02-26T20:57:27.000Z","dependencies_parsed_at":"2022-08-29T06:50:43.362Z","dependency_job_id":null,"html_url":"https://github.com/lau1944/Biometric-Flutter","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lau1944%2FBiometric-Flutter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lau1944%2FBiometric-Flutter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lau1944%2FBiometric-Flutter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lau1944%2FBiometric-Flutter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lau1944","download_url":"https://codeload.github.com/lau1944/Biometric-Flutter/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239907249,"owners_count":19716585,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","biometric","flutter","flutter-plugin","flutterpackage"],"created_at":"2024-11-08T10:12:37.108Z","updated_at":"2026-03-09T23:30:20.455Z","avatar_url":"https://github.com/lau1944.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Biometric Authentication 🔒 🔑 🔓\nThis is a biometric authentication flutter plugin for android \n\n[Link](https://pub.dev/packages/vau_biometric) on pub.dev \n\nAn implementation of [the newest biometric android library](https://developer.android.com/training/sign-in/biometric-auth#blog-posts).\n\n### Sample test on 1+ 6t\n\n\u003cp align=\"center\"\u003e\n  \u003cimg width=255, height=515, src=\"https://github.com/lau1944/Biometric-Flutter/blob/main/demo.gif\" /\u003e\n\u003c/p\u003e\n\n## Usage 🖊️\n* `type` type of authenticators\nonly 3 types :\nBIOMETRIC_STRONG\nBIOMETRIC_WEAK\nDEVICE_CREDENTIAL\n* `title` title on authentication process\n* `subtitle` subtitle on authentication process, default to ''\n* `negativeButtonText` similar to use other authentiation method, default to ''\n\n\nAfter called this method, platform would check authentication requirement and return `BioStatus` to indicator if success or not.\n\n\nif `success`, platform would start authentication immediately.\n\n\n`BioCallBack` is a callback function the result of authentication itself, if the checking status is not `success`, callback would not be called.\n```\nVauBiometric.biometricLogin(type: BIOMETRIC_STRONG,\n      title: 'Login', subtitle: 'click to login in', negativeButtonText: 'no',\n      successCallBack: (code, message) {\n        print(message);\n      },\n      errorCallBack: (code, message) {\n        print(message);\n      },\n      failCallBack: (code, message) {\n        print(message);\n      });\n```\n\n## One more important thing  🤦‍♂️\nThere is one big drawback using this newest biometric library -\u003e It needs a reference of `FragmentActivity` 😫\n\nWe would start a `AuthActivity` which extends FragmentActivity after check success \n\nIf you want a custom view on this activity \n\ncreate a new layout xml file named `biometric_layout` -\u003e It has to be this name 😁😁😁\n\n### That is It !!! 🙃 ###\n\nIt is still unstable for now, because it is so hard to test biometric authentication on each android device 🤕\n\nso if you have any problem using this, please put on issues \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flau1944%2Fbiometric-flutter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flau1944%2Fbiometric-flutter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flau1944%2Fbiometric-flutter/lists"}