I am looking for the following requirement. The job has to be triggered from background (even if the phone is locked) periodically every 1 min. I have ignored the battery optimisation by ACTION_REQUEST_IGNORE_BATTERY_OPTIMIZATIONS.
The job is triggered properly in MOTO phones (may be due to stock android). But it fails for Samsung phones with Android versions 6.0 and 7.0.
Is there any API from Samsung, which can whitelist the app? Is there any setting in Android or Samsung Smart Manager, to allow this.
PS: I am yet to check with other devices (Huawei, LG etc). Feel free to share behaviour of other devices.