iOS app is crashing when using Titanium.UI.AUTOFILL_TYPE_PASSWORD as they getting this 2 issues:
1. Since a password text field exists then various text fields within the app will show the password toolbar even though they have no autofill type. This becomes very confusing like when you are entering text into a field called stock number and the password toolbar shows.
2. Even if I remove autoFill type password from the password field since it has a password mask set to true it will show the password toolbar. If I remove password mask it will not show the password toolbar but it will also not mask the text.
*App Link with recorded video*
*Steps to Reproduce:*
1. Using autofillType:Titanium.UI.AUTOFILL_TYPE_PASSWORD, from the above video, you can get icloud keychain opens up for a password when it got clicked. The issue occurred by going to the next page even though those fields neither an autofill nor password fields but they also show the password toolbar when click on them.
2. To show password toolbar in simulator, go to Settings > Accounts and Password > AutoFill Password turn on. You will get the issue.
This problem is happening only when text field of next screen is just above the user-name text field. e.g if I set property 'top' of 'modelField' text field to '20' in below mentioned text case, the problem will not happen. I'll look in same. Thanks! Test Case -
A work around to solve this issue is - While opening the new screen set contentType of current screen's username and password field to 'null'. While opening the previous screen again set contentType to previous one. See the modified version of above test case with this work around -
Thie problem is happening on native iOS app as well. I have attached native iOS app 'TestPassword.zip'. I'll file bug to apple.
Filed a bug to apple https://openradar.appspot.com/radar?id=5053487494725632 .