sms_autofill
sms_autofill copied to clipboard
OTP doesn't filled sometimes
I am using this library to fill the OTP which works in most of the cases, but sometime it doesn't catch the OTP even though the message is arrived properly with the OTP in the required format. I have to manually type the OTP which degrades the User Experience. Anyone else is facing similar issue or having a workaround for this is highly appreciated. Also, is there any we can make sure that the OTP is picked all the times rather than most times @jaumard?
Same here.
same here
Not saying this is the fix but I have been working on a Kotlin version of this library, which replaces the Java code inside the lib. I tried to improve some minor null handling and how the broadcast receiver works.
The branch is here and you can give it a whirl with setting your dependency like so:
sms_autofill:
git:
url: git://github.com/grahamsmith/sms_autofill.git
ref: enhancement/kotlin
@grahamsmith Thanks for the fix. I will definitely check it out.
I faced same issue autofill dose't work on android and iOS I don't know why and I I am using CodeAutoFill mixin but the function codeUpdated dons't Fire as expected , and appSignature on iOS comes with null value . I do appreciate any kind of support
There is no app signature API on iOS so that's normal ^^, this package does nothing on iOS :)
@jaumard Any solutions or advice on how to handle this issue?
@jaumard Any solutions or advice on how to handle this issue?
@grahamsmith give you a branch to test if it's better, have you any feedbacks ? on my side I have no idea what's going on and I can't reproduce. Also think that this plugin is based on google services, so any devices who doesn't have them installed (like Huawei phones) will not have OTP code filled and will have to do it manually
Same here.
sometimes it works the most of the time not autocomplete
pls check some conditions to get autofill on android:
- one of your textbox must be autofocus set to true;
- make sure your sms include hash (in my case some time it null because i sent it to the server before it value available)