I have been investigating this for hours without success:
My app is deployed on Heroku and works well in browsers.
Then I run it on iOS with:
meteor run ios-device --mobile-server https://<url>
It load and after a few seconds, HCP refreshes the pages and the app loses the connection with the server and I’m now connected to a different host (local).
I have tried:
-setting environement variables on the server (ROOT_URL, DDP_DEFAULT_CONNECTION_URL, MOBILE_DDP_URL)
-removing/adding ios platform
-deleting build folders before building
Any idea on how to debug that?
Thanks a lot