usesense_flutter 2.0.0 copy "usesense_flutter: ^2.0.0" to clipboard
usesense_flutter: ^2.0.0 copied to clipboard

Flutter plugin for UseSense human presence verification. Wraps native iOS and Android SDKs for DeepSense (device integrity), LiveSense (proof-of-life), and MatchSense (identity collision detection).

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:usesense_flutter/usesense_flutter.dart';

import 'screens/home_screen.dart';

void main() {
  WidgetsFlutterBinding.ensureInitialized();
  runApp(const UseSenseExampleApp());
}

/// Example app root.
///
/// The SDK is intentionally NOT initialized here. Initialization is
/// deferred to [HomeScreen], which reads an API key from a text field
/// (persisted via shared_preferences) and calls `UseSenseFlutter.initialize`
/// lazily on first Enroll/Authenticate tap. This matches the iOS
/// example's `@AppStorage("apiKey")` + `SecureField` pattern and the
/// Android example's `SharedPreferences`-backed `OutlinedTextField`
/// pattern, so integrators can clone, run, paste their key once, and
/// test without touching any source code.
class UseSenseExampleApp extends StatelessWidget {
  const UseSenseExampleApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'UseSense Example',
      debugShowCheckedModeBanner: false,
      theme: ThemeData(
        colorSchemeSeed: const Color(0xFF4F7CFF),
        useMaterial3: true,
        brightness: Brightness.light,
      ),
      darkTheme: ThemeData(
        colorSchemeSeed: const Color(0xFF4F7CFF),
        useMaterial3: true,
        brightness: Brightness.dark,
      ),
      home: HomeScreen(useSense: UseSenseFlutter()),
    );
  }
}
1
likes
0
points
525
downloads

Documentation

Documentation

Publisher

unverified uploader

Weekly Downloads

Flutter plugin for UseSense human presence verification. Wraps native iOS and Android SDKs for DeepSense (device integrity), LiveSense (proof-of-life), and MatchSense (identity collision detection).

Homepage
Repository (GitHub)
View/report issues

Topics

#verification #kyc #liveness #biometrics #identity

License

unknown (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on usesense_flutter

Packages that implement usesense_flutter