Neamar / KISS

Lightning fast, open-source, < 250kb Android launcher
https://kisslauncher.com/
GNU General Public License v3.0
2.97k stars 582 forks source link

Notification Links Not Working KLWP #1960

Open BazT82 opened 2 years ago

BazT82 commented 2 years ago

Hi,

Just started using KISS and it seems perfect for me so far!

Just one issue I've found linked with KLWP.

I have a notifications widget that shows notifications text and the notification icon. When I click the text, the widget should vibrate and then open the notification, e.g. the WhatsApp message. When I click the notification icon, it vibrates and closes the notification.

The close notification works fine, however, when I click the text to open the notification, it just vibrates, it doesn't open the app related to the notification. I had the same widget working on Nova Launcher, so I know the link is correct.

Any help would be much appreciated, it could be that I just don't have a setting set correctly.

Thanks!

TBog commented 2 years ago
  1. We should probably look at the logcat for more info.
  2. Could you provide the widget so we can debug the behavior?
BazT82 commented 2 years ago

Apologies, its a KWLP wallpaper, do you want me to send that?

TBog commented 2 years ago

Are you talking about Notification Station for KLWP?

BazT82 commented 2 years ago

No, its KLWP, i have created a text object, then under 'touch' i have 'Kustom Action => Open Notification' image

BazT82 commented 2 years ago

To add some more info, the time, date and weather info all open apps directly when touched. They all work fine, so it looks like it's just related to opening notifications

TBog commented 2 years ago

Does the "Open Notification" action work when using some other launcher (not KISS)? I don't see how this problem is because of KISS :confused:

BazT82 commented 2 years ago

It works in Nova, Lawnchair and Smart Launcher 6.

i'll do some more testing but wasn't sure if it was an issue with KISS and accessing notifications or something like that?


From: TBog @.> Sent: 10 August 2022 15:25 To: Neamar/KISS @.> Cc: BazT82 @.>; Author @.> Subject: Re: [Neamar/KISS] Notification Links Not Working KLWP (Issue #1960)

Does the "Open Notification" action work using other launcher (not KISS)? I don't see how this is related to the launcher 😕

— Reply to this email directly, view it on GitHubhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FNeamar%2FKISS%2Fissues%2F1960%23issuecomment-1210750907&data=05%7C01%7C%7C4b53af0aa6ff43fcd6b008da7adc28b9%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637957383233289434%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=q6glUr2A4r6OQ7ZCHB6v2K28sLoWNoPJI7j90zOKgSU%3D&reserved=0, or unsubscribehttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FA2OYQO6OS7BVCTBSS64CG6DVYO3VDANCNFSM56ESKHXQ&data=05%7C01%7C%7C4b53af0aa6ff43fcd6b008da7adc28b9%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637957383233289434%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=2efUtf30Y7S705e2MzISwTmBxzQALVgSUIL%2BXg44yqo%3D&reserved=0. You are receiving this because you authored the thread.Message ID: @.***>

TBog commented 2 years ago

The launcher is only forwarding the touch event to the wallpaper.

The notifications are handled by Android afaik.

pipip commented 1 year ago

I have exactly the same issue and found the following lines in logcat: ActivityThread: Failed to find provider info for fr.neamar kiss KLWPSWpGL Service: Unable to handle touch KLWPSWpGL Service: java.lang.lllegalArgumentException: Unknown URL content://fr.neamar.kiss/reset5secs

https://help.kustom.rocks/i194-launchers-touch-features-support-aka-remove-5-secs-delay

Maybe this could solve the problem?

samotar commented 1 year ago

I have exactly the same issue and found the following lines in logcat: ActivityThread: Failed to find provider info for fr.neamar kiss KLWPSWpGL Service: Unable to handle touch KLWPSWpGL Service: java.lang.lllegalArgumentException: Unknown URL content://fr.neamar.kiss/reset5secs

https://help.kustom.rocks/i194-launchers-touch-features-support-aka-remove-5-secs-delay

Maybe this could solve the problem?

Seconded. Same problem on my end with the same entries from logcat. However not only for notification links, but for all kind of apps or intent shortcuts that are not native to KLWP.

Interestingly enough, everything works fine when KISS is not the default launcher. As soon as it's set to "always default", KLWP fails to open the shortcuts.

BazT82 commented 1 year ago

Just tried this and got the same result, the links work if Kiss is not set as default launcher

samotar commented 1 year ago

Since having updated to KLWP 3.72b311310, app shortcuts seem to work for me again. I can't make out why from the release notes (kustom.rocks), but it does seem to work. Logcat looks fine as well in that regard.

The Open Notification Action is still not working and throwing the same error though. :/