Skip to main content

Flutter Configuration

Initialize Fidbek once during app startup.

import 'package:fidbek_flutter/fidbek_flutter.dart';

await FidbekFlutter.configure(
token: 'YOUR_TOKEN',
shakeToOpenEnabled: true,
);

Optional identity

Use identify only when you want to associate SDK activity with an app user. At least one field is required.

await FidbekFlutter.identify(
userId: 'user_123',
name: 'Talha',
email: 'talha@example.com',
);

Call FidbekFlutter.clearIdentity() on logout or account switch.

Parameters

  • token (required): workspace/project token.
  • shakeToOpenEnabled (optional, default true): enables native shake trigger.
  • Configure after your app/session is ready.
  • Call only once per app launch lifecycle.
  • Keep token in your secure runtime config pipeline.

Errors

configure throws a platform exception if required input is invalid (for example empty token).

0.3.0 behavior via native binaries

  • Bug report flow includes occurrence frequency selection.
  • iOS and Android UI strings support en, tr, es, fr, de, pt, ar, hi, ja, and zh-Hans / zh-CN.
  • Unsupported device locales automatically fall back to English.
  • iOS uses native shake motion; Android shake trigger is tuned to be less sensitive.
  • Identified email is used to prefill the contact field when available.
  • Wrapper surface is intentionally limited to five methods.

Next: Flutter Manual Trigger