Open AeliusSaionji opened 1 year ago
unfortunatly it is some hard limit of newer android apis. only as launcher there is full access to shortcuts: https://developer.android.com/reference/android/content/pm/LauncherApps#hasShortcutHostPermission()
if that is the only method to list and execute shortcuts, then ☹️
however that page mentions assist apps should have access still, and kiss set as the assist app still refuses with the same error.
Hmm, I also tried to setup KISS as assistant (because KLWP is not supported and/or KLWP has bugs) but shortcuts do not work. According to the linked docu assistant app should also be supported but it still does not work
Also:
...so even if a launcher application loses this permission, it does not have to purge pinned shortcut information. If the calling launcher application contains pinned shortcuts, they will still work, even though the caller no longer has the shortcut host permission.
So it should even work like that
if that is the only method to list and execute shortcuts, then ☹️
however that page mentions assist apps should have access still, and kiss set as the assist app still refuses with the same error.
Just tried again, unfortunately KISS has no rights to access shortcuts if it's not the main launcher. There is some more documentation from which it looks like access to shortcuts is exclusice to google assistant 😞 https://developer.android.com/guide/app-actions/dynamic-shortcuts
I see many other (not launcher) apps that do have access to shortcuts. Pixel search, Sesame search, Tasker. How do they access shortcuts without being a launcher?
hello!
I use KISS, but not as my launcher. For whatever reason, shortcuts refuse to launch, "kiss is not your main launcher anymore and can't access your shortcuts".
But many apps exist that can run shortcuts, so I know this isn't a hard limitation- at least not on newer android APIs.
Any chance this could be fixed up?
Thanks!