natintosh / intl_phone_number_input

MIT License
163 stars 490 forks source link

Migrate to `dlibphonenumber` #431

Open sashkent3 opened 2 months ago

sashkent3 commented 2 months ago

Is your feature request related to a problem? Please describe. intl_phone_number_input doesn't support Linux, macOS, Windows and WASM platforms because of dependency on libphonenumber_plugin. I propose to instead migrate this package to dlibphonenumber - a Dart port of Google's libphonenumber library.

Describe the solution you'd like Remove dependency on libphonenumber_plugin, replace all relevant code with dlibphonenumber's implementation.

Describe alternatives you've considered Updating libphonenumber_plugin to support all relevant platforms seems to me like a lot more complex solution. Dependency on the JS version of libphonenumber is most concerning in the context of WASM.

Additional context The migration is extremely straightforward.

Brada-Groep commented 3 weeks ago

I really want that wasm support and I hope that this can be implemented soon

Padi142 commented 1 week ago

bump