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

update installs, but fails to immediately refresh (on ios only) #331

Closed
oren-gershoni opened this issue Jan 2, 2018 · 5 comments
Closed

Comments

@oren-gershoni
Copy link

Problem

On android everything works perfectly , update is downloaded,installed and app is refreshed with new code

on ios the update is downloaded, installed , but the app refersh fails (manually closing and opening the app shows the new update)

events i get in order:
1 . "chcp_beforeInstall"
2. "chcp_updateInstalled"
3. an error:
"Failed to load resource: The operation couldn't be completed. (kCFErrorDomainCFNetwork error 1.)"

how can i investigate this further? , any suggestions would be greatly appreciated

System info
  • Platform: iOS / Android
  • Platform version:4.5.0
  • Cordova version: 7.0.1
  • Node version: v6.9.5

i am using cordova wkwebview if its relevant.

@oren-gershoni oren-gershoni changed the title update installs but fails to immediately refresh (on ios only) update installs, but fails to immediately refresh (on ios only) Jan 2, 2018
@vouillon
Copy link

Omitting commit c6d1e6f seems to fix this issue for some reason.

@corysimmons
Copy link

Can confirm. Broken on iOS.

@vouillon I cloned and did a git revert on that commit but just get unhandled Promise rejections when I try to cordova run ios.

@artuska
Copy link

artuska commented Apr 26, 2018

+1

KristoferGoransson added a commit to Jojnts/cordova-hot-code-push that referenced this issue Jul 2, 2018
See: nordnet#331

----

Revert "Refactoring PR nordnet#296"

This reverts commit c6d1e6f.
KristoferGoransson added a commit to Jojnts/cordova-hot-code-push that referenced this issue Jul 2, 2018
See: nordnet#331

----

Revert "Refactoring PR nordnet#296"

This reverts commit c6d1e6f.
@liangwenzhong
Copy link

any solution ?

@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.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants