Is your feature request related to a problem? Please describe
Typing my username and password every time I open the Android app is frustrating, especially since I use it daily on my device. It’s a repetitive step that slows down access.
Describe the solution you'd like
Add an autologin feature that triggers when the app starts. On launch, it should:
- Check
SecureStoragePlugin for saved accounts.
- If an account has
autoLogin: true, attempt login using stored credentials (e.g., authenticate(login, atob(password))).
- On success, redirect to the main screen (
router.push("/")).
- On failure or no autologin account, fall back to the manual login screen.
Store credentials securely using Android’s secure storage (via SecureStoragePlugin), and include a toggle in account settings to enable/disable autoLogin per account.
Describe alternatives you've considered
- Pre-filled fields: Could auto-fill login/password, but still requires a manual "Login" tap, which isn’t as seamless as autologin.
- Stay logged in: Thought about a persistent session (e.g., keeping a token), but this risks authorization issues (e.g., token expiration or server-side logout), forcing re-login anyway. Autologin avoids this by re-authenticating on startup, ensuring a fresh session without constant user input.
Additional context
This would streamline daily use for Android users while keeping security intact. Consider tying it to Android’s biometric auth (e.g., fingerprint) for extra protection if autologin is enabled. The autoLoginAttempted flag in sessionStorage could prevent repeated attempts in one session, resetting only on app close.
Is your feature request related to a problem? Please describe
Typing my username and password every time I open the Android app is frustrating, especially since I use it daily on my device. It’s a repetitive step that slows down access.
Describe the solution you'd like
Add an autologin feature that triggers when the app starts. On launch, it should:
SecureStoragePluginfor saved accounts.autoLogin: true, attempt login using stored credentials (e.g.,authenticate(login, atob(password))).router.push("/")).Store credentials securely using Android’s secure storage (via
SecureStoragePlugin), and include a toggle in account settings to enable/disableautoLoginper account.Describe alternatives you've considered
Additional context
This would streamline daily use for Android users while keeping security intact. Consider tying it to Android’s biometric auth (e.g., fingerprint) for extra protection if autologin is enabled. The
autoLoginAttemptedflag insessionStoragecould prevent repeated attempts in one session, resetting only on app close.