pandino_client_sdk 0.1.7
pandino_client_sdk: ^0.1.7 copied to clipboard
Flutter SDK for Pandino event-based email marketing automation.
Pandino Client SDK #
Pandino Client SDK is a Flutter package for integrating event-based email marketing automation into your Flutter applications.
Getting Started #
To start using the Pandino Client SDK, follow these steps:
Installation #
Add the following to your pubspec.yaml
:
dependencies:
pandino_client_sdk: ^0.1.0
Then, run flutter pub get
to install the package.
Usage #
Here's a basic example of how to use the Pandino Client SDK:
import 'package:pandino_client_sdk/pandino_client_sdk.dart';
void main() async {
// Initialize the SDK
final sdk = await PandinoClientSDK.create(publicKey: 'your_public_key');
// Identify a user
await sdk.identify("user_id");
// Update user information
await sdk.updateUser({
'name': "test",
'email': "test@sinaptik.ai",
'address': "....."
});
// Track an event
await sdk.track(eventName: 'button_click', properties: {'button_name': 'subscribe'});
// Reset SDK on logout
await sdk.reset();
print('SDK operations completed.');
}
Features #
- User Identification: Identify users to personalize their experience.
- Event Tracking: Track user interactions and events within your app.
- Auto Page View Tracking: Automatically track page views if enabled.
License #
This project is licensed under the MIT License - see the LICENSE file for details.
Contribution #
Feel free to contribute to this project by submitting issues or pull requests.
Support #
For any questions or support, please contact support@pandino.ai.