Skip to content
This repository has been archived by the owner on Oct 1, 2018. It is now read-only.

assests installation and removal #191

Closed
cordovapolymer opened this issue Jul 29, 2016 · 5 comments
Closed

assests installation and removal #191

cordovapolymer opened this issue Jul 29, 2016 · 5 comments

Comments

@cordovapolymer
Copy link

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
#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).
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
  • Platform: Android
  • Platform version:6.x
  • Cordova version:6.x
  • Node version:5.11
@nikDemyankov
Copy link
Member

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:

  • The bundled one. Can't be removed.
  • The latest one: installed from the last update and displayed to the user. Needs to be there, since this is our working dir.
  • The previous one as a backup. Theoretically, can be ignored. But no API for that at the moment.

@cordovapolymer
Copy link
Author

cordovapolymer commented Aug 10, 2016

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
Copy link
Author

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
Copy link
Member

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

@nordnet-deprecation-bot
Copy link
Contributor

👋 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.

@nordnet nordnet locked and limited conversation to collaborators Sep 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants