How to fix errors causing my app to be delisted?

Thanks @bratsos For your response.

I have hard coded it as my application is in staging environment. Also i have seen that Shopify only provide the host in the first initial load only and later we have to save it in the database and retreivef from there right ?

Because currently i have the host paramter in my iframe url but when i debug it with console.log i get null values.

However one thing is clear that even if i hard code it, it is the same i get for my this store.
So the app should not get broken here.

My Dynamic Code : https://prnt.sc/SXQt8QGmUH2i
Null Output : https://prnt.sc/Jhb8M0kT1B16

However my hard-coded host is right for this store : https://prnt.sc/fFb3u3KDNbce

Please check on this and let me know, I am in talk with various other develoeprs and we are all stuck. If you check this github post, various Shopify partners are facing this issue.

https://github.com/Shopify/shopify-app-bridge/issues/160
Please check & guide me on this. I know the right practices & hard-coded ways, I have tried them all.