I am trying to make a very simple static content macro and use it from the Confluence Cloud mobile app. When I am trying to display it from the Laptop everything works fine but not from the mobile.
It seems I am missing something important.
I read that documentation Make your app compatible with the Confluence Server mobile app but it seems it’s only for the Server.
"staticContentMacros": [
{
"url": "/test-box-mobile?contentId={content.id}&pageVersion={content.version}&curSpaceKey={space.key}&outputType={output.type}",
"description": {
"value": "Test Box"
},
"icon": {
"width": 16,
"height": 16,
"url": "/img/qc-rnu-logo.png"
},
"categories": ["confluence-content", "reporting", "administration"],
"outputType": "block",
"bodyType": "none",
"aliases": ["test box"],
"name": {
"value": "Test box for Mobile"
},
"key": "test-signature-box-mobile"
}
],
// Signature box macro
app.get('/test-box-mobile', addon.authenticate(), function (req, res, next) {
return res.render('test_box_mobile');
});
<div>
<h2>This is a Static Content Macro</h2>
<p>This is some static content displayed within a Confluence macro.</p>
<ul>
<li>Item 1</li>
<li>Item 2</li>
<li>Item 3</li>
</ul>
</div>
I click on it and stays there, also I can’t see any log locally.
Thanks