Re: Still, you seem concerned about AquaMail on 6.0. What should I do or look for? I'm not really certain exactly what issues you're worried about.
Yes, and mostly about Doze mode and its impact on push mail.
At this point, if the user actually accepts "excluding AquaMail from battery optimizations", scheduled mail checks should work fine, even in Doze more (every 15 minutes or more apart, this is imposed by Android).
However, properly maintaining push mail connections in Doze mode just doesn't seem possible -- even Google's own VPN service has issues with that.
And that's where they want all apps to work off of their Google Cloud Messaging, which I'm most likely not going to do.
In terms of testing, I've got a Nexus 5 with 6.0 in front of me (and will update a Nexus 7 tablet to it sooner or later, the OTA is ready already) -- but any feedback is welcome.
---
And to clarify what I've done:
- Prompt the user to "exclude AquaMail from battery optimizations" -- if he/she accepts, then AquaMail uses Android 6's new functions which let the app wake up even in Doze mode and have access to the network. This is only possible if the app is set up by the user like that.
- More gracefully handle the device coming out of Doze mode and a delayed mail check time trigger kicking in -- perhaps just as the user's starting up the app -- ensuring that this delayed mail check actually runs.
As far as I can tell, there is not much else I can do.
I'm also somewhat concerned about "application standby mode"...
...which is like Doze mode, but not system wide as Doze is, rather it's per-app where the system decides "gee, the user doesn't seem to use this app that much" and also blocks network access / time based events.
Hopefully this is decided over a fairly long stretch of time, not a hour or two... So that actually running the app would keep it from happening.