I'm using launchpad to deploy my Meteor app to prod and I set an ENVAR METEOR_SETTINGS with the appropriate data. When I test from a browser I see the Meteor.settings is working as expected. However, when I use a Mobile Android client, I'm getting a white screen of death and it says Meteor.settings is undefined. I don't understand how that could be since it is clearly set on the server. My understand that the client should pull that from the server into the client. Do you have to do something extra with a mobile app?
Resolved by using --mobile-settings settings.json but it is really a function of not being able to successfully connect to /sockjs/info call on Meteor.startup() from Android only. That I'll address in the Meteor forums.
I'm using launchpad to deploy my Meteor app to prod and I set an ENVAR
METEOR_SETTINGS
with the appropriate data. When I test from a browser I see theMeteor.settings
is working as expected. However, when I use a Mobile Android client, I'm getting a white screen of death and it saysMeteor.settings
is undefined. I don't understand how that could be since it is clearly set on the server. My understand that the client should pull that from the server into the client. Do you have to do something extra with a mobile app?