{"id":23310603,"url":"https://github.com/boraxpr/boraxpr_biometric_example","last_synced_at":"2025-04-07T01:19:46.952Z","repository":{"id":198659070,"uuid":"701233904","full_name":"boraxpr/boraxpr_biometric_example","owner":"boraxpr","description":"An example app demonstrates a using of local_auth library to enable application \"Biometric\" Authentication.","archived":false,"fork":false,"pushed_at":"2023-10-06T11:22:56.000Z","size":255,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-01T11:22:26.365Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/boraxpr.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-10-06T08:00:58.000Z","updated_at":"2023-10-06T08:01:09.000Z","dependencies_parsed_at":null,"dependency_job_id":"1f639a43-396f-4ab4-be2e-f66531e383e3","html_url":"https://github.com/boraxpr/boraxpr_biometric_example","commit_stats":null,"previous_names":["boraxpr/boraxpr_biometric_example"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boraxpr%2Fboraxpr_biometric_example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boraxpr%2Fboraxpr_biometric_example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boraxpr%2Fboraxpr_biometric_example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boraxpr%2Fboraxpr_biometric_example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/boraxpr","download_url":"https://codeload.github.com/boraxpr/boraxpr_biometric_example/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247574283,"owners_count":20960529,"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":[],"created_at":"2024-12-20T13:18:55.459Z","updated_at":"2025-04-07T01:19:46.930Z","avatar_url":"https://github.com/boraxpr.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# boraxpr_biometric_example\n\nThis Flutter project showcases the implementation of biometric authentication using local_auth.\n\n## Table of Contents\n- [Permission Setup](#permission-for-biometric)\n    - [Android](#android-at-projectandroidappsrcmainandroidmanifestxml-directly-under-manifest-tag)\n    - [iOS](#ios-at-projectiosrunnerinfoplist-directly-under-dict-tag)\n- [Android-Specific Configurations](#android-specific-configurations)\n- [iOS-Specific Configurations](#ios-specific-configurations)\n- [Adding the local_auth Dependency](#add-the-local_auth-dependency)\n\n\u003cdiv align=\"center\"\u003e\n  \u003cimg id=\"myImage\" src=\"giphy.gif\" alt=\"Biometric Authentication Example\" /\u003e\n\u003c/div\u003e\n\n### Permission for biometric\n\nIf permission is not granted, app will be failed to initialize.\n\n#### Android at `project/android/app/src/main/AndroidManifest.xml` directly under \"manifest\" tag.\n\n```\u003cuses-permission android:name=\"android.permission.USE_BIOMETRIC\"/\u003e```\n\n\n#### IOS at `project/ios/Runner/Info.plist` directly under \"dict\" tag.\n   \n```\n\u003ckey\u003eNSFaceIDUsageDescription\u003c/key\u003e\n\u003cstring\u003eWhy is my app authenticating using face id?\u003c/string\u003e\n```\n\n### Android specific configurations\n\nAt `project/android/app/src/main/kotlin/com/example/{ProjectName}/MainActivity.kt` change the default Activity to use FlutterFragmentActivity.\n```\nimport io.flutter.embedding.android.FlutterFragmentActivity\n\nclass MainActivity: FlutterFragmentActivity() {\n    // ...\n}\n```\n\n### iOS specific configurations\n\nXcode build will requires you to select your team. To do this, you need to be on MacOS. Then open `project/ios/Runner.xcworkspace` by using Xcode then edit the build setting.\n\n### Add the local_auth dependency\n\n```\ndependencies:\n  flutter:\n    sdk: flutter\n  local_auth:\n```\n\n### Run\n`flutter pub get`\n\n`flutter run`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fboraxpr%2Fboraxpr_biometric_example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fboraxpr%2Fboraxpr_biometric_example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fboraxpr%2Fboraxpr_biometric_example/lists"}