Skip to content

Conversation

@ExtendedGuru4883
Copy link

Users can now add a Quick Settings tile to quickly launch the app. This provides a convenient shortcut to access 2FA codes without searching for the app on the home screen or app drawer.

Changes:

  • Android: Added QuickTileService to the manifest.
  • Android: Implemented QuickTileService, the tile launches the main activity.
  • Android: Included a monochrome icon for the tile.

Description

This PR introduces a Quick Settings tile on Android to launch the Ente Auth app.

The following changes have been made:

  • AndroidManifest.xml Registered the new QuickTileService.
  • QuickTileService.kt Implemented the service that handles the tile's onClick event, which launches the MainActivity. The implementation handles the deprecated startActivityAndCollapse for backward compatibility.
  • drawable/ic_qs_monochrome.xml Added a monochrome icon for the tile, as required for the Quick Settings panel.

Related discussion #1026

Tests

Physical Device and emulator on Android 16 (SDK 36)
Result: The tile is correctly displayed and launches the app successfully.

Emulator: Android 5.0 (SDK 21)
Result: This test was performed to ensure backward compatibility on Android versions below API 24 (which do not support Quick Settings tiles). The app runs without any crashes or issues. The new code is correctly bypassed on older versions.

demo.mp4

Users can now add a Quick Settings tile to quickly launch the app.
This provides a convenient shortcut to access 2FA codes without searching
for the app on the home screen or app drawer.

Changes:
- Android: Added QuickTileService to the manifest.
- Android: Implemented QuickTileService, the tile launches the main activity.
- Android: Included a monochrome icon for the tile.
@CLAassistant
Copy link

CLAassistant commented Nov 8, 2025

CLA assistant check
All committers have signed the CLA.

@brog-io
Copy link
Contributor

brog-io commented Nov 9, 2025

I wonder would it be possible to copy a specific code from quick tile?

@ExtendedGuru4883
Copy link
Author

I wonder would it be possible to copy a specific code from quick tile?

Technically it should be possible, for example Bitwarden has a tile to autofill credentials. However this would require accessibility permissions to detect the active app or website when the tile is activated, and each entry in the authenticator would need to include its associated URLs.
In its current form, the tile still greatly improves the authentication flow: the user can use the tile to open the app and copy the code, and if the app is set to minimize on copy they are immediately back to the previous page to paste it.

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.

3 participants