How to connect a test app running on mobile with a server on Cloud?

I deploy my client app to iPhone and the app is communicating with the server through WiFi, in a primitive way. I want to deploy the app on the cloud let’s say Heroku. Which configurations do I need to do to enable my client app on iOS device to communicate with the server app on let’s say https://mytest.herokuapp.com ?

When you do the build, you need to specify the new location in the --server parameter of the meteor build command

meteor build ../build-location --server=https://new-url-access.com
1 Like