Neamar / KISS

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

Home screen shortcuts not available #1840

Open M1N0RM1N3R opened 2 years ago

M1N0RM1N3R commented 2 years ago

Is your feature request related to a problem? Please describe. Home screen shortcuts do not appear in KISS (eg. shortcuts added via browsers or other apps)

Describe the solution you'd like Allow home screen shortcuts from apps to appear in KISS

Describe alternatives you've considered, or that are already available within KISS I tried using simple automations in apps like Automate and Macrodroid triggered by a button widget, to no avail.

Additional context I was trying to add a home screen shortcut to open a PWA (progressive web app) in Brave. The PWA in question has no Android app equivalent on Play/Aurora or F-Droid.

Would you be able to contribute code? Probably not. I'm still learning the basics of Android development. :P

dylode commented 2 years ago

Any updates?

TBog commented 2 years ago

What Android version are you using? Maybe KISS needs some love and care for shortcuts?

I personally don't really use them. All I know is that some things changed with the newer Android versions and nobody bothered to update KISS.

I could port back some of the changes from my launcher but I'm not sure how messy the code would become.

marunjar commented 2 years ago

I won't say nobody bothered 😉 I just missed this issue, sry for that.

Meanwhile i'm using shortcuts for myself on a daily basis, including dynamic shortcuts and also PWA (e.g. twitter) and these works fine (at least on android 10 and with KISS as default launcher)

Additionally to android version @TBog already asked for also kiss version would be nice to have and if kiss is your default launcher?

bpstrngr commented 2 years ago

I am experiencing this too. On one phone with android 9 the chrome (pwa) shortcuts are there, but on another with android 11 they are missing from KISS. It's default launcher on both. Android 11 sounds like the sand in the machine.

Qu4tro commented 2 years ago

Can confirm the previous report. Worked on a phone with Android 8, it doesn't with a phone with Android 11.

Can I help in any way, to bring this feature to the current Android version? I have no experience in Android development, but I'm willing to spend some time on it.

marunjar commented 2 years ago

I just started an android 11 AVD and it works :( I can open chrome and browse to any site and then select "add to homescreen" or similar (e.g. for Twitter) As soon as i search for the shortcut (type Twitter) the shortcut is shown.

@M1N0RM1N3R @bpstrngr @Qu4tro can you provide a little more detail on your problem? Just to ensure the steps i take to reproduce bug are the same:

Qu4tro commented 2 years ago

Edit: Oh, forgot. Thank you!

TBog commented 2 years ago

Can you please also test on some other open source launcher? The default launcher is a special application.

Qu4tro commented 2 years ago

Yes. I went to FDroid, found Discreet Launcher , installed it, set it as the default launcher, added the shortcut and it worked fine.

Qu4tro commented 2 years ago

Just want to leave an update, as it is working now. I'm not completely sure what has changed, but it works with all three: Firefox, Chrome and WebApps.

I can't reproduce it any longer, but let me know if there's any useful additional information that I may provide.

Thanks.

despens commented 2 years ago

Here is running Android 11, and any shortcut added to the home screen via Firefox has KISS say "Whoops… unable to launch that app."

Under KISS "Search settings" I checked that "Shortcuts" is enabled. After tapping "Regenerate all app shortcuts", these Firefox home screen shortcuts do NOT appear anymore in the KISS launcher list.

As a next step, I added the shortcuts again in Firefox. Now KISS is recognizing and launching them just fine, PWAs as well as regular websites.

Maybe this can be a temporary fix for some users while the exact issue is being figured out.