Skip to content

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