Skip to content

android: add shortcuts #677

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mahyarmirrashed
Copy link

Fixes tailscale/tailscale#16415

screen-20250716-221150.mp4

@mahyarmirrashed
Copy link
Author

@kari-ts Could I get your review on these changes? Thanks :)

@tobiasmcnulty
Copy link

Is it possible to hide or disable the shortcuts if "Force enabled connection toggle" ("Prevents the user from disconnecting Tailscale." is enabled via the MDM managed configuration? (Full disclosure: I'm not a Tailscale developer.)

@mahyarmirrashed
Copy link
Author

@tobiasmcnulty Yes, I think so. However, you'd need to change it from static shortcuts (the way it is currently) to dynamic shortcuts. I haven't looked into it but it seems like it's just one library to do it: https://developer.android.com/develop/ui/views/launch/shortcuts/creating-shortcuts#dynamic
I can make it as a follow-up PR to this PR. I'd just like to get these changes merged first before putting more time to the second one.

@mahyarmirrashed
Copy link
Author

@barnstar Could I get your review on this please?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

FR: Add Android App Shortcuts
2 participants