Android Configuration
Initialize once at Application startup.
class SampleApp : Application() {
override fun onCreate() {
super.onCreate()
Fidbek.initialize(
application = this,
token = "YOUR_TOKEN",
shakeToOpenEnabled = true
)
Fidbek.identify(
userId = "user_123",
email = "talha@example.com"
)
}
}
Java usage
Fidbek.initialize(app, "YOUR_TOKEN", true);
Optional identity
Use identify only when you want to associate SDK activity with an app user. At least one field is required.
Fidbek.identify(
userId = "user_123",
name = "Talha",
email = "talha@example.com"
)
Call Fidbek.clearIdentity() on logout or account switch.
Endpoint behavior
The report endpoint is fixed internally in the current SDK line:
https://api.fidbek.dev/v1/sdk/reports
0.3.0 runtime notes
- Bug reports include optional occurrence frequency selection in native form.
- UI strings are localized for
en,tr,es,fr,de,pt,ar,hi,ja, andzh-CNbased on device language. - Unsupported languages automatically fall back to English.
- Shake trigger is intentionally less sensitive to reduce accidental opens.
- Identified email is used to prefill the contact field when available.
Manifest application class
<application
android:name=".SampleApp"
... />