Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Launcher supports shortcuts but app errors with "Your default launcher does not support adding shortcuts" #606

Closed
sudomain opened this issue Apr 25, 2021 · 5 comments
Labels
always-fresh Issues that will never become stale bug Something isn't working priority/medium

Comments

@sudomain
Copy link

Description

My launcher supports shortcuts but Noice gives the error Your default launcher does not support adding shortcuts. The launcher in question is Rootless Pixel Launcher which supports Android shortcuts and widgets.

To Reproduce

  1. Use Rootless Pixel Launcher
  2. in Noise, go to saved presets and try to add a shortcut to the homescreen
  3. Get "Your default launcher does not support adding shortcuts". Note that I can only see this error when the phone is in landscape orientation: If it's in portrait mode I only see part of the message as it's cutoff by the text "show saved presets on app startup", but this is a separate issue.

Screenshots

Others

  • Device: LGL84VL
  • Android Version: 7.0
  • App Version: 0.16.0 (F-Droid)

I have no attachment to this particular launcher and I can switch to an alternative that fills these needs:

  1. On Fdroid
  2. Supports shortcuts and widgets
@sudomain sudomain added the bug Something isn't working label Apr 25, 2021
@ashutoshgngwr
Copy link
Member

ashutoshgngwr commented Apr 26, 2021

Are you able to create app shortcuts from other apps? I tried to reproduce it, but unfortunately, I couldn't.

screen-20210426-080807.mp4

@sudomain
Copy link
Author

Yup. There are shortcuts and widgets that can be added by long-pressing a blank area on the home screen. Termux is an app that had one of each. There's also shortcuts that can only be added from within the app which it seems is the kind Noice uses. Firefox has one of these (hamburger menu > add to homescreen) which also works with this launcher.

@ashutoshgngwr
Copy link
Member

ashutoshgngwr commented Apr 26, 2021

Can you examine the installed APK on your device and see if it has com.android.launcher.permission.INSTALL_SHORTCUT permission? Noice uses Jetpack compact API to create shortcuts. Other than missing permission, I can't see any reasons why it shouldn't be able to add shortcuts.


Edit: Looks like the permission is missing, which should have been added by the compat library since the API wasn't documented/official before Android 26. 😐

@ashutoshgngwr ashutoshgngwr added always-fresh Issues that will never become stale priority/medium and removed priority/low labels Apr 26, 2021
@sudomain
Copy link
Author

Yup, that perm isn't listed.

@sudomain
Copy link
Author

I got the update from FDroid and now shortcuts show up on the homescreen. When I try to play one of these shortcuts though it gives me a toast saying "App isn't installed". This may be an issue with this launcher though

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
always-fresh Issues that will never become stale bug Something isn't working priority/medium
Projects
None yet
Development

No branches or pull requests

2 participants