natintosh / intl_phone_number_input

MIT License
164 stars 496 forks source link

MacOS - onInputValidated -- > false for valid phone numbers #340

Open harrisf5tech opened 2 years ago

harrisf5tech commented 2 years ago

Describe the bug In MacOS app, the onInputValidated is returning false for all valid numbers Package version intl_phone_number_input: ^0.7.0+2

Flutter version Flutter 3.0.5 • channel stable • https://github.com/flutter/flutter.git Framework • revision f1875d570e (7 weeks ago) • 2022-07-13 11:24:16 -0700 Engine • revision e85ea0e79c Tools • Dart 2.17.6 • DevTools 2.12.2 To Reproduce Steps to reproduce the behavior:

  1. Code Snippet
  2. Use case
  3. Interaction with the widget
  4. See error 5 ...

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Targeted platforms (please complete the following information):

Additional context Add any other context about the problem here.

khlewesamer commented 1 year ago

that happened with me on ios when I upgrade Xcode to 14 the problem was gone, and check your mac update,recent version is version 12 on my mac.

scatboy777 commented 1 year ago

Hi, I have the same issue. The widget is working fine on iOS and Android but onInputValidated always return false on macOs app.

I have flutter 3.3.5 Xcode 14.0.1

I would be happy to give more information if it can help to fix this issue. This is unfortunately blocking issue.

@harrisf5tech Did you find a workaround ?

bynalab commented 1 year ago

@harrisf5tech Sorry, the plugin that the package depends on does not support window and Mac at this moment, we are working on that. cc @scatboy777

leo-paz commented 1 year ago

Any updates on this issue?