AquaMail Forum

English - Android => Bug reports => Topic started by: davidmark on December 28, 2015, 12:22:16 am

Title: GMail IMAP Push is suddenly broken
Post by: davidmark on December 28, 2015, 12:22:16 am
This thing has been fine for a year and suddenly I saw a flurry of updates (AquaMail included I believe) and it's all screwed up.

Red exclamation mark in shade. Tells me to give permission to read GMail. Won't run until I update Google Play Services. There's no app in the store called "Google Play Services". Updated Google app. Still told me about updating Google Play Services. Restarted phone, still screwed. Uninstalled and reinstalled AquaMail. Now it's "working" again.

Unfortunately, the app now has no sign of IMAP push, other than in the Manage Folders settings, which are set up for Push. Not sure if it is related, but suddenly the notification shade is missing the AquaMail message about IMAP push. Think that's new. Checked settings to show even when there are no new messages. Nothing.

Seem to recall explicit references to "IMAP Push" in the notification shade at all times in the past. Maddeningly, that has disappeared and now just see the occasional (periodic I expect) "Synchronizing with..." message.

In short, what happened and how do I (or you) fix it? Push is the only reason I use this app.

Running on an old HTC One. As mentioned, it's been running on it a long time before this last flurry of updates screwed it all up.

Please advise. Wouldn't mind downgrading the thing if possible until it is fixed.

Thanks!
Title: Re: GMail IMAP Push is suddenly broken
Post by: Kostya Vasilyev on December 28, 2015, 12:47:34 am
Yes, Google Play Services is required for Gmail's preferred authentication method, OAUTH2.

I recently updated the app-side library for working with Services, because I started seeing some errors with the old one (crashes).

The required version of Services was released a couple of months ago.

On Google Play:

https://play.google.com/store/apps/details?id=com.google.android.gms

Re: push:

Please long press the account -> options and folders -> account options -> enable IMAP push.

This account level setting is turned off by default.
Title: Re: GMail IMAP Push is suddenly broken
Post by: davidmark on December 28, 2015, 01:07:53 am
Thanks for the prompt reply and fix. But something is wrong when there are two different options/settings/whatever screens per account (and one is hidden by tap-and-hold). Didn't investigate much in the "hidden" settings screen, but it sure looked new to me. Probably hadn't seen it in a year (not sure how I found it then). IIRC, the other related settings screen is called "Manage Folders" and is located elsewhere. If I tell that screen I want Push and the other screen has an unchecked box, there should be some sort of warning (or just check it for me).

OTOH, saw the other screen over and over as I stressed out trying to find the setting I needed. Saw lots of checkboxes related to Push, but not the one I needed as it was on the hidden screen. Can you explain the difference between these various settings screens? I'd consider losing anything requiring a long-tap just to get there. I'd also make sure the two Account Settings screens are accessible from the same place (the main Settings screen?) Drove me nuts trying to find the right checkbox for IMAP Push and I've done this at least once previously.

Thanks!

Yes, Google Play Services is required for Gmail's preferred authentication method, OAUTH2.

I recently updated the app-side library for working with Services, because I started seeing some errors with the old one (crashes).

The required version of Services was released a couple of months ago.

On Google Play:

https://play.google.com/store/apps/details?id=com.google.android.gms

Re: push:

Please long press the account -> options and folders -> account options -> enable IMAP push.

This account level setting is turned off by default.

Title: Re: GMail IMAP Push is suddenly broken
Post by: Kostya Vasilyev on December 28, 2015, 01:23:21 am
It's not new and not hidden.

There have always been -- app-level push setting -- account level push setting -- folder level push setting. Since when AquaMail first supported IMAP push mail.

There have always been some per-account "things" you could do by long pressing.

There has been -- for a long time -- a popup help window after you add your first account into the app, saying that you can "long press to access more per-account options".

Oh, and "enabling IMAP push" is covered in the FAQ, it's item #12, not too far down the page.



Are things working for you now? If not please let me know.