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: 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?