Skip to content
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

secureTextEntry not working on Android #92

Closed
hugomosh opened this issue Jan 30, 2018 · 2 comments
Closed

secureTextEntry not working on Android #92

hugomosh opened this issue Jan 30, 2018 · 2 comments

Comments

@hugomosh
Copy link

The ** secureTextEntry** prop works on iOS but not for android.

react-native-cli: 2.0.1
react-native: 0.52.0
react-native-material-textfield@^0.12.0

@BrandonWilliamsCS
Copy link

Is this possibly the issue you're seeing?
facebook/react-native#17248
A fix for that issue has been merged into react-native and (if all goes well) is probably going to arrive in the version after 0.53.0. A workaround is to not use keyboardType of "visible-password" alongside secureTextEntry.

Another possible issue is that RN doesn't may not properly support secureTextEntry with certain keyboard types like "email-address".
facebook/react-native#15319

Personally, I'm not noticing any other secureTextEntry issues on Android for version 0.12.0. If neither case applies to you, consider adding more detail so the library's author can better diagnose the problem.

@n4kz
Copy link
Owner

n4kz commented Feb 2, 2018

Thanks for issue! I've tested example project with RN 0.51.0 and can say that secureTextEntry works as expected on Android. Probably the best option for now is to use older RN versions and wait for next major RN release.

@BrandonWilliamsCS thanks for research and great explanation!

@n4kz n4kz closed this as completed Feb 2, 2018
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

No branches or pull requests

3 participants