Google Cloud Messaging for push notification doesn't work - Greenify

I have intalled both Greenify and the donate packet, i tried hibernate Facebook and Facebook Messenger. But there are no any notification pushed on my device. Can someone help me?
Sorry for my bad English

Is your device rooted? Did you also install xposed framework? Is the module activated in Xposed and the option checked in greenify?

enban said:
Is your device rooted? Did you also install xposed framework? Is the module activated in Xposed and the option checked in greenify?
Click to expand...
Click to collapse
Yes, of course. I rooted my phone, installed all apps required.

Greenifying Facebook will be a problem since the implementation of notifications by Facebook is different from the standard android way (as explained by the Dev. elsewhere).
But if you greenify Messenger, it will work with notifications unless Facebook changed something recently.
Search the main thread for other solutions.

Sorry for noob question
Grenify stuck at splash screen. On my galaxy nexus rom 4.4.4 why?

tnsmani said:
Greenifying Facebook will be a problem since the implementation of notifications by Facebook is different from the standard android way (as explained by the Dev. elsewhere).
But if you greenify Messenger, it will work with notifications unless Facebook changed something recently.
Search the main thread for other solutions.
Click to expand...
Click to collapse
So if i greenifyed Facebook, i can't get notifications anymore? It only works with Messenger app?
If i ungrenify Facebook, will notifications works normally again?

If you ungreemify any app, it should work as it was before.

Related

Greenify Gcm push notification

Hello all.
I've got this greenify app which now enables me to hibernate system apps and apps like whatsapp too without losing their notifications with the help of gcm service. BUT it's not working for me. can anyone help me why this problem is persisting?
Vtrendzzy said:
Hello all.
I've got this greenify app which now enables me to hibernate system apps and apps like whatsapp too without losing their notifications with the help of gcm service. BUT it's not working for me. can anyone help me why this problem is persisting?
Click to expand...
Click to collapse
*push* and +1
AmunReify said:
*push* and +1
Click to expand...
Click to collapse
I've figured it out. Uninstall Facebook and whatsapp. Restart device. install both applications from play store only. After that login and greenify and then try whether notifications are working. mine is working now.
just not hibernating automatically.

Aquamail

Has anyone used greenify on aquamail, i was just wondering what your experiences were like ?
sandybeach said:
Has anyone used greenify on aquamail, i was just wondering what your experiences were like ?
Click to expand...
Click to collapse
First, please share your experience...... You need to try it for yourself and share any good things/weird things you face.....This way this thread will benefit other people too... :good:
My bad sorry, well i found Greenify is a great litttle app and does exactly what i wanted it to do. I have used aquamail with greenify and i dont have any issues of notifications getting though?
Also one thing i do with Greenify is i use Llama to run Greenify and hibernate all chosen apps when the screen turns off (Llama is an automation tool) this way i only have one service running for Llama and Greenify instead of two
sandybeach said:
Has anyone used greenify on aquamail, i was just wondering what your experiences were like ?
Click to expand...
Click to collapse
Yes I'm using it. It greenifies the app as expected but aquamail does not support Google cloud notifications so recently I started using Cloudmagic for my exchange based email. Cloudmagic does support GCN notifications so greenify can "greenify" it but when an email arrives it is woken up by greenify and I get the email instantly. So I have push email without having the app running and having an open connection to the server (as push mail requires).
With Aquamail I had to either manually wake up the app to check email or not use greenify on it.
If someone knows of an option to have push email with greenify and aquamail and would love to hear it as I personally like Aquamail more than Cloudmagic.
morphmk said:
Yes Im using it. It greenifies the app as expected but aquamail does not support Google cloud notifications so recently I started using Cloudmagic for my exchange based email. Cloudmagic does support GCN notifications so greenify can "greenify" it but when an email arrives it is woken up by greenify and I get the email instantly. So I have push email without having the app running and having an open connection to the server (as push mail requires).
With Aquamail I had to either manually wake up the app to check email or not use greenify on it.
If someone knows of an option to have push email with greenify and aquamail and would love to hear it as I personally like Aquamail more than Cloudmagic.
Click to expand...
Click to collapse
I think you can try Acompli. It's better and it support gcm.:fingers-crossed:
trivita said:
I think you can try Acompli. It's better and it support gcm.:fingers-crossed:
Click to expand...
Click to collapse
Is there a way to change the swipe action in Acompli? I couldn't find this option.

Messenger is not being kept under hibernation for some reason

