Joe Fabisevich :verified: on Nostr: npub1a8xjg…j0tpt It's not Boutique-specific but you'll need to use the App Groups ...
npub1a8xjgnd5rpnnp3z374hkwcv8pteuusv2r5nzqup6esnzxkqxl93sxj0tpt (npub1a8x…0tpt) It's not Boutique-specific but you'll need to use the App Groups feature and create a StorageEngine that's accessible in your main target and your widget. Boutique (technically Bodega) provides a `sharedContainer(forAppGroupIdentifier identifier: String, appendingPath: String) -> FileManager.Directory` function which creates a StorageEngine that is accessible between your main target and other targets, such as widgets.
You can find some docs about it here. 😄 https://mergesort.github.io/Bodega/documentation/bodega/using-storageengines
You can find some docs about it here. 😄 https://mergesort.github.io/Bodega/documentation/bodega/using-storageengines