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:

  1. Download the code of your Javascript block as a zip file.

  2. Disable the existing Javascript block in your app.

  3. Click the Publish/Update button and choose to publish your app via the new publishing flow. Your app will now be migrated automatically.

  4. Open the Content page and add the new Javascript block to your app and configure it.

  5. Make some changes to adapt the Javascript code from your old Javascript zip.file to the new Javascript block.

  6. 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