Flutter API Reference
Import
import 'package:fidbek_flutter/fidbek_flutter.dart';
Class
FidbekFlutter
Methods
configure({required String token, bool shakeToOpenEnabled = true})
Initializes native SDK bridge and runtime behavior.
open()
Manually opens feedback flow.
identify({String? userId, String? name, String? email})
Stores an optional SDK identity. At least one field is required.
clearIdentity()
Clears the stored SDK identity on native side.
shutdown()
Shuts down runtime listeners/state on native side.
Example
await FidbekFlutter.configure(
token: 'YOUR_TOKEN',
shakeToOpenEnabled: true,
);
await FidbekFlutter.identify(
userId: 'user_123',
email: 'talha@example.com',
);
await FidbekFlutter.open();
Endpoint behavior
The report endpoint is fixed internally in the current SDK line:
https://api.fidbek.dev/v1/sdk/reports
0.3.0 notes
- Flutter API surface is intentionally limited to five methods:
configureopenidentifyclearIdentityshutdown
- Native form now includes occurrence frequency for bug reports.
- Native UI is localized for
en,tr,es,fr,de,pt,ar,hi,ja, andzh-Hans/zh-CN(fallbacken). - Native SDK identity persists across launches until
clearIdentity()is called. - Wrapper does not expose deprecated native attachment staging helpers.