-
Notifications
You must be signed in to change notification settings - Fork 104
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Enable short verification codes remotely and related UI facelift #16
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking great! 👍 🚀
A couple of points:
- can you test on Android too to be sure it doesn't break anything?
- could you add screenshots so it's easier to review the UI changes?
Platform.OS === 'ios' && numberOfLines | ||
? LINE_HEIGHT * numberOfLines | ||
: undefined, | ||
}} | ||
autoCapitalize="none" | ||
testID={testID} | ||
/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we also want keyboardType
to be number-pad
when shortVerificationCodesEnabled
is true
, right?
@jeanregisser great suggestions! |
Platform.OS === 'android' | ||
? 'visible-password' | ||
: shortVerificationCodesEnabled | ||
? 'number-pad' | ||
: undefined |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't we want number-pad
too on Android?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm slightly worried about the comment above autoCorrect={false}
, which starts with // This disables keyboard suggestions on iOS, but unfortunately NOT on Android ...
. So, I'm hesitant to replacevisible-password
with number-pad
. WDYT?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes I was fighting to disable autoCorrect
on Android.
But here using number-pad
should be safe on both iOS and Android when shortVerificationCodesEnabled
is true
.
And we can keep the existing logic when it's false
.
Hi @i1skn we have verified this task using latest Android Internal Build V1.12.0(1004294340) & Test flight build V1.12.0(49) and observed the followings.
User is able to receive 8 digit verification codes and able to complete the verification flow when user go through below scenarios:
Observation: Confirmation error message is shown on confirming screen when user keep the app in background while receiving codes, Please let us know if we need to test anything else in this task. |
@Celoqa Thanks for checking it, can you please open an issue with attached logs/video, so I can check is that an expected behaviour or not. Thanks! |
Sure @i1skn We will raise a new issue with attached logs. |
Thanks! |
Hi @i1skn Can you please confirm below issue is expected Or not if not we can raise a new issue.
Build: Android Internal Build V1.12.0(1004294340) & Test flight build V1.12.0(49)
|
Description
Enable short verification codes remotely and related UI facelift
Tested
iOS & Android both with enabled and disabled feature
Related issues
Backwards compatibility
Yes
Screenshots