Mi Note 10 Lite, Global MIUI 11 ROM - Push notifications from Gmail Problem - Xiaomi Mi Note 10 Questions & Answers

That's a very frustrating one, very common 'feature' for all the Xiaomi bloatware. I thought 6 years later, they will finally fix the sync.
So basically, when the phone goes to sleep or at least I do not touch it for more than 5 minutes, the Gmail notifications do not get delivered unless I unlock the device. Sometimes even if I unlock it, the said emails do not pop up unless I open the app or manually click my Google account to sync.
Things I've done so far:
Check any sort of notification setting for the app itself and make sure I get the proper notification type. Also the app settings are all right.
Check the battery saver nonsense and make sure the app isn't limited in any way.
Check battery saver and make sure it is not restricting background usage for the app
Reinstall Gmail app using XiaomiADBFastbootTools
Remove and re-add my Google account to the device
'Locked' the Gmail app to the memory
Things I cannot do on this crippled Android version, but work for regular apps, are:
Set 'autostart' setting for Gmail. The app seems to be preinstalled and I cannot manipulate this option for it.
Your help is appreciated!

maybe you could uninstall the Gmail using XiaomiADBFastbootTools and later you install Gmail again from Google Play.

I'm having the same problem. I have to go into the app and refresh and so on.

Strange, never had such problems (with all apps) after configuring the data saver mode for the app. Gmail is working without a problem here

