New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[1.3.x] [cordova/android] revert to last good known version always reverts to initial bundle #7241
Comments
Ah, this is an inconsistent between docs and code (or between platforms). So the best fix might be fixing that |
Well there should be just |
Is there any updates on this issue ? @wojtkowiak |
@wilau2 I would be happy to fix but I do not have time to struggle (meteor/cordova-plugin-meteor-webapp#8) with running the tests. If somebody - maybe @martijnwalraven could give me hints on how to run them - then I can do a PR. |
@wojtkowiak We made the change locally in our project and push a new version of our app on the playstore hot code push now seems to work on android on the newest version of the app. This is an important issue that should not be taken lightly for application in production. |
Also made the change locally can also confirm, appears to fix the revert to initial on android. |
Submitted a PR with the change, seems like something which is easy to reason about considering the comments and the logic in the swift code. Should be a really easy merge decision. meteor/cordova-plugin-meteor-webapp#14 |
Closing, since this was fixed here meteor/cordova-plugin-meteor-webapp#14 |
This happnes on my METEOR@1.10.2 App. |
Please open a new issue if that is the case. |
There should be
else
I guess:https://github.com/meteor/cordova-plugin-meteor-webapp/blob/master/src/android/WebAppLocalServer.java#L324
iOS
version to compare:https://github.com/meteor/cordova-plugin-meteor-webapp/blob/master/src/ios/WebAppLocalServer.swift#L297
Also it seems that no test case covers this, however I was not able to run the tests at all, some quick note about how to run them would be useful meteor/cordova-plugin-meteor-webapp#8
If you need repro, let me know.
The text was updated successfully, but these errors were encountered: