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
App shows only 4 digits of a 6 digit code #147
Comments
Thank you for the report. I cannot reproduce the issue on my emulator or on galaxy s20. Could you share a screenshot to illustrate the issue? |
Included you'll find the two screenshots. Excuse the quality - since the While taking the shots I've come across another problem: The app invalidates |
Thanks for the detailed report. I know the issue now. Galaxy note 8 has 414dp width but new freeotp is treating 400+ dp as tablet and is displaying two columns. I will fix the issue asap by using 480dp width instead. |
Great - thanks for your work. Another approach would be to split the screen horizontally in two parts:
Other apps use this layout and it is quite elegant. |
The issue is fixed with |
2.5 was released to fix the issue. |
Great - I've just checked and the problem is indeed fixed. The second issue, however, is still there - the token displayed |
Problem: After scanning a 6 digit code only 4 digits are displayed.
The problem is caused by the two token per line grip layout - the
column is not wide enough for a 6 digit code.
Background: I was setting up the 2FA on Github with FreeOTPPlus but
couldn't enter the required 6 digits since the app gave me only 4 digits.
First I tried padding the number with zeros which expectingly didn't work.
Tapping on the Github token showed that the app correctly found a 6 digit token.
Quick fix: As a last resort to display the missing 2 digits I rotated the
device from portrait to landscape orientation. And voila, 6 instead of 4
digits were displayed.
Platform: FreeOTPPlus 2.4 (15), Android 9 on Samsung Note 8 (SM-N950F)
with latest updates installed.
The text was updated successfully, but these errors were encountered: