Meteor build for android does not update client

Changing client scripts on the server is not updated in the Android app. The meteor server is configured to run in development mode. Browsers update as always. Android application with built-in client scripts not updating?

+3


source to share


2 answers


I had the same problem and tried to change the version number in the mobile-config.js file. but it didn't trigger an update.

App.info({ "id": "your.app.id", "version": "0.0.1", "name": "your app name" });

so i installed adb

after installing adb you can do

adb uninstall your_app_id meteor run android-device



and refreshing it again. Adb removes the app on your device.

I also created an alias because I need it often.

alias mrad="adb uninstall your_app_id && meteor run android-device"

I think it is important to run this command that you define the id in the mobile-config.js file in the root folder of the meteor project as above.

+1


source


meteor says, "Every time a mobile app client sees a new version" .... So changing the code is not enough, you need to change the "version" to update.



0


source







All Articles