Build iOS app for production Where should --server <host>:<port> point?

Hello, I can’t get my head around…
Where should <host>:<port> point? What server should I have to build an iOS app? Should I deploy my app to Galaxy first?

You’ll probably want to use a custom domain for your app, so just use --server yourdomain.com when building mobile app. The default port is 80, if you want to use another just append :your_port to the domain name.

Thanks. But what if I don’t want my app to be reachable from the www?

You don’t have to build any routing or templates for the web. You can even wrap your routes in if (Meteor.isCordova) { ... } block so they are not deployed on your server.

1 Like

Thanks for the (Meteor.isCordova) { ... } suggestion!