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.