The problem seems to have gone away for the last 3-4 days, but I was mostly on data connection. No clue how. There were no system updates.
From time to time it gets stuck when I am on Wi Fi at home. Either never comes or is delayed a lot.
Most notably when the phone goes to sleep (more than 10 minutes of not touching it or not receiving any other notifications that might wake it up.

Have you checked the notification settings within gmail? Stock configuration is that it will only inform with important emails and not all emails. Maybe this is also part of the problem?

Related

Notifications suck. Why are they so delayed and random?

What's going on with notifications? They are showing up at completely random times on my Pixel. Just got a gmail notification from an email that arrived 3 hours ago. This has been happening constantly. I wake up in the morning, look at the phone, see no emails, then suddenly a bunch pop up. I thought it might be related to some sort of doze feature, but it's happening even when I've been using my phone quite regularly.
This is ridiculous. Never had this happen before.
I agree. It's gotta be doze.
I'm shocked this isn't a widely discussed topic. It's happening non-stop. I just missed an email fro 4 hours ago and I was even using my phone several times to make calls during that time, so it wasn't even idle.
WTF is going on?
I KNOW YOU SAID GMAIL APP
However, a LOT of apps are not updated for 7.1 so any number of old apps that control notifications in some way may be breaking things.
It sounds exactly like something is interfering with the ability of phone to check or deliver notifications on time. Like a faulty app making a request or insisting some loop then crashing finally and allowing notifications through.
I think Doze is interfering with SOME of my notifications, but my problems don't seem as severe as all of yours.
You can troubleshoot by removing old apps and testing if notifications are blocked, then add apps back 1 by 1.
Sent from my sailfish using XDA Labs
i noticed this non stop until I disabled battery optimization for those applications (calendar, email, messenger, gmail, etc). Battery is still fine and I have zero issues with notifications
huviduc said:
i noticed this non stop until I disabled battery optimization for those applications (calendar, email, messenger, gmail, etc). Battery is still fine and I have zero issues with notifications
Click to expand...
Click to collapse
It would be *really* interesting to know exactly which app's (the full list? you disabled battery optimization on. Could you list them all in more detail?
I just disabled it on Calendar, Gmail, Messenger and I am still getting delayed notifications in Gmail!!!
This is a *BAD* problem, Google!
I know people who had this exact issue on the Nexus 6P. It made the phone *unusable*. The Pixel may not be quite as bad, but it's not acceptable to me.
I'm wondering if some of the other "Google Services" like all the "com.android...." app's or maybe some of the qualcomm, like com.qualcomm.fastdormancy maybe? I guess I can start trying them, but there are a lot, so if you know the key ones, it would help.
Thanks for any further info.
P.S.
Apparently this problem with Gmail is discussed here -- many have had this issue. Google should be ON THIS or they will lose customers:
https://code.google.com/p/android/i...tars Reporter Opened&groupby=&sort=&id=197805
=================
Ok... I just installed Maildroid Pro and didn't see the problem with it, and coincidentally also received Gmail messages at the same time... even after uninstalling Maildroid, Gmail is still now showing notifications... but perhaps the delay is just still random. Like some component of the OS happens to be loaded right now or "not dozing" and so everything is fast... but time will tell if the delay comes back.
This really needs to be fully ironed out by Google. How can they release brand new devices that don't receive timely notifications?? Isn't that something "mission critical" that you would test? This is a major error by Google -- hope they fix it fast, but some people have been waiting for a year with their Nexus devices and apparently it's still not fixed, even on 7.1.1.
Happens on my 6p too. Definitely a 7.1 issue
Sent from my Pixel XL using XDA-Developers mobile app
ShivaSmith said:
It would be *really* interesting to know exactly which app's (the full list? you disabled battery optimization on. Could you list them all in more detail?
I just disabled it on Calendar, Gmail, Messenger and I am still getting delayed notifications in Gmail!!!
This is a *BAD* problem, Google!
I know people who had this exact issue on the Nexus 6P. It made the phone *unusable*. The Pixel may not be quite as bad, but it's not acceptable to me.
I'm wondering if some of the other "Google Services" like all the "com.android...." app's or maybe some of the qualcomm, like com.qualcomm.fastdormancy maybe? I guess I can start trying them, but there are a lot, so if you know the key ones, it would help.
Thanks for any further info.
P.S.
Apparently this problem with Gmail is discussed here -- many have had this issue. Google should be ON THIS or they will lose customers:
https://code.google.com/p/android/i...tars Reporter Opened&groupby=&sort=&id=197805
=================
Ok... I just installed Maildroid Pro and didn't see the problem with it, and coincidentally also received Gmail messages at the same time... even after uninstalling Maildroid, Gmail is still now showing notifications... but perhaps the delay is just still random. Like some component of the OS happens to be loaded right now or "not dozing" and so everything is fast... but time will tell if the delay comes back.
This really needs to be fully ironed out by Google. How can they release brand new devices that don't receive timely notifications?? Isn't that something "mission critical" that you would test? This is a major error by Google -- hope they fix it fast, but some people have been waiting for a year with their Nexus devices and apparently it's still not fixed, even on 7.1.1.
Click to expand...
Click to collapse
Most likely an individual application problem. It's not the phone or it would affect all apps.
I get timely notifications for text, calendar, and Keep. I don't use notifications for email so cannot comment on that.
It does look like perhaps turning off the battery optimization for Gmail may have fixed this? Either that or my phone just hasn't yet had time to go into "deep doze" vs. lighter doze. I'll be watching during my 15 day potential refund period . Other than this issue, there are maybe a few minor tweaks that would be nice, but it's otherwise an amazing phone so I want to keep it!
Notifications on the Pixel phone are pure garbage IMO. Half the time I don't get one really. Either the LED light does not light up or Ambient display does nothing. Love everything about this phone except notifications. I am almost thinking about switching to the Oneplus 3T because of this...I hope Google is aware how crappy they are on this phone....
As a member pointed out, it's not the phone but something in 7.1. So no point saying u will return the phone. On my OP3 also i had delays in notification using cm14. So ya it's probably something software related and can be fixed easily.
Hmm weird that I'm not seeing this issues. If Gmail is giving your the issue use another email client?
See topic at Pixel support site:
https://productforums.google.com/forum/#!topic/phone-by-google/7cgUThrhS7U
My post there:
I'm actually a Pixel (Android 7.1) owner now (never mind my user name). I've had the notification delay issue too -- mainly on Gmail. I disabled battery optimization and that seemed to have helped some during the day when I use my phone from time to time. What I noticed is that after leaving it sitting at night (tho' still plugged in) it seemed to have entered "deep doze" perhaps (tho' it's not supposed to while plugged in, if I understand that correctly). At any rate, it missed a Gmail notification in the early morning, but then after "waking up" the phone it seems to have been acting normally through the rest of the day.
I have a Galaxy S7 that I was using as a test comparison. It's on Android 6.X (Marshmallow -- also supposed to have doze) and it got an email notification no problem this morning when the Pixel failed.
Google really needs to listen to this and fix it!!! Professional business users cannot afford to miss email notifications!!!
The problem is also on 7.1.1 not just 7.1
Gmail gave me sync issues (and therefore delayed notifications) on my g4 with 6.0 once. Couldn't get it to work until I wiped the data for it.
On pixel, you also need to be sure the data saver option isn't the culprit. Either turn it off, or make Gmail an exception. That option will cause delayed notifications for nearly any app, as it won't be syncing hardly at all on mobile networks.
Sent from my Pixel using Tapatalk
Unrestricted data usage (i.e. no data saver) and background data are both set to "on" for Gmail in my Pixel (7.1)... battery optimization is also turned off.
I now believe the problem is associated with "deep doze". I appear to get Gmail notifications ok during the day, but if the phone sits idle overnight, then by the morning I will NOT receive Gmail notifications until the phone has been woken up. I actually have to manually check / refresh Gmail and then after that it appears to be "awake."
This problem is really serious -- very unprofessional to not have timely notifications in a "professional" device / OS. Android / Google teams need to escalate this. I've seen reports since way back in 2015 on Nexuses.. some people have pounded Google w/ requests for over a year and this is still not fixed yet!!!
There must be a way to fully disable "deep doze" for an app and all related services required for its operation.
This tempts me to consider delving into AOSP and cooking up a ROM which would give total control over doze and anything else needed to make the phone actually *work*.
so at the people who got problems... do you marked the app that are effected in the settings/battery opt-out for the battery improving option in standby so they can stay connect for push?
wedouglas said:
I'm shocked this isn't a widely discussed topic. It's happening non-stop. I just missed an email fro 4 hours ago and I was even using my phone several times to make calls during that time, so it wasn't even idle.
WTF is going on?
Click to expand...
Click to collapse
I have delayed gmails on my xperia z3. Always have. If you want an instant message, use an instant message client. Emails are seen as something you can wait for, to save battery life. Obviously if you are also having delays on Facebook Messenger etc then you have some other problem.
Webern said:
I have delayed gmails on my xperia z3. Always have. If you want an instant message, use an instant message client. Emails are seen as something you can wait for, to save battery life. Obviously if you are also having delays on Facebook Messenger etc then you have some other problem.
Click to expand...
Click to collapse
That's hardly a solution. That doesn't fly in the business world, nor do I would I want companies and clients messaging me on a bunch of random instant message apps.
wedouglas said:
That's hardly a solution. That doesn't fly in the business world, nor do I would I want companies and clients messaging me on a bunch of random instant message apps.
Click to expand...
Click to collapse
In the "business world" - that is, on my work pc - my emails arrive immediately. But i'm not using gmail on my phone. You probably want something a little more robust if you're going to rely on emails turning up immediately. They were never designed to be instant, or secure.

Gmail not pushing

Been noticing lately on the S8+ that my emails through the Gmail app arent coming through. I'm receiving no notifications about them unless i open the app and pull it down to refresh. Was working fine when I first received the phone, not sure if anyone else is experiencing this? On T-mobile.
Only thing I can think is maybe something I disabled in package disabler but i doubt thats it. I didnt touch anything to do with gmail
Never had this problem, however for non Gmail accounts added to it, i.e. outlook, after deleting an email, a minute later, the email will reappear. It's getting rather annoying, especially when in deleting 5 at a time, they just come back and seem to go away after the 2nd deletion
aroy97 said:
Never had this problem, however for non Gmail accounts added to it, i.e. outlook, after deleting an email, a minute later, the email will reappear. It's getting rather annoying, especially when in deleting 5 at a time, they just come back and seem to go away after the 2nd deletion
Click to expand...
Click to collapse
I've had the same issue. If i delete them from the lock screen, they show deleted. Reappear for a second, buzz and then vanish. this happened on my stock nexus 6 as well so its not a GS8 thing.
dansan382 said:
I've had the same issue. If i delete them from the lock screen, they show deleted. Reappear for a second, buzz and then vanish. this happened on my stock nexus 6 as well so its not a GS8 thing.
Click to expand...
Click to collapse
Yes i also had a Nexus 6 and the problem was there too and also sorry I didn't read your post properly but I do get the problem you have. When I go to the app, pull the side panel which shows my email accounts, there will be a badge number over it and I have to pull down to refresh. Same problem happened on my Nexus 6 as well, most likely an app problem
aroy97 said:
Yes i also had a Nexus 6 and the problem was there too and also sorry I didn't read your post properly but I do get the problem you have. When I go to the app, pull the side panel which shows my email accounts, there will be a badge number over it and I have to pull down to refresh. Same problem happened on my Nexus 6 as well, most likely an app problem
Click to expand...
Click to collapse
hopefully its an app problem. they also need to fix that delete/double notification thing. especially when you delete like 10 emails, it then buzzes 10 times. super annoying
dansan382 said:
hopefully its an app problem. they also need to fix that delete/double notification thing. especially when you delete like 10 emails, it then buzzes 10 times. super annoying
Click to expand...
Click to collapse
Any updates on this, I'm no longer getting push notifications for my Outlook account. I have to physically go and refresh.
aroy97 said:
Any updates on this, I'm no longer getting push notifications for my Outlook account. I have to physically go and refresh.
Click to expand...
Click to collapse
Yea I am still not receiving emails unless I go in and refresh. This is weird because gmail worked on this phone properly, not sure why it randomly stopped. I tried to send an email and it got stuck on "queued" for a little and then sat on sending for a few seconds as well.
All other push notifications are working fine, instagram, facebook, snapchat, text messages, nest, etc... but gmail isn't working. Not sure if its something i turned off in package disabler? did you use that app at all?
update. i have no idea what i did but its working again.
i went into every gmail setting possible, turned it off and back on again. i forced my google account to resync. i disabled notifications and turned them back on. i disabled network access in the background, then turned it back on. ive tested it a few times by sending emails to myself. i also received a notification from a newsletter as well. it is working for now and im happy. hopefully it doesnt stop.
Yep, not sure what's happening with Gmail but I had this issue now on my Nexus6p....
next question, does anyone know how to get rid of the annoying double notification when deleting an email from the notification bar? if its on my lock screen and i expand them and then delete, it deletes and then a split second later it pops up again and vibrates then vanishes. same thing happened on my stock nexus 6

Samsung Interface Not Updating

All,
First time poster, frequent visitor of XDA Forums. I've come across an odd issue that I don't know how to solve and I'm hoping some of you smarter than me folks can get me squared away.
I have a Galaxy S8+ from AT&T running Android 7.0 and Samsung Experience 8.1.
Problem:
I've recently noticed a delay or completely non-updating interface on my phone. It updates on occasion, but I can't determine what triggers an update. For example, I will pick up my phone from the desk and when I press the power button it shows the accurate time. When I unlock the device, the sense flip clock I use on the main home screen shows an earlier time (could be 30 minutes... could be a few hours). I don't believe it's just the Sense app because I noticed this issue where I checked a facebook messenger app that came and and when I closed the app, it still showed I had 1 notification. I went back in thinking I had another new message, but I didn't. So it was still hanging on to the notification. It happened a couple times with a text message as well. Most importantly, my calendar doesn't alert me prior to an appointment either, even though it's showing in my calendar and an alert is active. If I save an event, and exit, I can normally see the event appear on the on widget immediately as well... but that hasn't been happening. I have to press the widget to open it and confirm it is there (which it always is). Eventually it refreshes and shows up. But that delay is likely the reason why I'm not getting my alerts.
All of this did seem to happen after a recent update Samsung/AT&T pushed out but I don't know for sure. I tried clearing the cache from the boot menu but it doesn't seem there is wide success with that.
And perhaps I'm just not a good enough user, but everything isn't all backed up in the cloud so doing the factory reset to me is always a fairly large task as I have many things to manually transfer out and then back in. Not sure if there are great tools that help with this on a stock phone.
BUMP
try disabling battery optimization for those apps.
It seems that you have several bugs and if they all start happening after you have installed the latest update, then expect a patch coming soon.
MINTED7 said:
try disabling battery optimization for those apps.
Click to expand...
Click to collapse
I have actually done that. Found very limited success. I'm also finding very few results on this topic. Surely it's not just me though.
And I'm dreading the idea of a hard reset as I have many things on my phones, not all of which is sync'd to the cloud so it's a task to back things up appropriate. Specifically regarding "encrypted" apps like my password keeper app etc.
It would be great if there was a software application that allowed you to backup whatever is necessary to not lose data, then wipe the phone and instead of just simply restoring the full phone (which is likely to create the same problem one had before the hard reset), you could simply dump back in app data as needed. It would also help diagnose if the problem lies in a specific app's data.
High level overview of issues...
I have the Ring Doorbell app. I get notifications after "live". Could be 5 minutes, could be 1 hour... or possibly not at all. I have the app setup on my wife's iPhone and she gets them immediately. If I restart the phone, I will get notified right away (it's like it runs the app again and then I get the notification). Keep in mind, this is AFTER i disabled the battery optimization feature for the Ring app.
I also notice it occasionally with texting. I won't have any text notification in the notification panel, nor will my messaging icon have a little red circle indicating a message is there. But if I open the app, a specification conversation will have a red circle indicating a new text is unread.
All of this is leading me to believe the Samsung UI itself is not updating and therefore notifications that actually have arrived (from whatever app), are not displaying because of the UI and not because of their own delay.
Because of this concern I have turned off battery optimization for "System UI", "Themes", and "TouchWiz Home". I have not seen any change however.
[Solved]
I was able to determine by various other threads around the web (thought for sure I'd find it here, but I didn't) that the culprit might be the Google app. Supposedly it was fixed in some prior release, but it's not on my Galaxy S8+ w/ AT&T.
Once I disabled the Google app all the odd issues with notifications and clock interfaces and app icons not updating went away. The downside to disabling it is that I lose the Google Assistant functionality which stinks but otherwise there is no impact to using the phone. I re-enabled it at a later date and it worked fine for a few days and then started acting up again. Once I disabled it, the problems all disappeared. Clearly Google app is to blame.

[SOLVED] Extremaly delayed push notifications

[June 25 2018]
It looks like I solved my problem by reading about push notifications here:
https://help.moengage.com/hc/en-us/...not-receiving-push-notifications-sent-by-you-
It got me thinking that GCM service in my Nokia 7 plus is not properly connecting with Google’s servers. So I looked around how to hard reset my device using this tutorial:
NOTE: [THIS WILL ERASE ALL YOUR DATA. MAKE A BACKUP OF YOUR FILES FIRST]
http://www.techeligible.com/2018/05/27/unlock-pattern-nokia-7-plus/
select Wipe data/factory reset.
After restart configure your phone as a NEW DEVICE. Push notifications seem to work as they should. They are waking the device from sleep mode immediately.
This method will most likely work for all Android devices.
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
[June 5 2018]
I really like this phone but the push notification problem just kills me.
When phone is in sleep mode push notification don't wake it up.
Just leave the phone on the desk for 15 minutes and send yourself an email from different device.
Same applies to WhatsApp. If someone sends me a message it can take half an hour before phone will show notification.
This is frustrating and apparently there is no fix.
I did even factory reset and the problem persists.
Tweaks like exclude app from battery optimazation don't work.
This clearly Android Oreo fault.
Google is so fixated to save battery that it castrates crucial functionality
+1 to the delayed notifications problem!
As you wake the device up, the Whatsapp icon also keep showing in the taskbar - "Checking for new messages" quite often.
that also happens at intervals while the device is ON & other apps are being run.
I hope this, the fingerprint navigation (left+right), battery SOT, stability will improve with proper update to Andro-P. and SOON!
Same problem here. "Heartbet" apps dont work either.
Same here! Maybe it's push notifications server problem?
pls. make sure that notification apps have permission to work in back ground as it may be restricted for battery saving
fady saher said:
pls. make sure that notification apps have permission to work in back ground as it may be restricted for battery saving
Click to expand...
Click to collapse
[SOLVED] First post.
----------------------------------------------------------------------------------------------------------------
Gmail and WhatsApp are excluded in battery optimazation. It makes no difference.
Gmail is a Google app. It comes with system but push notifications are not working properly.
There in no other way to set apps to work in background. At least I didn't find such option...
Didn't work for me. Anybody else managed to fix this?
Bump
Android Pie
Bump...ish
Anyone experiencing delayed push notifications on Android Pie?
Do you have location enabled (saving battery location setting)? Disabling location can cause notification delays.
yatoya said:
Do you have location enabled (saving battery location setting)? Disabling location can cause notification delays.
Click to expand...
Click to collapse
I never really turn off location services. Is this setting you are talking about the battery optimization for apps? I can turn that off for location services.
I have 1062 with pie sideloaded and i'm not getting any push notifications from apps except for gmail. Factory reset and setting phone as new device didn't help.
rooks_by said:
I have 1062 with pie sideloaded and i'm not getting any push notifications from apps except for gmail. Factory reset and setting phone as new device didn't help.
Click to expand...
Click to collapse
1062 (if chinese with custom global rom) its not really possible to install Pie, its not stable in this one, Oreo still best for 1062
rooks_by said:
I have 1062 with pie sideloaded and i'm not getting any push notifications from apps except for gmail. Factory reset and setting phone as new device didn't help.
Click to expand...
Click to collapse
I had the exact same issue and it was really frustrating me. Resetting my phone didn’t help as detailed here. But finally after some playing around i fixed mine
In the battery settings i enabled Adaptive battery and then went into background activity manager. I enabled both auto activate and lock screen on all the apps i had problems with receiving notifications. Now i get all app notifications straight away with no delays
nurrishd said:
I had the exact same issue and it was really frustrating me. Resetting my phone didn’t help as detailed here. But finally after some playing around i fixed mine
In the battery settings i enabled Adaptive battery and then went into background activity manager. I enabled both auto activate and lock screen on all the apps i had problems with receiving notifications. Now i get all app notifications straight away with no delays
Click to expand...
Click to collapse
I've tested this solution for a couple of days and it seems it's working, thanks.
nurrishd said:
I had the exact same issue and it was really frustrating me. Resetting my phone didn’t help as detailed here. But finally after some playing around i fixed mine
In the battery settings i enabled Adaptive battery and then went into background activity manager. I enabled both auto activate and lock screen on all the apps i had problems with receiving notifications. Now i get all app notifications straight away with no delays
Click to expand...
Click to collapse
Is this for Android 8? I am having the same problem but I cant seem to find the auto activate and lock screen settings in the BAM. The only option is to blacklist. I am on Android 9.

Push Notification Problem

Hi guys,
Today i switched from OP7t to OP8t but i have a problem with push notifications in email apps (yahoo, web, gmail).
The notifications are comming only after opening the app...
What i did until now:
- Deactivate battery optimization
- Deactivate deep sleep in battery settings
Does anyone have the same problems or some tips for me?
Thx a lot
It's an OxygenOS issue I believe, I've seen reports/complaints about this since the 6T. Unfortunately, I am not aware of any fixes for this. You can also try disabling battery optimization per app, but I tried that on my 7 Pro and it did not help. I even reinstall Gmail as root app, did not help.
I'm not trying to be sour here. I have two workarounds that I use(d):
- MacroDroid, and you set up a macro to turn on display every 30 minute (you can also add actions to sync certain apps.)
- Just keep phone on charger whenever you want notifications. Sucks because its bad for battery, but its what it is.
Find the solution (for me) by myself!
I switched from 7t to 8t with OneplusSwitch App... And it seems, that this was the problem, why the apps which were switched didnt give push notifications...
OPSwitched is really good and very fast for transfering all files... But after deleting the apps and install and set up them fresh, the notification are working!
I can understand having a backup for emergency purposes...but something I learned many, many phones ago is to NEVER allow ANY app to come back when moving to a new phone! I always reinstall all my apps from scratch! Maybe this is why I have far fewer problems than others do when moving to a new phone??? YMMV
Yes, thats right, now i would make it so too.
But as i said, in the past it always worked fine without problems and OPSwitch is a very fast way...
Something learned again

Categories

Resources