SDK Initialization
1- Initializing PensaSdk
import 'package:pensa_flutter_sdk/pensa_flutter_sdk.dart';
final pensa = PensaFlutterSdk();
await pensa.initPensa(
clientId: 'YOUR_CLIENT_ID',
clientSecret: 'YOUR_CLIENT_SECRET',
isLoggingEnabled: true,
);
```2- Add Listeners (Optional)
Event Name
Payload Fields
Once initialized, you can use any of the SDK methods like showShelfScans, showStoresScreen, or showScanArea.
showShelfScans, showStoresScreen, or showScanArea.Last updated
Was this helpful?