- A Flutter package that leverages
json_dynamic_widgetto dynamically render pages from JSON data. This package fetches all the pages from a server when the app launches and provides a function to get a specific page by its name. It also caches the fetched data usingSharedPreferences.
- Included required API response format.
- Added
RenderPagewidget to dynamically render JSON data with support for loading indicators and error handling.
- Bug fix - resolved conflicts by multiple registry creation.
- Introduced versioning system to minimize unnecessary API requests.
- Added version check before fetching pages, comparing local and server
versionConfig.json. - Updated Express API route for serving
versionConfig.json. - Optimized caching using
SharedPreferencesto store versioning data and page responses.
- Bug fix - resolved issue in getting page from cache.
- Bug fix - can use
x.x.xversioning format inversionConfig.json.
- Added support for version-mapping based on appVersion.
- Enhanced versioning flow by using
version-mappingendpoint to fetch version-specific folder names for page fetching. - Updated API routes to fetch pages based on folder names tied to app versions.
- Bug fix - resolved issue in fetching version-mapping on some servers.
- Added support for folder-based page fetching using directory structure to improve scalability.
- Optimized JSON parsing and caching logic for large datasets.
- Bug fix - resolved issue in fetching pages while there is no local versioning