Basically after one of the latest FB Messenger updates, it's being woke up for some reason. Unrooted, Moto X 2014 retail running 5.1 and running current 2.7.1 release - I can't pinpoint the reason of the wakeup since the device isn't rooted but apparently it said "Wifi was scanned" other then GCM probably.
For further info, FB Messenger version is 42.0.0.17.137. Had a couple updates since it started but still happening.
rogeriorp said:
Basically after one of the latest FB Messenger updates, it's being woke up for some reason. Unrooted, Moto X 2014 retail running 5.1 and running current 2.7.1 release - I can't pinpoint the reason of the wakeup since the device isn't rooted but apparently it said "Wifi was scanned" other then GCM probably.
For further info, FB Messenger version is 42.0.0.17.137. Had a couple updates since it started but still happening.
Click to expand...
Click to collapse
If you can manage to run this shell command with USB debugging enabled and connected, you will get wake-up monitor on non-root device:
Code:
pm grant com.oasisfeng.greenify android.permission.READ_LOGS
oasisfeng said:
If you can manage to run this shell command with USB debugging enabled and connected, you will get wake-up monitor on non-root device:
Code:
pm grant com.oasisfeng.greenify android.permission.READ_LOGS
Click to expand...
Click to collapse
Yeah thanks, I know the culprit - it is facebook messenger. I don't even have the main facebook app installed to wakelock it, one of the updates broke greenify on no-root mode.
rogeriorp said:
Yeah thanks, I know the culprit - it is facebook messenger. I don't even have the main facebook app installed to wakelock it, one of the updates broke greenify on no-root mode.
Click to expand...
Click to collapse
Do you mean auto-hibernation in non-root mode is not working on your device? I made some tweak and bugfixes for non-root auto-hibernation in 2.8 beta 1, could you give it a try?
oasisfeng said:
Do you mean auto-hibernation in non-root mode is not working on your device? I made some tweak and bugfixes for non-root auto-hibernation in 2.8 beta 1, could you give it a try?
Click to expand...
Click to collapse
Will do tomorrow and report back in this post.
What is happening is, I set a gesture shortcut on my launcher to manually hibernate apps with all due accessibility access greenify requires in non-root mode, whenever im turning off the display. I dont do auto-hibernation since everything used to be fine, until facebook messenger started misbehaving; no other apps other than that one will wake up the device.
rogeriorp said:
Will do tomorrow and report back in this post.
What is happening is, I set a gesture shortcut on my launcher to manually hibernate apps with all due accessibility access greenify requires in non-root mode, whenever im turning off the display. I dont do auto-hibernation since everything used to be fine, until facebook messenger started misbehaving; no other apps other than that one will wake up the device.
Click to expand...
Click to collapse
Looks like auto-hibernation is working, but Facebook Messenger got woken somehow. Please identify the waker of Facebook Messenger with wake-up tracker, mentioned above. Thus I could give useful suggestion on that.
oasisfeng said:
Looks like auto-hibernation is working, but Facebook Messenger got woken somehow. Please identify the waker of Facebook Messenger with wake-up tracker, mentioned above. Thus I could give useful suggestion on that.
Click to expand...
Click to collapse
I thought I was the only one who is suffering from
Facebook app and Facebook messenger refusing to
Stay in hibernation! Am rooted, xposed framework
Version 73 up and running, boost mode working but
These two annoying apps by facebook were working
Well some months back but after some updates to
These apps, they keep waking themselves up from
Greenify hibernation.....
I started observing there behaviour and I discovered:
1) if you open any other user app that connects to the
Internet, Facebook and messenger come out of hibernation
2) if you hibernate without data connection, once you
Connect to the Internet facebook comes out of hibernation
3) if you open what's app, twitter, Instagram or any other
Social networking app, Facebook comes out of hibernation.
It's really, really, annoying.....
Am using the non donation app and wonder if the
Paid version of Greenify can stop this.......
Bolumstar said:
I thought I was the only one who is suffering from
Facebook app and Facebook messenger refusing to
Stay in hibernation! Am rooted, xposed framework
Version 73 up and running, boost mode working but
These two annoying apps by facebook were working
Well some months back but after some updates to
These apps, they keep waking themselves up from
Greenify hibernation.....
I started observing there behaviour and I discovered:
1) if you open any other user app that connects to the
Internet, Facebook and messenger come out of hibernation
2) if you hibernate without data connection, once you
Connect to the Internet facebook comes out of hibernation
3) if you open what's app, twitter, Instagram or any other
Social networking app, Facebook comes out of hibernation.
It's really, really, annoying.....
Am using the non donation app and wonder if the
Paid version of Greenify can stop this.......
Click to expand...
Click to collapse
Can you see any small text below the awake apps, like "Facebook is woken by XXX ... ago". You may need to enable the "Wakeup Tracker" option in experimental features first (not required on some devices).
oasisfeng said:
Can you see any small text below the awake apps, like "Facebook is woken by XXX ... ago". You may need to enable the "Wakeup Tracker" option in experimental features first (not required on some devices).
Click to expand...
Click to collapse
I don't think I have that option in my two different phones
Galaxy Note 2 GT-N7100 and AndroidOne.
Again as I opened what's app which I had removed from
Hibernation earlier, hibernated every app, put on data
Connection, opened what's app in about 8 seconds
Facebook and messenger came out of hibernation by
Themselves.
Am using IvanMeler CM 12.1 latest version but the same
Has been happening in CMX, RR, Nameless rom etc
Mine pops like this, unrooted: it says wifi was scanned, sorry about the portuguese. Running the latest beta, like you said oasis.
http://i.imgur.com/ELiJrQ1.png.
@oasisfeng, see this sub thread also. http://forum.xda-developers.com/apps/greenify/gcm-push-notification-behaviour-t3225994
He is also complaining of the same issue. From his explanation and also from the first image in post no.9 above, it seems that connection to the internet triggers the wakeup.
Just to clarify the issue.
I don't use Facebook or Messenger.

