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
OTP Autofill #17
Comments
Hi, I have yet to add the changes to make it compatible with iOS 12. Will be doing it in the upcoming release. |
@appcornerit I've added an option |
thanks! There are some issues:
|
Okay, I will investigate. Removing the pre-filled space might not work since we need it for detecting the backspace event. |
As suggestion I applied the workaround (not prefilled) just for the first text field only, because I'm avoiding to close the keyboard on the first field for backspace. |
Can you please help me out on this how to solve this issue |
just add condition
(textField.tag == 101 is first textfield) |
It doesn't work even after setting isContentTypeOneTimeCode to true. Unable to fetch the OTP directly from messages. |
@sreekumar88 I was able to get this working by making two changes to the source code of this project. First inside SVPinView collectionView(_,cellForItemAt:) the find the comment // setting up textField and change:
To this:
One more change is required inside textFieldDidBeginEditing change the:
To this:
If you don't do this you will not see the code in the keyboard, but if you are in the first text field and hit the back space you will see it briefly then it will disappear as the empty string is added. |
isContentTypeOneTimeCode is not working. |
OTP Autofill still not working i'm testing it on IOS12 |
I tried this and also applied this code in textFieldDiDChange method, but, it is not working. It does show otp briefly when I hit back space, but, it disappears. |
Not working I have tried this option as well |
Hi, |
I’ll look closer at all the changes I have made but I HAVE been using it for auto fill since my original message on how to fix it. |
There is a work around for this issue. We just need to change every to textField.tag == 101 ? "" : " " |
I am facing the same issue. Any resolution for this? Please help. |
Hi,
I have done some modifications and it is working fine now. Logic was I
removed the space for first cell only. Without it everything is working
fine for me. If you want I can share the code file. Let me know.
…On Tue, 22 Oct, 2019, 9:45 AM akku20080, ***@***.***> wrote:
I am facing the same issue. Any resolution for this? Please help.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#17?email_source=notifications&email_token=AHG2NO5E5KD72HTL7DGYU23QPZ447A5CNFSM4FZHGNY2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEB4POGQ#issuecomment-544798490>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AHG2NOZEG377O4Y7YAQOGFDQPZ447ANCNFSM4FZHGNYQ>
.
|
Yes please. |
Hi, I have added the SVPinView.swift file with my modifications. Please go through this, I hope this will resolve the issue. |
Thanks, it worked for me. |
sorry to say , its not working for me ?? after replacing the SVPinView.swift. file in my code.. please suggest?? |
Well it officially seems like the author of this library is MIA I have started on a new version with some additional features for a current client I’ll post it on github once it’s finished. |
Hi,
Can you tell what kind of error it is giving? As far as I can tell, it
should work.
…On Thu, 24 Oct, 2019, 12:14 PM iPiyushBaranwal, ***@***.***> wrote:
Hi, I have added the SVPinView.swift file with my modifications. Please go
through this, I hope this will resolve the issue.
SVPinView.swift.zip
<https://github.com/xornorik/SVPinView/files/3753955/SVPinView.swift.zip>
sorry to say , its not working for me ?? after replacing the
SVPinView.swift. file in my code.. please suggest??
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#17?email_source=notifications&email_token=AHG2NO6PVHG5PVTJGBCIN23QQE75XA5CNFSM4FZHGNY2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOECD4Z3Y#issuecomment-545770735>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AHG2NO6UCSCIPGJHZ2UFY2DQQE75XANCNFSM4FZHGNYQ>
.
|
I have just replaced provided SVPinView.swift file and trying to implement the process of auto fill otp functionality. let me know if you need more specification on it .. thanks |
GUYS CHECK THIS #35 |
pinviewobj.isContentTypeOneTimeCode = true |
so it working? |
Please help me. I am getting empty in first two text fields. Please send your code. praveenkumar.iosdeveloper@gmail.com |
Hi,
SPView doesn't work with textContentType = .oneTimeCode (ex: add textContentType to the first SVPinField).
Any idea how to solve the issue?
The text was updated successfully, but these errors were encountered: