How to refresh to get latest version of widget in mobile app?

The solution is to version your widgets. I had the same problem. I wrote a script to generate a new widget version each time I publish the code to production. The widget version gets appended to the uri for each widget, making it unique. So when you hit refresh inside the android app, it’s getting the meta data (list tools) and because the uri is different, it’s forced to get the new (updated) widget. I will post some screen shots.

1 Like