tenlixor 1.0.4 copy "tenlixor: ^1.0.4" to clipboard
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/resources to /strings?language_code=X
  • CRITICAL: Fixed authentication header from Authorization: Bearer to X-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 http dependency from ^1.1.0 to ^0.13.0 for Dart 2.19+ compatibility
  • Changed shared_preferences dependency from ^2.2.0 to ^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.0 to >=2.17.0 for 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 #

  • Tenlixor class with ChangeNotifier for state management
  • t() method for translations
  • setLanguage() for language switching
  • init() for SDK initialization
  • reload() for refreshing translations
  • clearStorage() for cache management
  • Event stream for monitoring SDK events
  • SharedPreferences adapter for persistent storage
  • Configurable cache TTL and storage keys
0
likes
150
points
46
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Flutter SDK for Tenlixor localization platform with SharedPreferences support for offline translations.

Homepage
Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

flutter, http, shared_preferences

More

Packages that depend on tenlixor