iws_experiments 1.0.0
iws_experiments: ^1.0.0 copied to clipboard
A Flutter package for managing A/B testing and feature experiments with pre-built UI components and API integration.
1.0.0 #
- Update dependencies (
iws_http: ^1.1.1,iws_device_info: ^2.0.0). - Lifecycle & Stability Fixes:
- Prevent
setStateafter dispose inExperimentListTilewithmountedcheck. - Implement
didUpdateWidgetinExperimentListto reactively handleuserIdentifierupdates.
- Prevent
- Architecture:
- Add
IwsExperiments.initialize(...)for runtime configuration of API key, authority, and base path. - Add feature flag evaluation helper
isFeatureEnabled()andgetExperiment().
- Add
- Typed Domain Exceptions:
- Introduce
IwsExperimentsException,IwsApiKeyMissingException,IwsApiException, andIwsNetworkException.
- Introduce
- UI & UX Improvements:
- Add smooth optimistic updates in
ExperimentListeliminating full-screen reload flicker. - Add
RefreshIndicator(pull-to-refresh) and interactive "Reintentar" (retry) button on network error. - Add Dark Mode theming support with dynamic colors and contrasting typography.
- Add custom builders (
loadingBuilder,errorBuilder,emptyBuilder) and configurable labels.
- Add smooth optimistic updates in
0.0.1 #
- Initial release
- Experiment fetching and management functionality
- User participation toggling in experiments
- Pre-built UI widgets:
ExperimentListandExperimentListTile - Integration with IWS HTTP and Device Info packages
- Type-safe experiment models with JSON serialization
- API key configuration support via environment variables
- Device information tracking for experiments