Taxel
Taxel

Reputation: 4207

Meteor: Hot Code Push broken on Android in production

Edit: It works on iOS, the problem is therefore limited to Android.

I just found out, that in my Meteor production app, Hot Code Push is broken. I don't know when it started to occur, but here are the facts (in no particular order):

This suggests that some kind of :status header is missing for the asset manifest. How can I fix this?

Upvotes: 1

Views: 423

Answers (1)

wildhart
wildhart

Reputation: 449

I had this exact same problem with the same console error logs. Using Meteor 1.6.1 and mup 1.4.3. In the end I fixed it by upgrading the cordova-plugin-meteor-webapp with:

meteor add cordova:[email protected]

and then redeploying. Then hot code push worked on Android!

Edit: To give more background - I think the problem is caused by a problem with okhttp and HTTP/2 on certain version of nginx. See this question. The updated cordova-plugin-meteor-webapp plugin uses a newer version of okhttp.

Upvotes: 0

Related Questions