nordnet / cordova-hot-code-push

[DEPRECATED] - This plugin provides functionality to perform automatic updates of the web based content in your application.
https://github.com/nordnet/cordova-hot-code-push/issues/371
MIT License
979 stars 467 forks source link

assests installation and removal #191

Closed cordovapolymer closed 6 years ago

cordovapolymer commented 8 years ago
Problem

I'm using cordova-hot-code-push in my Polymer 1.x based project. As I'm currently debugging the project so I deploy non vulcanized files, total 121.24MB in 4106 files.

1.) It takes quite long time till the assets are installed so I see the message ASSETS_FOLDER_IN_NOT_YET_INSTALLED quite often, and if you will remove it as you stated in https://github.com/nordnet/cordova-hot-code-push/issues/161#issuecomment-230724698 , it would be quite confusing why the update doesn't start for the new users (as it by itself was for me, till I have realized that copy operation takes a long time). 2.) After several updates app starts to use too much space, is there a way to request old updates deletion after installing new?

System info
nikDemyankov commented 8 years ago

1.) It takes quite long time till the assets are installed so I see the message ASSETS_FOLDER_IN_NOT_YET_INSTALLED quite often, and if you will remove it as you stated in

161 (comment) , it would be quite confusing why the update doesn't start for the new users (as it by itself was for me, till I have realized that copy operation takes a long time).

You are probably right. I might leave it, but still want to store the request and execute it when assets installation is done.

2.) After several updates app starts to use too much space, is there a way to request old updates deletion after installing new?

During the lifetime app stores 3 copies of www folder:

cordovapolymer commented 8 years ago

You are probably right. I might leave it, but still want to store the request and execute it when assets installation is done.

I agree, it will be the best solution, I have expected such behavior when have been doing my initial hot-code-push tests.

cordovapolymer commented 8 years ago

The previous one as a backup. Theoretically, can be ignored. But no API for that at the moment.

It would be great to have an API to manage backups and recovery.

nikDemyankov commented 8 years ago

You are probably right. It would be nice to have some way to control it, since not everyone need that.

nordnet-deprecation-bot commented 6 years ago

👋 Hi! Thank you for your interest in this repo.

đŸ˜ĸ We are not using nordnet/cordova-hot-code-push anymore, and we lack the manpower and the experience needed to maintain it. We are aware of the inconveniece that this may cause you. Feel free to use it as is, or create your own fork.

🔒 This will now be closed & locked.

ℹī¸ Please see #371 for more information.