Public App can't return session when app installed

Im created Shopify app in remix template , and i want to access session Or store data when app is installed in my local machine.

before public distribution my app is returning session data from shopify.server.js file →

afterAuth: {} ,but when i change distribution to public it cant return anything.

currently my app in partner dashboard is in draft mode , does it make sense?

can you please help me to solve this issue.