[Completed] Push notifications not happening intermittently - XDA Assist

I have a Samsung Galaxy S5. When I ran Cyanogenmod 12 I had no problems receiving push notifications. Immediately after upgrading to Cyanogenmod 13, I found that the phone would sometimes fail to show push notifications. I'm an on call sysadmin and I rely on push notifications via Pushbullet to alert me when a server has issues, so this is very important for me.
Here's a breakdown of the apps I use and their push notification behaviour:
* Pushbullet - This seems to notify me if I've opened the app in the last few days, otherwise not at all. I recently went a month without opening it and when I finally did, several notifications from earlier in the month all arrived at once.
* HipChat - I don't use it much, but I had a guy message me weeks earlier and my phone didn't give me any notification. Like Pushbullet, I think the app has to be recently opened for push notifications to work.
* Gmail - Some notifications happen instantly, some happen after a few hours, and some don't happen at all. I have two Gmail accounts configured and have been using my primary account heaps, and only today found out that someone had emailed my secondary two days ago and I hadn't been notified. Both accounts have their inboxes synced and notifications emailed. So it doesn't seem to be related to the app being stopped in Gmail's case. I only found it because I manually refreshed the secondary's inbox.
* WhatsApp - These always come in instantly as far as I'm aware.
* SMSes using the Messaging app - These always come in instantly as far as I'm aware.
Firstly, I have excluded these apps from battery optimisation. If I go to Settings > Battery > Menu > Battery optimisation, I can see the following are listed as not optimised: Android system, Gmail, HipChat, Pushbullet.
Next, I installed an app called "Root- Push Notifications Fixer". It has a tool called Play Services Monitor. See screenshot (imgur.com/a/7hQ95). An email came in at 8:36am according to Gmail's timestamp. You can see the phone received a GSYNC_TICKLE at 8:37am however my phone didn't make any notification at this time. The notification happened at 10:31am (or maybe it was 9:40am - I don't remember). My point is that this doesn't seem to be a network issue. The phone is aware of the push notification but hasn't proceeded any further.
I'm fairly sure this isn't related to doze mode, because as I've said it's gone up to a month without notifying me and I use my phone all the time. I'm also confident it's not network related due to the previous screenshot and the fact that I've been on several different wifi networks as well as data. I've read that it could be because the notifications aren't priority, but I don't know how to verify this.
Is there something obvious that I'm missing? By the way, I'm a Linux sysadmin and a software engineer (but not for phones), so I'm competent with ADB shell if you want me to get my hands dirty.
Some additional information shown in my About Phone screen, if that helps:
* Device model: SM-G900F
* Android version: 6.0.1
* CyanogenMod version: 13.0-20161013-SNAPSHOT-ZNH5YAO21L-klte
* Kernel version: 3.4.0-g46d41dd

Hi !
As you may know , the cyanogenmode has vanished so no more updates from it and it might be a rom build issue
For your particular issue you can search for an answer on the rom thread as we don`t develop that rom and more users or the developer can provide assistance
You may also consider changing the rom if the development on the one you use has been stopped
Cheers !

Related

[Resolved] Not getting push notifications? This may help.

While trying to figure out why I wasn't getting my push notifications I noticed that there are a lot of people having this same problem. It doesn't seem to affect just one brand or model of phone. Nor does it seem to be a specific carrier or firmware version. I finally figured out the problem and decided to post this here rather than in the forum for my device. My particular device is a Verizon GS4, rooted, stock firmware, version MK2.
Originally, I had thought it was only Facebook and eBay that I wasn't getting notifications from. It turned out I wasn't getting any of them except text messages and email.
If you are having the same problem, this is why. The problem is that one of your apps is blocking the notifications. For me, it was Yahoo instant messenger. After a whole day searching and trying every solution I could find, I finally just started uninstalling apps that get push notifications. Once I uninstalled YIM I knew instantly that I had found the cause because I got about 20 push notifications, they were all the ones which I hadn't received. It really wasn't until then that I realized just how many apps I wasn't getting notifications from.
The app that's causing you to not receive your notifications may or may not be YIM. It more than likely will be an app which you downloaded and installed, as opposed to one preinstalled on the phone.
My suggestion would be to go through your apps and uninstall, one at a time, any apps you've installed which receive push notifications. More than likely, you will instantly get some notifications when you find the one causing the problem. Once you find the faulty app, you should be able to reinstall it without a problem. If you reinstall it and the problem returns, you will at least know where to begin looking for a solution.
If your problem is only with a specific app, then you may need to check your settings for that particular app. With, for example, the Facebook app, if you uncheck the messages box in settings, you will only get push notifications during certain times. So that may be your problem if its just Facebook. Or similar if its a different app.
I hope this actually helps someone. Any questions, I'm subscribed and I will respond right away.
Sent from my SCH-I545 using Tapatalk

gmail not pushing mail

So, ever since the N update on my S7 and now on the S8, my email doesn't push/sync right away at all anymore. I have to go into the email for it update. I'm not sure whyy it's doing this. I haven't set it up that way, have background data allowed, and don't have any battery saviors set up to do this...
Any ideas on this why this is happening?
Nougat's overly aggressive doze is the cause here. Fix: https://androidtutorial.net/2017/05/02/fix-delayed-push-notifications-galaxy-s8s8/
The option under Special Access you want to look at is Optimise battery Usage.
I have the same issue. I have gmail set so that it is NOT Optimized for battery. I still don't get gmail updates (and therefore no notification) until I open the app (usually). Sometimes I do get the notification soon after the email is sent to me. Rather random.
After messing around for a while, I think it is a no notification thing and not a lack of synchronizing the emails. If I send myself a gmail, I get no notification, but I can look in my google account and see where gmail has synchronized. Then I go to gmail and the message is there.
^yep, could be related...but how to resolve?
Possible Solution - Worked for Me (So Far)
galaxys said:
^yep, could be related...but how to resolve?
Click to expand...
Click to collapse
So, I solved it by going to the app manager and disabling the gmail app. Since it is a system app, it doesn't uninstall it, but reverts it back to some previous version. That version has been giving me the appropriate notifications for every email I have received since.
I think I will look at disabling updates for gmail for a while.
Smithfolk4 said:
So, I solved it by going to the app manager and disabling the gmail app. Since it is a system app, it doesn't uninstall it, but reverts it back to some previous version. That version has been giving me the appropriate notifications for every email I have received since.
I think I will look at disabling updates for gmail for a while.
Click to expand...
Click to collapse
I deleted data for the app. That also fixed the problem (for now anyway)
This has been an ongoing issue for me for over a year. It was an issue on this phone, my S7 edge and Note7.
Often I will see an email on my phone, read and archive it, then go about my business. Several hours later I go into Gmail on my PC and that email is still sitting there, unread.
Actually sending out an email on the phone seems to make the sync update, but other actions like reading, moving, or deleting emails doesn't. I've had times where my emails were still unread on the Gmail website 12 hours after reading them on the phone. I have the app's battery optimization settings turned off, and I have even gone into the app several times during that period and pulled down to check for new messages. It's pretty awful that the sync has such serious issues and nobody is fixing it.
Deleting the app's updates doesn't work for me. It might fix the issue briefly, but it always comes back pretty quickly, even without any updates to the app.
The only thing that fixed the issue for me was installing an app called something like "Gmail Push Fixer". It worked wonders on my S7 edge. Unfortunately, the app requires root so it isn't an option on my Snapdragon S8+.

Mate 30 Pro Notifications

Does anyone have the same problem as me I have discord, Skype and many other apps but I don’t get the notification for messages and etc!
yes I had the problem also. Got to settings-battery optimization and click on each app you want to get notifications from and select dont allow.
I have tried all of the following even with Huawei Email app:
1. Battery Op.
2. Notifications settings.
3. Even Premissions
And still nothing. I dont really
Acidburnsn0w said:
I have tried all of the following even with Huawei Email app:
1. Battery Op.
2. Notifications settings.
3. Even Premissions
And still nothing. I dont really
Click to expand...
Click to collapse
I had the same problem, reset the device..
Helped me...
i did that too!!!
Resetting helps as well. Huawei has aggressive memory management.
Can you please explain what you mean by 'resetting'?
As in a full factory reset, then side-load say Skype from apkpure, then notifications are all ok? That seems hard to believe.
I have a new P40 Pro, installed Skype (never tinkered with GMS) and notifications do not work.
I have a Chinese Mate 30 Pro 5G and since March no GMS installed (they worked perfectly when I bought the phone in November last year, the seller installed them, but stopped working at some point in March - out of no reason and I haven't been able to get them working properly again since then) - Skype notifications DO NOT work. No matter what. Factory reset doesn't help, battery optimisation disabled doesn't help, keeping it working in the background doesn't help, nothing really helps ... I found out that installing the app from Amazon Appstore (the version there actually looks like Skype Lite) makes the situation a bit better - at least notifications work for some 10-15 minutes after you open the app, but then stop working again even if the app is still running in the background. So forget about being available for a skype call ... you will most probably miss it and get no notifications until you open the app again.
I've tried installing GMS again lately (by several methods), but then even less notifications worked ... And also, since updating to EMUI 10.1.0.126 it's difficult to use the Lzplay, once you get it working, you can't uninstall Google Play Sevices unless you do a factory reset of the phone – so you won't be able to follow the latest instructions for installing the Google services on your phone).
In case you're wondering - without GMS, the situation with notifications for messaging apps on my phone is the following (my use of the messaging apps below is mostly work related):
-Messenger (installed from APK Pure): works 99%, sometimes the notifications for messages are a bit delayed (for a few minutes), but receiving a call always works
-Skype: as described before, but only when installed from Amazon Appstore, the usual Skype app gives no notifications
-Viber (installed from App Gallery): mostly works, sometimes notifications are delayed (up to 1 hour)
-WhatsApp (Installed by direct download link in the App Gallery): the only app that works with no issues at all (I always get all notifications instantly)
-Slack (installed from APK Pure): no notifications at all
-Teams (installed from APK Pure): no notifications at all
-Instagram - messaging (installed from APK Pure): no notifications at all
For emails I use Outlook and I mostly get all notifications instantly or there is a slight delay (a few minutes) – I use it for all my email accounts (Exchange, Gmail, Outlook …).
Honestly, considering how many apps just don't show any notifications, I'm slowly getting to the point of loosing it. A phone worth 1k€ that can not be used as a real smart phone ... It's really a big frustration. I didn't think it would be, but it simply is. Don't get me wrong – I really LOVE Huawei phones, especially the Mate series, but … On the other hand – beside Gmail account (which is not my primary email account but I still use it), I don't use or need (and I never have) any of Google apps or services (I was a Windows Mobile user before my first Android/Huawei experience, so believe me, I never needed any of the Google »****« in my life), but in case Huawei doesn't find a solution for such basic apps that are used widely in the western world, I don't think they will be able to keep us users loyal to their brand.
getting the same problem i have the chinese version of the device so annoying
can you help us ?
thank you.

Apps don't show notifications until opened and can't get started by other applications

Dear XDA Forum!
first: yes i used the search function although i couldn't find a thread which addresses my issue in general, also i tried a few of the fixes regarding the notifications although it didn't solve my problem.
Phone: Doogee S88 Plus
OS: Android 10
I received this phone a while back and i'm pretty happy about it, although i noticed a very strange behaviour regarding nearly all apps.
Apperantly, every app that isn't a foreground app, will get killed or at least will not send notifications until they are opened which, you sure can think, is damn annoying.
Also, apps won't start with Android Auto, except Google Apps like News, calendar, maps and such. Spotify, Audible and every "external" apps will refuse to start on android auto until i open them manually on the phone, then they will show up on my car as well.
i checked the installed software and noticed a preinstalled energy saving app (which is funny with an 10Ah battery but well ) called com.cydroid.softmanager
Thinking this could be an issue i uninstalled/deactivated the app via ADB, although it didn't get better in any form.
And yes, of course i checked the battery optimization which is turned off for the usual apps which send notifications like Signal, Threema, Outlook, Authenticator and such
As i use Signal as my SMS/MMS app, i can say that i will not receive SMS/MMS notifications as well, i will receive them if i use the standard SMS app Messages though.
Also notifications in general are activated.
Maybe it has something to do with Doze? I'm currently at my wit's end.
I already thought about rooting the device, although it doesnt seems like that there is any rom out there for it, it has the option for OEM Bootloader unlock in the dev options though, but to be honest it's been a long while since i rooted android devices except from Samsung.
Hopefully you guys can help me!
Kind regards
**edit**
also i think it has to do with the background apps in general since foreground apps like my VPN (Cyberghost) will keep running without issues
also i noticed if i restart the phone all the apps will start correctly in the background, so it seems, since i'll get the notifications immediately

Notifications sync on multiple devices

If you have multiple devices, you'll get the same notifications on all of them, if your setup is the same.
For example, if you receive an email, the notification will come through on all devices. Now if you act on the notification on one device, such as opening the email or deleting it, the notification disappears on the other devices, if they are online at that time.
Here is the problem:
If your other device (s) is offline, you'll still receive these notifications the moment that device turns online, even though you may have already acted on that notification on another device earlier.
The notifications sync only on devices that are online at the time you act on them. But if any device is offline, it will recieve these notifications later when it turns online. This becomes a headache if you connect a device (you don't use often) online after a few days. Because a very large number of old notifications (that have already been acted on) begin to bombard you each time.
Is there a way to force the notification sync in a way that a notification that has already been acted on in one device, stops showing up on other devices that come online later?
Look for an app that runs in the cloud. I believe that in that case, the notification will appear only once, because opening the interface to the application from the cloud does not launch another instance of the program.
ze7zez said:
Look for an app that runs in the cloud. I believe that in that case, the notification will appear only once, because opening the interface to the application from the cloud does not launch another instance of the program.
Click to expand...
Click to collapse
I'm not sure if you understood the problem mentioned in the OP correctly.
What can I do for apps like Gmail, Outlook, Calendar, YouTube, News apps, etc.
For now, I have simply turned OFF notifications on my other devices for most apps so I don't get bombarded with old notifications in each device.
I'm not sure if this is something that Google Play Services can fix, because that is the common service running on all Android phones.

Categories

Resources