libphonenumber_plugin 0.2.3 libphonenumber_plugin: ^0.2.3 copied to clipboard
Flutter package for Google libphonenumber, for Android and Web. Uses Flutter Federated Package for interoperability.
Flutter plugin for Google libphonenumber.
⚠️ Notice #
This plugin has similar implementation with libphonenumber.
- This plugin now has support for
To use this plugin, add
libphonenumber_plugin: ^any as a dependency in your pubspec.yaml file.
- ⚠️ This plugin might merge with the original libphonenumber for Flutter in future, for now no info.
Android and iOS Usage #
This plugin now supports Android and iOS.
- Also For Stable Android and iOS implementation use libphonenumber, since it was inspired by and has similar implementation with libphonenumber.
Web Usage #
In your app directory, edit
web/index.html to add the following
Using the plugin #
Once you have added
libphonenumber_plugin plugin and edit
web/index.html, you should be able to use the
or any other source library available later on
Available Methods #
For available methods see libphonenumber_platform_interface
Future Works 🚀 #
- Support for Windows and MacOS with Dart FFI
- Merge with the original libphonenumber for Flutter in future, for now no info.
If you encounter any problem or the library is missing a feature feel free to open an issue. Feel free to fork, improve the plugin and make pull request.
Made with contributors-img.