sms_autofill icon indicating copy to clipboard operation
sms_autofill copied to clipboard

Pre-fill mobile no

Open Puspharaj opened this issue 4 years ago • 1 comments

Hello There,

Is there any way PhoneFieldHint can be filled with first mobile no, as per the pop up dialog?

Pleas include mobile no hint at too.

Thanks!

Puspharaj avatar Dec 06 '20 07:12 Puspharaj

@Puspharaj if I understand you correctly then the answer is no.

This library implements the Android way of doing things and I believe it is a security related reason that means a user HAS to select the number from the list presented by the popup, which then is sent to the app.

Have you looked at Autofill? https://api.flutter.dev/flutter/material/TextField/autofillHints.html

I have just completed a PR that adds this capability and when @jaumard created the next release this will become available. It is probably as close as we will get to having the default number provided.

grahamsmith avatar Jan 16 '21 16:01 grahamsmith