mobiqo_flutter 1.0.0
mobiqo_flutter: ^1.0.0 copied to clipboard
Mobiqo SDK for Flutter. Integrate with Mobiqo for user analytics, predictions, and insights.
Changelog #
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
1.0.0 - 2025-12-06 #
Added #
- MAJOR RELEASE: First stable production release of Mobiqo Flutter SDK
- Added
AdditionalDataclass for structured user data with fields:userId: Optional user identifieruserName: Optional user display nameuserEmail: Optional user email addressreferrer: Optional referrer/source tracking
- Added
updateUser()method to update user information without creating a new session - Added
additionalDataparameter tosyncUser()method for passing structured user data - Enhanced API requests to include
personal_datafield with user information - Comprehensive documentation for all public methods and classes
Changed #
syncUser()now accepts typedAdditionalDataparameter instead of genericMap<String, dynamic>syncUser()API request now includesproject_idin the request body for consistencyupdateUser()API request includesproject_idfor proper server-side validation- Improved type safety across all user-related operations
- Enhanced error handling in
updateUser()method - Updated README with detailed examples of new features and correct class usage
Fixed #
- Corrected code examples to use proper
AdditionalDataclass - Updated all examples to reflect actual class structure
Documentation #
- Updated README with
updateUser()method usage examples - Added
AdditionalDataclass documentation - Corrected all examples to use proper field names matching the Dart classes
- Enhanced method documentation with clearer parameter descriptions
0.0.10 #
0.0.9 #
Added #
- Added
groupattribute toAppUserclass for A/B testing support (values: 'red' or 'blue') - Added device model tracking - now automatically captured and sent with
syncUser()requests - Optional support for
device_info_pluspackage to get actual hardware identifiers (e.g., "iPhone13,2", "SM-G991B") - Fallback to Platform API when device_info_plus is not installed
Changed #
- PERFORMANCE IMPROVEMENT: Heartbeat interval reduced from 30 seconds to 20 seconds for better session accuracy
- Updated
syncUser()method to include device model in API requests
Notes #
- For best device model detection, install:
flutter pub add device_info_plus - Works without device_info_plus but provides less detailed information
0.0.8 #
Added #
- Added
includeAdvancedAnalysisparameter tosyncUser()method - Added
includeAdvancedAnalysisparameter togetUserInfo()method - Enhanced API requests to support advanced analysis options (purchase probability and other data)
Changed #
- BREAKING CHANGE: Renamed
purchaseProbabilitytopurchaseIntentin Statistics class - Updated method signatures for
syncUser()andgetUserInfo()to include optional advanced analysis parameter - Improved documentation with examples of advanced analysis usage
0.0.6 2025-06-XX #
Changed #
- BREAKING CHANGE: Renamed
EventTypeenum toMobiqoEvent - Updated all imports from
EventTypetoMobiqoEvent - Updated extension name from
EventTypeExtensiontoMobiqoEventExtension - Updated all usage examples and documentation to use
MobiqoEvent
Migration Guide #
If you're upgrading from a previous version:
- Change all imports from
EventTypetoMobiqoEvent - Update all usage in your code from
EventType.xxxtoMobiqoEvent.xxx
// Before
await mobiqo.trackEvent('button_pressed', EventType.click);
// After
await mobiqo.trackEvent('button_pressed', MobiqoEvent.click);
0.0.5 2025-06-XX #
Added #
- Initial release of Mobiqo Flutter SDK
- User identification and session tracking with
syncUser()method - Custom event tracking with
trackEvent()method - Automatic heartbeat for session management (every 30 seconds)
- User analytics and predictions retrieval with
getUserInfo()method - Support for additional metadata in user sync and event tracking
- Comprehensive data models for user information and statistics
- Built-in error handling and logging
- SharedPreferences integration for session persistence
Features #
- User Management: Sync users with RevenueCat IDs and additional metadata
- Event Tracking: Track user interactions with predefined event types
- Session Management: Automatic session tracking with heartbeat functionality
- Analytics: Retrieve user statistics including purchase probability, LTV, and ARPU
- Error Handling: Graceful error handling with informative logging
Dependencies #
- Flutter SDK 1.17.0+
- Dart SDK 2.12.0+ (null safety)
- http ^1.1.0
- shared_preferences ^2.2.2