Migrate from old Custom JS
Actions required for classic apps to start using the new JS block
Our new Flutter application is based on the newest 2022 technology. While rebuilding all of our blocks we realised that the current Custom Javascript block is based on design patterns which do not suit the modern way of writing javascript.
That's why we decided to make a new and improved Javascript block, using a new bridge for the communication between your Javascript code and the app itself.
Existing "Custom JS" block will need to be adjusted before they can work in your new app.
If you have a Javascript block in your app:
Download the code of your Javascript block as a zip file.
Disable the existing Javascript block in your app.
Click the Publish/Update button and choose to publish your app via the new publishing flow. Your app will now be migrated automatically.
Open the Content page and add the new Javascript block to your app and configure it.
Make some changes to adapt the Javascript code from your old Javascript zip.file to the new Javascript block.
Publish your app via the new publishing flow.
We have written technical documentation to explain to you how build new Javascript blocks using the new MyJSBlock SDK . Read more....
Last updated