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() {});
URL: https://developer.atlassian.com/server/confluence/making-your-macro-render-in-confluence-mobile/

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?

2 Likes