パッケージ、リポジトリ、アプリカテゴリを検索

パッケージ詳細v1.0.6

native_auth

このパッケージは、FaceID、TouchID、および指紋認証の実装に使用されます

AndroidiOSWindows
30日間ダウンロード
39
いいね数
32
Pub ポイント
150

パッケージをインストール

flutter pub add native_auth

パッケージ概要

公開情報に基づく選定ガイドです。参考としてご利用ください。

ネイティブ認証は、AndroidおよびiOSデバイスでのFace ID、Touch ID、および指紋認識を使用したバイオメトリック認証を可能にするFlutterパッケージです。アプリに安全なローカル認証を統合するための簡単なインターフェースを提供し、迅速かつ信頼性の高い本人確認によりユーザー体験を向上させます。Windowsもサポートしているため、クロスプラットフォームアプリに適しています。ネイティブプラットフォームAPIで構築されており、互換性とパフォーマンスを確保しています。開発者は最小限のコードで安全なログインや重要な操作の確認を簡単に実装できます。ソースコードはGitHub上で公開されており、透明性と貢献を促進しています。

用途

  • セキュアなアプリログイン
  • 生体認証ベースの取引確認
  • 保護されたデータアクセス
  • ユーザーIDの検証
  • 二要素認証

主な機能

  • Face ID のサポート
  • Touch ID のサポート
  • 指紋認証
  • クロスプラットフォーム互換性(Android、iOS、Windows)
  • シンプルなAPI統合

適している対象

  • セキュアな認証を必要とするアプリ
  • 金融または銀行アプリケーション
  • プライバシーのニーズを持つ医療アプリ
  • 機密ユーザー情報を扱うアプリケーション
  • セキュアなモバイル体験を構築する開発者

注意事項

  • バイオメトリクスに対応したデバイスが必要です
  • Android、iOS、Windows プラットフォームに限定
  • フォールバック認証方法が必要になる場合があります
  • 権限は適切に処理される必要があります
  • 生体認証以外の用途には適していません

元の README

関連するソースリポジトリの README 原文のスナップショットです。最新の内容はリポジトリをご覧ください。

native_auth

With this pack you can use the biometrics systems of Android and IOS devices.


It will ask for the user which the biometric authentication method of his device, this can be FaceID or TouchID on IPhone or FingerPrint on Android phone

How to use

import 'package:native_auth/native_auth.dart';
final response = await Auth.isAuthenticate();
print(response.isAuthenticated); // true or false

response is an enum AuthResult containing the statuses:

error, auth and noAuth

auth means the user is authenticated.
noAuth means the user is no authenticated.
error means that it was not possible to request any biometrics.

📱Screenshots

🤖 Android

🍎 IOS

IOS Integration

Update your project's Info.plist file to include the FaceID permissions:

<key>NSFaceIDUsageDescription</key>
<string>Why is my app authenticating using face id?</string>

Android Integration

Update your project's AndroidManifest.xml file to include the USE_FINGERPRINT permissions:

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
 package="com.example.app">
  <uses-permission android:name="android.permission.USE_BIOMETRIC"/>
<manifest>

Update your MainActivity.kt:

import io.flutter.embedding.android.FlutterFragmentActivity

class MainActivity: FlutterFragmentActivity() {
    // ...
}

OR

Update your MainActivity.java:

import io.flutter.embedding.android.FlutterFragmentActivity;

public class MainActivity extends FlutterFragmentActivity {
    // ...
}

to inherit FlutterActivity from FlutterFragmentActivity


Feito com ❤️ by Weliton Sousa

カテゴリー

依存関係

依存関係一覧 3 件

  • local_auth^2.1.6
  • local_auth_android^1.0.21
  • local_auth_ios^1.1.1

ソースリポジトリ

このパッケージを使用しているプロジェクト

データはまだありません。