flutter_pua_auth 1.0.2 copy "flutter_pua_auth: ^1.0.2" to clipboard
flutter_pua_auth: ^1.0.2 copied to clipboard

Flutter plugin for The Whisper Company PUA SDK providing biometric authentication and continuous face monitoring with real-time face detection for enhanced security.

example/lib/main.dart

import 'package:flutter/material.dart';
// Import platform packages to trigger auto-registration
// ignore: unused_import
import 'package:flutter_pua_auth_android/flutter_pua_auth_android.dart';
// ignore: unused_import
import 'package:flutter_pua_auth_ios/flutter_pua_auth_ios.dart';
import 'package:flutter_pua_auth/flutter_pua_auth.dart';
import 'app.dart';

void main() async {
  WidgetsFlutterBinding.ensureInitialized();
  
  // Configure PUA API key - Replace with your actual API key
  // Get your API key from: https://gitlab.com/the_whisper_company/twc.pua
  const String puaApiKey = "replace-with-your-PUA-api-key";
  
  try {
    await FlutterPuaAuth.instance.configureApiKey(puaApiKey);
    print('✅ PUA API key configured successfully');
  } catch (e) {
    print('⚠️ Error configuring PUA API key: $e');
    // Continue anyway - the app will show an error if API key is required
  }
  
  runApp(const PuaAuthDemoApp());
}
0
likes
150
points
14
downloads

Publisher

unverified uploader

Weekly Downloads

Flutter plugin for The Whisper Company PUA SDK providing biometric authentication and continuous face monitoring with real-time face detection for enhanced security.

Homepage

Documentation

API reference

License

unknown (license)

Dependencies

flutter, flutter_pua_auth_android, flutter_pua_auth_ios, plugin_platform_interface

More

Packages that depend on flutter_pua_auth

Packages that implement flutter_pua_auth