React Native Configuration
Configure Fidbek once during app startup.
import Fidbek from '@saltware/fidbek-react-native';
await Fidbek.configure({
token: 'YOUR_PUBLIC_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 Fidbek.identify({
userId: 'user_123',
name: 'Talha',
email: 'talha@example.com',
});
Call await Fidbek.clearIdentity() on logout or account switch.
Recommended initialization pattern
- Call
configureafter app root is mounted - Call it once per process lifecycle
- Keep
shakeToOpenEnabledenabled in internal builds
API options
token(required): SDK token from your Fidbek workspaceshakeToOpenEnabled(optional): defaults totrue
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, andzh-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.
New Architecture requirement
The package enforces New Architecture at build-time on Android. If newArchEnabled=false, Android build fails intentionally.