SmartThings Community

State variable for child app?

I’m trying to create a state variable for a child App instance. Tried too use state object but found that it’s shared among all the child app’s instances.
Any idea how can I create in my SmartApp a state variable Per child app instance?