I am coming from other game engines and used to handle resolution scaling once and not worrying it for ever again. My implementation includes to stretch the set resolution (for example 320x180) by hole factor for given display space and cover remaining area with black bars.
This implementation works perfectly for most of the times but I do not know how to implement it in Defold in default ways. Is there a way or a custom implementation out there that can be done easily. I must also mention that it must work with camera component.