fix(mobile): temp removed the autodownload as its causing issues
This commit is contained in:
@@ -65,7 +65,7 @@ export const versionCheck = async () => {
|
|||||||
const build = Constants.expoConfig?.android?.versionCode ?? 1;
|
const build = Constants.expoConfig?.android?.versionCode ?? 1;
|
||||||
|
|
||||||
if (build < res.data.versionCode) {
|
if (build < res.data.versionCode) {
|
||||||
await downloadLatestApk(serverIp, port);
|
//await downloadLatestApk(serverIp, port);
|
||||||
}
|
}
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.log("Version check error:", error);
|
console.log("Version check error:", error);
|
||||||
|
|||||||
Reference in New Issue
Block a user