diff --git a/package.cordovabuild.json b/package.cordovabuild.json index c1317a782..d84baa02c 100644 --- a/package.cordovabuild.json +++ b/package.cordovabuild.json @@ -121,7 +121,7 @@ "cordova-plugin-app-version": "0.1.14", "cordova-plugin-customurlscheme": "5.0.2", "cordova-plugin-device": "2.1.0", - "cordova-plugin-em-datacollection": "git+https://github.com/e-mission/e-mission-data-collection.git#v1.8.5", + "cordova-plugin-em-datacollection": "git+https://github.com/e-mission/e-mission-data-collection.git#v1.8.7", "cordova-plugin-em-opcodeauth": "git+https://github.com/e-mission/cordova-jwt-auth.git#v1.7.2", "cordova-plugin-em-server-communication": "git+https://github.com/e-mission/cordova-server-communication.git#v1.2.6", "cordova-plugin-em-serversync": "git+https://github.com/e-mission/cordova-server-sync.git#v1.3.2", diff --git a/www/js/usePermissionStatus.ts b/www/js/usePermissionStatus.ts index 81c4abf54..f8fef085b 100644 --- a/www/js/usePermissionStatus.ts +++ b/www/js/usePermissionStatus.ts @@ -407,11 +407,7 @@ const usePermissionStatus = () => { refresh: checkBatteryOpt, }; let tempChecks = checkList; - if (appConfig.tracking?.bluetooth_only) { - tempChecks.push(ignoreBatteryOptCheck); - } else { - tempChecks.push(unusedAppsUnrestrictedCheck, ignoreBatteryOptCheck); - } + tempChecks.push(unusedAppsUnrestrictedCheck, ignoreBatteryOptCheck); setCheckList(tempChecks); }