패키지, 저장소 및 앱 카테고리 검색

패키지 상세v1.0.6

native_auth

이 패키지는 FaceID, TouchID 및 지문 인증을 구현하기 위한 것입니다

AndroidiOSWindows
30일 다운로드
39
좋아요
32
Pub 점수
150

패키지 설치

flutter pub add native_auth

패키지 개요

공개 정보를 바탕으로 생성한 선택 가이드입니다.

네이티브 인증은 안드로이드 및 iOS 기기에서 Face ID, Touch ID 및 지문 인식을 사용하여 생체 인증을 가능하게 하는 플러터 패키지입니다. 앱에 안전한 로컬 인증을 통합할 수 있는 간단한 인터페이스를 제공하며, 빠르고 신뢰할 수 있는 신원 확인을 통해 사용자 경험을 향상시킵니다. 윈도우즈도 지원하므로 크로스플랫폼 애플리케이션에 적합합니다. 네이티브 플랫폼 API로 구축되어 호환성과 성능을 보장합니다. 개발자는 최소한의 코드로 안전한 로그인 또는 민감한 작업 확인을 쉽게 구현할 수 있습니다. 소스 코드는 투명성과 기여를 위해 GitHub에서 공개되어 있습니다.

사용 사례

  • 보안 앱 로그인
  • 생체 인식 기반 거래 확인
  • 보호된 데이터 액세스
  • 사용자 신원 확인
  • 이중 인증

주요 기능

  • 페이스 ID 지원
  • 터치 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

소스 저장소

이 패키지를 사용하는 프로젝트

아직 데이터가 없습니다.