zixflow 1.1.0
zixflow: ^1.1.0 copied to clipboard
An official flutter plugin for Zixflow, an automated messaging platform.
Zixflow Flutter Plugin #
This is the official Zixflow Flutter plugin, built on the Customer.io platform.
Getting started #
You'll find our complete SDK documentation here.
Installation #
Add to your pubspec.yaml:
dependencies:
zixflow: ^1.0.0
Quick Start #
import 'package:zixflow/zixflow.dart';
// Initialize the SDK
final config = ZixflowConfig(
cdpApiKey: 'your-api-key',
region: Region.US,
logLevel: CioLogLevel.debug,
);
await Zixflow.initialize(config: config);
// Identify a user
Zixflow.instance.identify(
userId: 'user-123',
traits: {'email': 'user@example.com', 'name': 'John Doe'},
);
// Track events
Zixflow.instance.track(
name: 'purchase_completed',
properties: {'amount': 99.99, 'product_id': 'ABC123'},
);
// Track screen views
Zixflow.instance.screen(
title: 'Home Screen',
properties: {'section': 'main'},
);
Migration from customer_io #
This SDK is a rebrand of the Customer.io Flutter plugin. To migrate:
- Update
pubspec.yaml: Changecustomer_io→zixflow - Update imports: Change
package:customer_io/customer_io.dart→package:zixflow/zixflow.dart - Update class names:
CustomerIO→ZixflowCustomerIOConfig→ZixflowConfig
The API surface is identical, only branding has changed.
Contributing #
Thanks for taking an interest in our project! We welcome your contributions.
We value an open, welcoming, diverse, inclusive, and healthy community for this project. We expect all contributors to follow our code of conduct.
License #
MIT