📄️ Overview
This is the integration guide for the B2Metric Flutter SDK, written for the person adding it to a Flutter app rather than for someone deciding whether to use it. It follows the order you'd naturally work through: install the package, initialize it, send an event, and then everything else once you need it, like user identification and push notification tracking.
📄️ Installation
From the root of your Flutter project:
📄️ Quick Start
Call init() once at app startup before using any other SDK method. Subsequent calls are ignored.
📄️ Configuration
| Option | Type | Required | Default | Range | Description |
📄️ Event Tracking
Item Properties
📄️ User Identification
setUser sends a useridentify event and merges the attributes into userproperties on every subsequent event. userId is required; name, surname, and email are suggested fields.
📄️ Push Notifications
Supported providers: PushProvider.fcm, PushProvider.hms, PushProvider.apns.
📄️ Lifecycle Management
Manual Flush
📄️ API Reference
| Method | Description |
📄️ Troubleshooting
| Symptom | Resolution |
📄️ Release History
- All versions
📄️ Support and Contact
- Website