SimenCodes / heads-up

Heads-up notifications - Get the new heads-up notifications from Android Lollipop on any device, for free!
http://simen.codes/app/android-5-headsup-notifications/
GNU General Public License v3.0
178 stars 60 forks source link

Heads up does not always pop up on the Galaxy Note 5. #108

Closed Richard-g-h closed 8 years ago

Richard-g-h commented 9 years ago

Device administrator and Notification access is turned on for this app but it doesn't pop up all the time. I have to keep on tapping Test in the app to turn it on everytime it doesn't show up. It then works for a few minutes and stops working. Reinstalling the app and rebooting my phone doesn't help. It works perfectly on my Galaxy S4 and Galaxy Tab S but I have no idea why it doesn't work on the Galaxy Note 5.

SimenCodes commented 9 years ago

Hi,

This sounds like you have something on your device that stops the service. Could you check memory usage by other apps?

Also, what do you mean by "have to keep tapping Test", are you saying that the test popup doesn't appear the first time you try?

Richard-g-h commented 9 years ago

I stopped all apps that might force close this app. I have similar apps on my Galaxy Note 5, S4 and Tab S but heads up still does not pop up.

I have to keep on tapping the Test button on the app (which does appear) to make sure I know the app works. But it stops appearing (not the test pop up) after a while.

SimenCodes commented 9 years ago

Instead of tapping the test button, try to turn the service off and then back on (tap the big "Toggle Heads-up" button just above the "Test" button, and then switch Heads-up off/on in the next screen).

The test button/popup itself isn't connected to the actual notification listener in any way, but your device probably notices that Heads-up keeps trying to run a service, so it might allows the "real" notification listener to run for some time too.

Also, after Heads-up stops working, does it show up under System Settings > Apps > Running?

Richard-g-h commented 9 years ago

Now it doesn't even pop up anymore even after tapping test. I've turned off and on Notification access and Device administrator for Heads-up many times but it still doesn't work.

Yes it still shows up after Heads-up stops working. It has one process and one service.

SimenCodes commented 8 years ago

That's very strange, I honestly have no idea why it happens. I know it takes some time, but could you try to get an ADB log from your device?

This is a little complicated if you're not used to the command line, but it's not rocket science either. It's OK if you don't have time to do it or don't feel like going that far to fix this. ​

If you want to try, you can get ADB for Windows here: http://forum.xda-developers.com/showthread.php?p=48915118#post48915118 If you use Ubuntu, search for "android tools adb" in the Software Center. I don't know about OSX, try Google.

Then, update to the testing version of heads-up from here: https://play.google.com/apps/testing/codes.simen.l50notifications

Now, enable USB debugging on your phone​ and connect it to the computer​: http://www.droidviews.com/how-to-enable-developer-optionsusb-debugging-mode-on-devices-with-android-4-2-jelly-bean

​Next, open the command prompt or terminal on your computer. In the terminal, enter adb logcat -f /mnt/sdcard/headsuplog.txt​, and send yourself an email.​ ​After the email arrives on the phone and Heads-up turns on the screen, press Ctrl+C to stop the logging. The log will be on the internal storage on your phone. If you could send it to me, that'd be great! ​​ Important: If an app opened any private data while the log command was running, that data might make it into the log. Feel free to replace any private data with an X or something.

I know this is complicated, and it's ok if you don't do it.

Richard-g-h commented 8 years ago

I'm already using the testing version of heads-up.

I rather not get an ADB log if it exposes my private data from my phone.

SimenCodes commented 8 years ago

That's OK, but then I can't fix the problem.