I built an app with 2 extensions, one of them is saving data (app setup details) at Storage API but the second extensión seems not having access to this data.
Would be great if extensions at same app could share Storage API data.
I built an app with 2 extensions, one of them is saving data (app setup details) at Storage API but the second extensión seems not having access to this data.
Would be great if extensions at same app could share Storage API data.
Hi,
Great observation: It’s correct that the Storage API is keyed by extension. You can have multiple unique targets in a single extension, so, depending on how your extensions are set up, you may be able to combine them into a single extension with different targets, and those will be able to share data via the Storage API.
For example, if you have a tile/modal as one extension and an order details block/action as another extension, those could be combined into a single extension that could share data via the Storage API.
Thanks for your report!
Hi, I would like to have 2 Tile sharing the same variables. That’s why I need to share the storage api. Another solution could be being able to create more than 1 Tile in same extension.