Macro javascript does not work on confluence android app

As per the confluence developer guide, we have followed the given steps on below URL to run custom macros on mobile devices :

ConfluenceMobile.contentEventAggregator.on(“displayed”, function() {});

Custom macro javascript works fine using mobile chrome browser but doesn’t seem to be working on the confluence server mobile app due to javascript code not getting executed.

Is there a way to execute the javascript files on the app using macros?


Dealing at the moment with the same issue. Did you find something out in the meantime?