Skip to content

Commit

Permalink
Merge pull request #1156 from louisg1337/revert_work_profile_fix
Browse files Browse the repository at this point in the history
Reverted back temporary work profile fix
  • Loading branch information
shankari authored May 19, 2024
2 parents 5cf38a6 + a8000c4 commit 1f5ae90
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package.cordovabuild.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
6 changes: 1 addition & 5 deletions www/js/usePermissionStatus.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit 1f5ae90

Please sign in to comment.