diff --git a/packages/app/capacitor.config.json b/packages/app/capacitor.config.json index 9d37bc2a..37dea625 100755 --- a/packages/app/capacitor.config.json +++ b/packages/app/capacitor.config.json @@ -6,7 +6,8 @@ "webDir": "dist", "plugins": { "CapacitorUpdater": { - "updateUrl": "https://api.comty.app/auto-update/mobile" + "updateUrl": "https://api.comty.app/auto-update/mobile", + "resetWhenUpdate": true } } } \ No newline at end of file diff --git a/packages/app/package.json b/packages/app/package.json index 51383bb8..fe6c1989 100755 --- a/packages/app/package.json +++ b/packages/app/package.json @@ -32,7 +32,7 @@ "@capacitor/push-notifications": "1.0.9", "@capacitor/status-bar": "1.0.7", "@capacitor/storage": "1.2.4", - "@capgo/capacitor-updater": "^4.12.8", + "@capgo/capacitor-updater": "^5.0.1", "@corenode/utils": "0.28.26", "@dnd-kit/core": "^6.0.8", "@dnd-kit/sortable": "^7.0.2", @@ -44,8 +44,6 @@ "@mui/material": "^5.11.9", "@paciolan/remote-component": "^2.13.0", "@tsmx/human-readable": "^1.0.7", - "react": "^16.8.6", - "react-dom": "^16.8.6", "antd": "^5.2.1", "antd-mobile": "^5.0.0-rc.17", "axios": "^1.4.0", @@ -85,10 +83,12 @@ "rc-animate": "^3.1.1", "rc-util": "^5.19.3", "rc-virtual-list": "^3.4.4", + "react": "^16.8.6", "react-beautiful-dnd": "^13.1.1", "react-color": "2.19.3", "react-contexify": "5.0.0", "react-countup": "^6.4.1", + "react-dom": "^16.8.6", "react-draggable": "4.4.4", "react-fast-marquee": "^1.3.5", "react-helmet": "6.1.0", @@ -178,4 +178,4 @@ ] } } -} \ No newline at end of file +}