Facebook notifications

I have latest FB app, turned on all notifications but I don't get any push notifications. Gmail and messenger notifications are working. I have nova Launcher Prime and missed it plugin installed. What could be a problem?
You rooted? If so, possible causes are Greenify or PowerNap.
Not rooted
eos1911 said:
Not rooted
Click to expand...
Click to collapse
may be the notifications are blocked, see in settings-> sound and notification-> application notification
Missed it plugin seemed to have problem with certain apps
Also, check if you're using STAMINA mode and if so, whitelist FB Messenger.

Some apps get duplicate notifications when Greenify xposed features enabled.

Hello,
Some apps like twitter, reed.co, and even push notification tester get duplicate notifications even if they are not in the hibernation list.
Disabling greenify in the exposed modules list fixed that.
I have the same problem with every push notification, every notification is twice. Even with apps which are not greenified.
Is there any fix or workaround?
I have the same problem but only with Twitter. For other apps is fine.
I tested again and I only get double notifications when I activate "GCM Push for greenified Apps" in xposed settings of Greenify. If I turn that off I get the notifications as it should be...
Now I have to test if notifications are being shown without activating this although apps are in greenified state...
same here, I disabled "GCM Push for greenified Apps and double notifications are gone!!
patrickdrd said:
same here, I disabled "GCM Push for greenified Apps and double notifications are gone!!
Click to expand...
Click to collapse
Some notifications may be delayed with this option disabled. However, recent Greenify enhancements support per app hibernation modes so you can likely find a satisfactory balance. GCM push for hibernated apps was a nice option at one time but is now depreciated IMO as doze and Greenify have evolved.
1) I don't see any delayed notifications, the apps I want to have notifications for are excluded from hibernation of course
2) I'm using latest greenify 3.8.9 from apkmirror
3) I don't have doze I guess because I've got KitKat and LolliPop,
all in all, it was a nice feature to have, but it has a lot of issues/doesn't work,
besides duplicate notifications, somebody has to test and find himself (by trial and error) which apps are
supported to... "pass through" and which don't work
I don't have any delayed notification either.
All notifications timing are working just fine. Even greenifing facebook, whatsapp, or viber makes them get their notifications correctly and instantly (yet I don't recommend greenifying the most frequently used apps like facebook or messenger).
The only issue i have is that duplicate notifications when greenify is enabled.
Maybe because i'm still on Kitkat, I don't know.
FuTChY said:
I don't have any delayed notification either.
All notifications timing are working just fine. Even greenifing facebook, whatsapp, or viber makes them get their notifications correctly and instantly (yet I don't recommend greenifying the most frequently used apps like facebook or messenger).
The only issue i have is that duplicate notifications when greenify is enabled.
Maybe because i'm still on Kitkat, I don't know.
Click to expand...
Click to collapse
That's because you probably have GCM push enabled in greenify Xposed settings.
Sent from my LG-H850 using Tapatalk
Hadi99 said:
That's because you probably have GCM push enabled in greenify Xposed settings.
Sent from my LG-H850 using Tapatalk
Click to expand...
Click to collapse
Yes, that's why.
I disabled it and the issue is fixed. But unfortunately I had to enable it again as I'm greenifying some apps that receive push notifications.

Categories

Resources