What is Nostr?
Joe Fabisevich :verified: /
npub1dqt…hntt
2024-03-21 20:14:11
in reply to nevent1q…8jvc

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
Author Public Key
npub1dqte78guluz0g6agaf8h070aqplzdq3d44hrcz6swfnmnaq9md0qnuhntt