aghontpi / ad-silence

Mute Ad/promotions from Accuradio, Spotify, Soundcloud, TIDAL & Pandora Android. Minimal, extensible & lightweight under 150kb.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

android 12 mute issue?

aghontpi opened this issue · comments

Not working on any apps with device running android 12 - reported by @jpbaril

I'm using a pixel 3xl running Android 12. It's not working for me.
I really want it to, because I respect the minimalist philosophy.

I'm on a custom android 12 rom named PixelPlusUI and it works fine for me on all music providers. Might check the permissions to make sure it has access to notification and you have it exempted from "battery optimization" or whatever your device might call it. You'll likely have a better chance of getting it fixed if you provide Phone Model, Rom (stock or link to rom) along with Android version. Additionally you should include a logcat so he can investigate any errors. You can do that running an app like matlog which is available on google play as well as f-droid.org (free open source apps). If you have adb setup with your phone you can do "adb logcat > myerror.log" and then while that's running start the app and a music service....once the error has occured you can cancel the adb logcat with ctrl c.

Matlog is recommended as it has an option in the settings to remove anything important like phone numbers, email etc from the logcat.

Your log will show if it's finding ad's....example:
cat test.log | grep silence
03-26 15:06:15.301 4999 4999 D nodomain.freeyourgadget.gadgetbridge.externalevents.NotificationListener: Notification posted: bluepie.ad_silence: null
03-26 15:06:15.305 17735 17735 I PhoneNotificationListenerService: onNotificationPosted. Key: 0|bluepie.ad_silence|69|null|10455, PostTime: 1648321575076, Application Running: false, zionAccessoryConnected: false, ampdDevice: false
03-26 15:06:15.305 17735 17735 I PhoneNotificationListenerService: broadcastIntent - eventName = NOTIFICATION_POST, SBN Package = bluepie.ad_silence
03-26 15:06:15.305 17735 17735 I PhoneNotificationListenerService: createNotificationIntent - Parsed notification is null - SBN Package: bluepie.ad_silence
03-26 15:06:15.306 17804 17804 I Service : Notification from Ad-silence ignored for reason(s): Ignored app
03-26 15:06:15.337 25886 25886 V LASTMESSAGEi: Received last update Ad-silence - AdSilence, ad-detected