I am developing an app extension to install the chat widget. I am using the scriptTagAPI to inject the theme that was dynamically created. I just submit my app to Shopify and they suggest using the theme-app extension. I am looking for a way to pass the dynamic variables to the script while users select a chat widget from the list.
If I put this inside the app extension. I am not able to pass the variable. Any help would be appreciated.
Not sure if you are using the embedded variation or the section one (sorry, not too familiar with the correct names I guess, haven't been working with this framework for long) but I am using the embedded one (this probably will work either way come to think of it) and so you have those two liquid files where you make the schema block, which basically defines your settings for the extension.