thumbmark_android_flutter 0.0.1 copy "thumbmark_android_flutter: ^0.0.1" to clipboard
thumbmark_android_flutter: ^0.0.1 copied to clipboard

PlatformAndroid

A Flutter plugin using thumbmark-android for generating device fingerprints on Android. This plugin provides different levels of volatility to balance between device uniqueness and stability.

Thumbmark Android Flutter #

A Flutter plugin for generating device fingerprints on Android. This plugin provides different levels of "volatility" to balance between device uniqueness and stability.


Features #

  • Low Volatility Fingerprint: Generates a stable fingerprint with a lower chance of changing over time, though with a slight possibility of collisions in specific edge cases.
  • High Volatility Fingerprint: Generates a highly unique fingerprint that is extremely sensitive to device changes (e.g., changes in font size or system settings).

Getting Started #

To use this plugin, add thumbmark_android_flutter as a dependency in your pubspec.yaml file.

Installation #

dependencies:
  thumbmark_android_flutter: ^0.0.1

Usage #

Import the package in your Dart code:

import 'package:thumbmark_android_flutter/thumbmark_android_flutter.dart';

Initialize the Plugin #

Create an instance of the ThumbmarkAndroidFlutter class:

final _thumbmarkPlugin = ThumbmarkAndroidFlutter();

Get Platform Version #

String? version = await _thumbmarkPlugin.getPlatformVersion();

Get Fingerprints #

You can choose between stable or highly sensitive fingerprints based on your security requirements:

// Get a stable fingerprint (Low Volatility)
String? stableFingerprint = await _thumbmarkPlugin.getFingerPrintLow();

// Get a unique, sensitive fingerprint (High Volatility)
String? uniqueFingerprint = await _thumbmarkPlugin.getFingerPrintHigh();


Architecture Overview #

This plugin follows the Federated Plugin pattern:

  • App-Facing Layer: ThumbmarkAndroidFlutter provides the public API.

  • Method Channel: Handles communication between Dart and the native Android environment.

0
likes
150
points
112
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A Flutter plugin using thumbmark-android for generating device fingerprints on Android. This plugin provides different levels of volatility to balance between device uniqueness and stability.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on thumbmark_android_flutter

Packages that implement thumbmark_android_flutter