Extension Not Updating in Companion After Upgrade Without Reloading Website

I'm developing a custom extension for MIT App Inventor. When I upgrade the extension (e.g., by rebuilding and importing the newer .aix file), the Companion app doesn't seem to use the updated version immediately. Even if I refresh the Companion screen or disconnect and reconnect, it still behaves as if the older version of the extension is being used. The new version only takes effect if I reload the App Inventor website and then reconnect the Companion. I am using nb201.

Why does this happen? Is there a way to force the Companion to recognize the updated extension without reloading the entire App Inventor site every time?

Any insights or workarounds would be appreciated. Thanks!

Best practice is to load new extension to Appinventor and restart the companion app. This works for most extensions but sometimes a complete refresh of the Appinventor app is also required before restarting the companion.

3 Likes