Geofence apps not working on Android 7.1.1? So I have two apps that utilise Geofence. Nest (Auto-Away) and August (Auto-Unlock). Both made by very different companies, doing very different things.

I have noticed that if the app is NOT open, neither of these functions will work. It is only when I open the app that something happens.

For example, August send me a notification when it senses I leave the house. I left the house, and on the way back pulled out my phones, opened the August app, and THEN the notification appeared.

I have tried selecting the apps as "Do Not Optimise" under Battery Optimisation settings but that didn't change anything.

I have a nasty habit of closing all apps in the recent bar, but I am trying to see if leaving it open will fix, but I would really like a solution where I would not have to do that.

I am running Android 7.1.1 on a Nexus5X. What can I do?

EDIT:
Noticed that IFTTT's Geofence works.
I know I am answering my own question, but the best solution I found was this app:

https://play.google.com/store/apps/details?id=com.atasoglou.autostartandstay&amp;rdid=com.atasoglou.autostartandstay

Basically it reopened August every time I tried to close it. Not very elegant, but it got the job done.

@Chahk inspired this answer, once I knew that it just needed to be forced to run in the foreground, a simple Google search gave me the thing I needed.