customfit_ai_flutter_sdk 0.1.3 copy "customfit_ai_flutter_sdk: ^0.1.3" to clipboard
customfit_ai_flutter_sdk: ^0.1.3 copied to clipboard

Flutter SDK for CustomFit.ai feature flags, A/B testing, and analytics. Real-time config updates with offline support and cross-platform compatibility.

Changelog #

0.1.2 Validation Simplification #

Breaking Changes #

  • Removed strict InputValidator that was blocking legitimate event names and properties
  • Simplified validation to only check for empty strings, allowing all valid use cases

Improvements #

  • Event tracking now accepts any event names (e.g., flutter_screen_navigation, user_button_click)
  • Property keys and values have minimal validation, improving developer experience
  • Removed overly restrictive security patterns that caused false positives
  • Better performance due to reduced validation overhead

Bug Fixes #

  • Fixed issue where legitimate event names containing common words were rejected
  • Resolved validation errors for standard naming conventions with underscores
  • Eliminated false positive security warnings for normal application events

0.1.1 Bug Fixes and Improvements #

Improvements #

  • Enhanced dependency injection with SimpleServiceFactory
  • Improved connection management and network handling
  • Better error handling and client initialization
  • Optimized SDK configuration management
  • Enhanced test coverage and reliability
  • Code cleanup and performance optimizations

Bug Fixes #

  • Fixed meta dependency constraint for pub.flutter-io.cn compatibility
  • Resolved client initialization edge cases
  • Improved connection status monitoring
  • Enhanced listener management reliability

0.1.0 Initial Release #

Features #

  • Feature flag management (boolean, string, number, JSON)
  • Event tracking and analytics
  • User context management
  • Real-time configuration updates
  • Offline support with caching
  • Session management
  • Network connectivity monitoring
  • Cross-platform support (iOS, Android, Web, Desktop)

API #

  • CFClient.initialize() - Initialize SDK
  • CFClient.getInstance() - Get singleton instance
  • getBoolean(), getString(), getNumber(), getJson() - Get feature flags
  • trackEvent() - Track custom events
  • addFlagListener() - Listen for flag changes
  • CFUser.builder() - Build user context with properties
  • CFConfig - Configuration with development/production profiles

Platform Support #

  • Flutter 3.0.0+
  • Dart 3.2.3+
  • iOS 12.0+
  • Android API 21+
0
likes
135
points
52
downloads

Publisher

unverified uploader

Weekly Downloads

Flutter SDK for CustomFit.ai feature flags, A/B testing, and analytics. Real-time config updates with offline support and cross-platform compatibility.

Homepage
Repository (GitHub)
View/report issues
Contributing

Topics

#feature-flags #ab-testing #analytics #configuration #remote-config

Documentation

Documentation
API reference

License

MIT (license)

Dependencies

battery_plus, connectivity_plus, crypto, dart_jsonwebtoken, device_info_plus, dio, flutter, flutter_secure_storage, http, intl, json_annotation, meta, package_info_plus, path_provider, shared_preferences, synchronized, uuid

More

Packages that depend on customfit_ai_flutter_sdk