Hi all,
A brand new version 5.1 will be available in the ToonStore shortly.
The application is heavily restructured, the old app had 2500 lines of code supporting all waste providers, while you only use one.
The new version downloads only the required javascript file for each individual provider.
This is also automatically done during the update of the app via the ToonStore.
Only when you change the provider manually in the config screen you will notice that the app will reboot after downloading the script for the new provider.
The config screen will only show the required input fields for the selected provider and hide all the others.
The old version 4.70 will not be maintained anymore, so I'm asking all users to update to this new app version.
Of course you are free to stay with the old version for now if you prefer.
I also implemented a version control mechanism for the individual scripts per provider.
The app will check once a day if there is a new version available for your provider and will change the background color of the tile to red if that is the case.
If you notice the red background color of the tile, go to the settings screen of the app which then will trigger the download and a restart of the gui to activate the updated script.
Other than this internal change, no new functionality has been added.
Provider prezero.nl has been added (provider "3").
The new setup of the app has the following benefits:
- Adding a new waste company or updating the script of a current one can now be done without the need for a new release of the app in the ToonStore.
The list with available providers will be refreshed from github daily or when you open the settings screen.
It is easier for me to add new providers of fix specific provider issues as we do not need a new version of the app anymore.
- 70% less javascript code in the app compared to version 4.x, which has a smaller memory footprint (especially relevant on the old Toons)
I also took the opportunity to cleanup the list with supported providers.
The following provider id's are no longer supported:
- suez.nl (old provider "13") has been bought by prezero.nl (choose provider "3")
- afvalstoffendienstkalender.nl (old provider "22") is now using mijnafvalwijzer.nl (choose provider "1")
- rd4Info.nl (old provider "28") is now using the new rd4info.nl (choose provider "17")
- mijnafvalwijzer.nl (old provider "31") is now using the new mijnafvalwijzer.nl (choose provider "1")
The full list of supported providers is listed in the attachment (also includes the required data input fields per provider and guidance when manual copy of config data is needed).
Thanks to Oepi-Loepi for some plugin code inspiration
Kind regardz,
Toonz