feat: SDA-2559: clean app cache on install & crash (#1091)

* SDA-2559: clean app cache on install

- Clean app cache on a fresh install of SDA to avoid upgradation problems
- Clean app cache and restart SDA when it crashes or is unresponsive

* SDA-2559: fix failing unit test

* SDA-2559: add dialog before restarting the app

* SDA-2559: add translations

* SDA-2559: fix failing unit tests and refactor code
This commit is contained in:
Vishwas Shashidhar
2020-10-14 17:28:28 +05:30
committed by GitHub
parent c13a6a16ad
commit e3720c22f6
12 changed files with 185 additions and 65 deletions

View File

@@ -118,6 +118,7 @@
"@types/react": "16.8.3",
"@types/react-dom": "16.0.9",
"@types/ref-napi": "1.4.0",
"@types/rimraf": "^3.0.0",
"ava": "2.4.0",
"browserify": "16.5.1",
"cross-env": "5.2.0",
@@ -161,6 +162,7 @@
"react": "16.13.0",
"react-dom": "16.13.0",
"ref-napi": "1.4.3",
"rimraf": "^3.0.2",
"shell-path": "2.1.0"
},
"optionalDependencies": {