Skip to content
pubscout

klaviyo_flutter

0.2.0, released a year ago by an unverified publisher

Flutter wrapper for Klaviyo push messaging and analytics

$ flutter pub add klaviyo_flutter
Source repository

What it does

Provides integration with Klaviyo’s Android and iOS SDKs, enabling push notifications and event tracking in Flutter apps. It forwards Firebase tokens to Klaviyo and logs events via the Klaviyo API.

AI-written summary of version 0.2.0, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need push notifications and analytics from Klaviyo in a Flutter app
  • You already use Firebase Messaging for push delivery

Skip it when

  • You prefer a pure Dart solution without native SDKs
  • You need only analytics without push support

Strengths

  • Native SDK integration for reliable push handling
  • Supports setting profile attributes and badge counts
  • Handles token forwarding and event logging
  • Compatible with Android SDK 23+ and iOS 13+

Weaknesses

  • Requires native Android/iOS setup and permissions
  • No pure Dart implementation
  • Limited to Klaviyo services only

Setup

Kind
Plugin (native code)
Effort
Medium
Code generation
No
Direct dependencies
2

Add Firebase Messaging plugin, configure Android permissions (INTERNET, POST_NOTIFICATIONS, etc.), add KlaviyoPushService to Android manifest, set iOS Info.plist keys, initialize Klaviyo with API key, send Firebase token to Klaviyo

await Klaviyo.instance.initialize('apiKeyHere');
await Klaviyo.instance.logEvent('\$successful_payment', {'\$value': 'paymentValue'});

Alternatives

Packages that do the same job and could replace klaviyo_flutter.

Works with

Packages commonly used together with klaviyo_flutter: ones it builds on, ones built on it, and its own family.