This PR introduces the "Account Synchronization" feature, which allows users synchronize their accounts across multiple devices through the scan of a QR code. This is a credentials-free solution that eliminates the need for users to have to authenticate with a password or provide their email address in case they want to access their account's features, such as favorite lines or stops on multiple devices.
Key Features
Account Synchronization
QR Code: A QR code is now displayed in the app's drawer, allowing users to scan it and synchronize their accounts across multiple devices.
Add-Device Screen: A new screen is introduced, where the QR code will lead. It will automatically detect the device's Id and the incoming token to synchronize the account.
API Routes: The API routes related to the Account Synchronization feature are now available.
JSON Web Token (JWT)
JWT Token Generation: A new function is introduced to generate a JWT token for the user's account.
JWT Token Verification: A new function is introduced to verify the JWT token for the user's account.
JWT Token Decryption: A new function is introduced to decrypt the JWT token for the user's account.
Description
This PR introduces the "Account Synchronization" feature, which allows users synchronize their accounts across multiple devices through the scan of a QR code. This is a credentials-free solution that eliminates the need for users to have to authenticate with a password or provide their email address in case they want to access their account's features, such as favorite lines or stops on multiple devices.
Key Features
Account Synchronization
JSON Web Token (JWT)