since few days i have some problem with meteorjs and mobile build. The problem occurs with 3 differents apps.
I build the application with np scripting and this kind
Ok, so i finally understood my errors : MeteorJs is a full platform, and one app can be used to build cordova app, web site, and server. When you build an app that has an android platform, you have to specify the --server parameter with the full uri of the server that will be used for DDP and cache application (--server=http://youServerIp:Port) Then when you run your server, you must not forget to specify the mobile-server params because it will be used to configure the Cordova app when a new version of the application will be served to the smartphone (--mobile-server http://yourServerIp:Port)
Take care at one thing : * for the build there is the sign "=" like this --server=http://youServerIp:Port * whereas when you run your server there is no sign like this --mobile-server http://yourServer:Port
In my case the build was good, which explain why at the first run of the app i had a connection to the server So it was the server that was misconfigured because i never pass the mobile-server params. So when the server send the new version, it didn't send the server uri so the cordova app just consider that it was a client only application. And so when the app refreshed, it only connectes to it-self.
I have now modified my boilerpate to fix my start.sh scripts