Overview
The KLP Flutter SDK enables you to embed the KLP loyalty experience in your Flutter mobile application through a single, type-safe Dart API. It wraps the native KLP iOS and Android SDKs so your team does not need to write platform-specific integration code.
The SDK is licensed software distributed to authorized organizations. Repository
access is provisioned as part of your onboarding.
Capabilities
- Initialize the SDK at application startup, including device-integrity verification
- Associate and clear the authenticated user session
- Present the loyalty experience in a secure, native-hosted WebView
- Add pre-built Flutter widgets for loyalty entry points and reward notifications
- Send business and engagement events to the loyalty platform
- Receive real-time notifications for rewards, deep links, gamification effects,
theme and language changes, and SDK errors - Query device security status before high-risk user actions
System requirements
| Platform | Minimum version |
|---|---|
| Flutter | 3.27.0 |
| Dart | 3.6.0 |
| iOS | 13.0 |
| Android | API 24 (Android 7.0) |
How it works
Your Flutter application calls the Dart API. The SDK forwards requests to the
native KLP libraries on each platform, which handle networking, security, and
the loyalty WebView.
┌─────────────────────────────────────────┐
│ Your Flutter application │
│ (widgets + Klp API) │
└─────────────────┬───────────────────────┘
│
┌─────────────────▼─────────────────────────┐
│ klp_flutter_sdk │
│ Dart API, UI components, platform bridge │
└─────────┬───────────────────┬─────────────┘
│ │
┌──────▼──────┐ ┌──────▼──────┐
│ KLP iOS SDK │ │ KLP Android │
│ │ │ SDK │
└─────────────┘ └─────────────┘
Native binaries are included in the SDK package. Your build pipeline does not
need to download separate artifacts, and no SDK credential is required at
application runtime.
Loyalty UI
The SDK offers UI layers developed specifically for your organization upon
request:
| Layer | Component | Purpose |
|---|---|---|
| WebView | Klp.instance.launch() | Full loyalty experience, presented as a native modal WebView |
| Widgets | KlpLoyaltyButton, KlpRewardBanner | Flutter widgets for entry points and live reward feedback in your app shell |
Widget components and visual styling are tailored to your brand and integration
requirements. The loyalty content itself runs inside the native WebView; the
Flutter widgets define how users discover and enter the experience from your
existing screens.
Support
For repository access, credential management, or integration assistance, contact
your KLP account team through the support channel provided during onboarding.
Updated 29 days ago
