Skip to content
pubscout

fingerprintjs

3.0.0, released 2 years ago by samihaddad.dev

FingerprintJS wrapper for Dart

$ flutter pub add fingerprintjs
Source repository

What it does

Provides a Dart wrapper for the browser FingerprintJS library. Allows generating a browser fingerprint hash in Dart web applications.

AI-written summary of version 3.0.0, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need browser fingerprinting in a Flutter Web or Dart web application
  • You want a simple hash representation of the user's browser environment

Skip it when

  • You are building for mobile or desktop native platforms
  • You require advanced device info packages not tied to browser fingerprinting

Strengths

  • Easy to use with a simple async API
  • Provides quick browser identification hashes

Weaknesses

  • Limited to web platforms
  • Requires manually including an external JavaScript script tag in index.html

Setup

Kind
Pure Dart
Effort
Low
Code generation
No
Direct dependencies
1

Add the FingerprintJS script tag in index.html before importing main.dart.js.

import 'package:fingerprintjs/fingerprintjs.dart';

String fingerprint = await Fingerprint.getHash();

Alternatives

Packages that do the same job and could replace fingerprintjs.