Why Nostr? What is Njump?
2024-03-21 20:14:11
in reply to

Joe Fabisevich :verified: on Nostr: npub1a8xjg…j0tpt It's not Boutique-specific but you'll need to use the App Groups ...

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