fingerly_flutter library

Fingerly for Flutter.

This package collects nothing

That is the design, not a limitation. Every signal worth having on a phone is unreachable from Dart: lstat on /var/jb, the dyld image list, the thread names Frida leaves behind, the P_TRACED flag, the DeviceCheck token Apple signs, the TLS chain the app was actually served. A method channel can reach none of them.

So a plugin that collected what it could reach from Dart would report a jailbroken, instrumented device as clean — which is worse than reporting nothing, because a customer would believe it. This package calls the native SDK and hands back what it produced.

The consequence worth stating: the collection logic lives in one place per platform, in Swift and in Kotlin, and improving it improves Flutter, React Native and native apps at the same time rather than three times over. What the signals mean is decided on the server, and nothing here reaches a conclusion of its own.

import 'package:fingerly_flutter/fingerly_flutter.dart';

final fingerly = await Fingerly.load(apiKey: 'fly_pk_production_…');
// From the consent tool, once the user has agreed (or you know none is
// required).
await fingerly.setConsent(ConsentState.granted);
final result = await fingerly.identify(tag: 'checkout');

// Send result.requestId to your backend and make the decision there.

Classes

Confidence
How sure the server is of a finding, in IdentifyTrigger.confidence.
EventState
The server's disposition of a check, in IdentifyResult.state.
Fingerly
A configured client.
FingerlyConfig
Configuration passed to Fingerly.configure / Fingerly.load.
GotSlot
Where one Mach-O GOT / lazy-symbol pointer slot in the iOS SDK image points.
IdentifyResult
What identify() resolves with (schemas.IdentifyOut in v3).
IdentifyTrigger
One active risk trigger (IdentifyTriggerOut in OpenAPI).
IntegrityReport
The runtime integrity layer's raw observations.
Lie
A hook, a substituted implementation or a claim that does not add up.
NativeMethodCount
Reflection counts on one watched Android framework method.
NativeSymbol
Where one watched iOS C function resolved, and the prologue/branch behind it.
ObjcMethod
Where one watched iOS Objective-C method's implementation lives.
Signal
Every signal group and raw detector the server reports, in IdentifyTrigger.signal and IdentifyTrigger.group.
SignalOutcome
What one source reported.
SignalReport
The whole client-side observation (schema: 2 on native), as submitted.
SuspectLevel
The score as a band, in IdentifyResult.suspectLevel.

Enums

ConsentState
Whether the user has agreed to be identified.
SignalStatus
How a source finished.

Exceptions / Errors

FingerlyConsentException
A call refused because consent is not ConsentState.granted.
FingerlyException
A failure the caller can act on.