To create a widget for an iOS 14 app, you need to create a Widget Extension that you create with SwiftUI. In Apple’s demos, they show you how to add an extension to an existing iOS app through Xcode.
As far as I know, this wouldn’t be possible to do when making a bundle using Defold, since you build directly to an .app file and skip Xcode entirely. Is there something I’m missing that I can use to add a widget extension to a Defold game, or should this be a feature request of some kind?