Why is the asset.listRenditions() function in AEM only returning Static renditions and not Dynamic renditions, even though I can confirm the presence of Dynamic renditions for the asset in the AEM Asset manager?
Asset Renditions: We are only getting Static Renditions and original rendition but not Dynamic.
From personal experience, you better create your own class to read the metadata properties to get the URLs you need.