I have developed app with 3 type of extension - theme, checkout UI, and function and I want to set Variable at app level and use it in all extension. So how can i do this?
There is no way to set a variable at the app level.
Instead, I recommend using a metafield.
You can access the metafield in the theme, checkout UI, and function.