Hi
I have an issue, as i am testing a new device on our SOTI Mobicontrol platform.
The app, the deployment of packages and all is good, but when the app comes up asking for battery optimizations, the app just vanished and places itself in the background and then you would need to click the app again, so that it comes up asking for battery optimizations.
it's like you can just see the text box for 1-2sec with "disallow" and "allow" battery optimizations??
the device is in lockdown-mode in Android plus (classic).
This is the log from the device:
- 2020-12-08 13:43:05.681|main|D|AP|[net.soti.mobicontrol.lockdown.kiosk.v.b:62] Launch a package: my.app.something.production activity: |
- 2020-12-08 13:43:05.879|single-core-scheduled|D|AP|[BlacklistChecker][isBlocked] component: ComponentInfo{my.app.something.production/my.app.something.LoginActivity} is allowed settings component: true| this is me allowing the permissions on the device (i guess)
- 2020-12-08 13:43:07.220|single-core-scheduled|D|AP|[BlacklistChecker][isBlocked] component: ComponentInfo{com.android.settings/com.android.settings.fuelgauge.RequestIgnoreBatteryOptimizations} is allowed settings component: false| This part is the optimization
- 2020-12-08 13:43:07.221|single-core-scheduled|D|AP|[PollActivitiesTask][processTask] blocked: ComponentInfo{com.android.settings/com.android.settings.fuelgauge.RequestIgnoreBatteryOptimizations}|