tenlixor 1.0.4
tenlixor: ^1.0.4 copied to clipboard
Flutter SDK for Tenlixor localization platform with SharedPreferences support for offline translations.
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.4 - 2026-03-13 #
Fixed #
- CRITICAL: Corrected API endpoint from
/strings/resourcesto/strings?language_code=X - CRITICAL: Fixed authentication header from
Authorization: BearertoX-API-Key - CRITICAL: Updated API response structure to match backend (languages array with resources)
- Aligned with TypeScript and React Native SDK implementations
- Fixed response parsing and data merging logic
1.0.3 - 2026-03-13 #
Fixed #
- Fixed const constructor issues for Dart 2.19 compatibility
- Replaced FilledButton.tonal with ElevatedButton for wider Flutter version support
- Fixed const Column in loading widgets
1.0.2 - 2026-03-12 #
Fixed #
- Changed
httpdependency from^1.1.0to^0.13.0for Dart 2.19+ compatibility - Changed
shared_preferencesdependency from^2.2.0to^2.0.0 - Now fully compatible with Zapp.run and older Dart/Flutter versions
1.0.1 - 2026-03-12 #
Fixed #
- Lowered Dart SDK requirement from
>=3.0.0to>=2.17.0for better compatibility - Now compatible with Zapp.run and older Dart/Flutter versions
1.0.0 - 2026-03-12 #
Added #
- Initial release of Flutter SDK
- SharedPreferences support for persistent storage
- ChangeNotifier integration for state management
- Event stream for SDK events (loaded, languageChanged, error)
- Automatic cache management with configurable TTL
- Offline support with storage fallback
- Full type safety with Dart
- Support for multiple languages
- Fallback language support
- Background data refresh
- iOS and Android support
Features #
Tenlixorclass with ChangeNotifier for state managementt()method for translationssetLanguage()for language switchinginit()for SDK initializationreload()for refreshing translationsclearStorage()for cache management- Event stream for monitoring SDK events
- SharedPreferences adapter for persistent storage
- Configurable cache TTL and storage keys