Author Topic: Message Counter Badge not working on Sony Android 7  (Read 10583 times)

chlopiec

  • Newbie
  • *
  • Posts: 4
Message Counter Badge not working on Sony Android 7
« on: June 27, 2017, 10:51:22 pm »
Hello,
I am a very happy user of AquaMail Pro (v 1.10.0). I have just switched to a new phone - Sony Xperia XZ Premium (Android 7.1.1) and came upon a new issue.
There is no notification badge on my AquaMail icon :(.
I couldn't find anything applicable in the settings window. I just can switch the style of the AquaMail widget. It works properly with the standard Android style of badges, while the Samsung TouchWiz style limits the number display to 99. However, the badge on the main icon (which I keep in my dock) is not visible.
According to your help page, the badge should work on the new Sony Xperia phones. What's more, the badges work in case of some other applications (even the 3rd party apps, like BBM).

Could you kindly please correct this issue? I think the way to resolve it is to implement the new Xperia Home Badge API:
link: developer.sony.com /2016/06/23/xperia-home-badge-api-now-publicly-available/
I have also found a StackOverflow thread about a similar matter, which might be helpful to you:
link: stackoverflow.com /questions/20216806/how-to-add-a-notification-badge-count-to-application-icon-on-sony-xperia-devices

All best,
Marcin.

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: Message Counter Badge not working on Sony Android 7
« Reply #1 on: June 30, 2017, 07:53:36 pm »
Aqua has had support for Sony's new API since end of last year.

Please check app settings -> message notifications -> "launcher icon counter" (it's at the very end of that screen).
Creating debug logs for diagnostics: https://www.aqua-mail.com/troubleshooting/

The official FAQ: https://www.aqua-mail.com/faq/

Лог-файлы для диагностики: https://www.aqua-mail.com/ru/troubleshooting/

Вопросы и ответы: https://www.aqua-mail.com/ru/faq/

chlopiec

  • Newbie
  • *
  • Posts: 4
Re: Message Counter Badge not working on Sony Android 7
« Reply #2 on: July 03, 2017, 03:31:47 pm »
Thank you for your answer. It is consistent with what I've already found on this website, but unfortunately contrary to what I found in the application.
Please take a look at the screenshots. I especially changed the language settings to English so that I can precisely compare the naming of options.
This is how the end of app settings -> message notifications page looks in my case:
newbielink:https://www.dropbox.com/s/t6lcpkuypa7gq61/Screenshot_20170701-151913.png [nonactive]

This is what shows up when I try to look for launcher icon counter option:
newbielink:https://www.dropbox.com/s/6d2kbudirj3b89p/Screenshot_20170701-152028.png [nonactive]

And this is how my app information page looks like (after I've changed the language back to mine"
newbielink:https://www.dropbox.com/s/vy0ma4l7yjvhekd/Screenshot_20170701-152109.png [nonactive]

Do you know why there is no "launcher icon counter" option on my phone?
« Last Edit: July 03, 2017, 03:34:20 pm by chlopiec »

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: Message Counter Badge not working on Sony Android 7
« Reply #3 on: July 04, 2017, 10:03:26 pm »
Supposed to be like this (the "text to speech" setting is new, please ignore).

The code checks for a package (app) ID - "com.sonyericsson.home".

Perhaps your phone has a new Android version which uses a different package name?

Can you please go into phone settings -> Apps -> Menu (three dots) -> Show system apps and then

Look for com.sonyericsson.home or similar -- maybe they've renamed it, say "com.sony.home2" or something?
Creating debug logs for diagnostics: https://www.aqua-mail.com/troubleshooting/

The official FAQ: https://www.aqua-mail.com/faq/

Лог-файлы для диагностики: https://www.aqua-mail.com/ru/troubleshooting/

Вопросы и ответы: https://www.aqua-mail.com/ru/faq/

pyler

  • Sr. Member
  • ****
  • Posts: 412
« Last Edit: July 05, 2017, 11:35:14 am by pyler »
Do you want to use the latest AquaMail version?
Try AquaMail Updater!

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: Message Counter Badge not working on Sony Android 7
« Reply #5 on: July 05, 2017, 02:06:06 pm »
Thanks @pyler... I'm also going to try resolveContentProvider in case the package name is something else again.
Creating debug logs for diagnostics: https://www.aqua-mail.com/troubleshooting/

The official FAQ: https://www.aqua-mail.com/faq/

Лог-файлы для диагностики: https://www.aqua-mail.com/ru/troubleshooting/

Вопросы и ответы: https://www.aqua-mail.com/ru/faq/

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Creating debug logs for diagnostics: https://www.aqua-mail.com/troubleshooting/

The official FAQ: https://www.aqua-mail.com/faq/

Лог-файлы для диагностики: https://www.aqua-mail.com/ru/troubleshooting/

Вопросы и ответы: https://www.aqua-mail.com/ru/faq/

chlopiec

  • Newbie
  • *
  • Posts: 4
Re: Message Counter Badge not working on Sony Android 7
« Reply #7 on: July 06, 2017, 02:45:38 am »
Dear Kostya,
I've checked and there is no com.sonyericsson.home on my list. I've got the Xperia Home app installed, but it doesn't display the name in the domain format as you asked. The only thing I've found is that on Google Play Store it is available as com.sonymobile.home:
newbielink:https://play.google.com/store/apps/details?id=com.sonymobile.home [nonactive]
(as @pyler suggested)

I've tried the dev version and it works properly :)
Thank you very much for a quick fix.


Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: Message Counter Badge not working on Sony Android 7
« Reply #8 on: July 06, 2017, 09:34:31 pm »
Thanks +1, @pyler!

Creating debug logs for diagnostics: https://www.aqua-mail.com/troubleshooting/

The official FAQ: https://www.aqua-mail.com/faq/

Лог-файлы для диагностики: https://www.aqua-mail.com/ru/troubleshooting/

Вопросы и ответы: https://www.aqua-mail.com/ru/faq/