I'm trying to fetch the user's location every 15 minutes, whether the app is in the foreground, background, or killed.
I've implemented a WorkManager, which works well on my Pixel in all 3 cases above. But I've just read that many phone manufacturers, including Samsung, often kill Workers either through battery optimization or otherwise, despite it often violating Google's policy:
https://stackoverflow.com/a/52605503/14968122
Do I have any options here to address my Workers being killed by these manufacturers? Are there workarounds or other solutions/implementations that I should be aware of to prevent these manufacturers from stopping my Workers?
Thanks you