Skip to main content

Android API Reference

Entry point​

Fidbek

Methods​

initialize(application, token, shakeToOpenEnabled)​

Initializes SDK behavior.

open()​

Manually opens feedback flow.

identify(userId, name, email)​

Persists an optional SDK identity. At least one field is required.

clearIdentity()​

Clears the stored SDK identity for logout or account switch.

shutdown()​

Stops listeners and shuts down runtime state.

Kotlin example​

Fidbek.initialize(
application = this,
token = "YOUR_TOKEN",
shakeToOpenEnabled = true
)

Fidbek.identify(
userId = "user_123",
email = "talha@example.com"
)

Fidbek.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​

  • Bug form contains occurrence frequency selector for bug category.
  • Request payload includes locale metadata, optional occurrence_frequency, and persisted identity fields when provided.
  • UI language is selected from device locale for English (en), Turkish (tr), Spanish (es), French (fr), German (de), Portuguese (pt), Arabic (ar), Hindi (hi), Japanese (ja), and Simplified Chinese (zh-CN), with fallback to English.
  • Identified email is used to prefill the contact field in the report form.
  • Public attachment staging helpers remain available for backward compatibility but are deprecated for new integrations.