phone_parser 0.1.0 copy "phone_parser: ^0.1.0" to clipboard
phone_parser: ^0.1.0 copied to clipboard

Dart library for parsing phone numbers with auto synced with Google libphonenumber. Inspired by Google's libphonenumber and PhoneNumberKit for ios.

0.1.0 #

  • Added offline geocoding support with PhoneNumberOfflineGeocoder, Locale, and PhoneNumber.getDescription().
  • Added a PhoneNumberUtil facade for callers who prefer a libphonenumber-style API.
  • Improved metadata merging so secondary sources can fill empty strings, lists, and maps from the primary source.
  • Improved as-you-type formatting for incomplete inputs and shared NANPA regions without local formatting metadata.
  • Added documentation and tests covering geocoding, formatter behavior, region resolution, metadata merging, and the new utility API.

0.0.9 #

  • Added a generated bundled metadata fallback so parsing can still work when runtime metadata download is unavailable.
  • Updated metadata loading to prefer downloaded metadata and fall back to packaged generated metadata when cache refresh or first-run download fails.
  • Added a repository script to regenerate the bundled metadata snapshot from the latest upstream Google libphonenumber and Apple PhoneNumberKit sources.

0.0.8 #

  • Added merged metadata support using both Google libphonenumber and Apple PhoneNumberKit.
  • Made Google the primary metadata source and fill missing values from Apple when available.
  • Documented the merged metadata behavior and source-selection options in the README.
  • Improved README platform setup guidance for Android, iOS, macOS, Windows, Linux, Flutter Web, and Dart CLI/Server.
  • Documented the macOS com.apple.security.network.client entitlement required for metadata download in sandboxed Flutter desktop apps.
  • Fixed README usage examples to match the current API, including isValid() and string ISO country codes such as 'US'.
  • Updated the example macOS app entitlements so metadata download works correctly.

0.0.7 #

  • Docs update

0.0.6 #

  • Updated Read Me

0.0.5 #

  • Updated Read Me

0.0.4 #

  • Fixed unnecessary download issue

0.0.3 #

  • Fixed metadata length parsing

0.0.2 #

  • Exported MetadataFinder to public

0.0.1 #

3
likes
160
points
204
downloads

Documentation

API reference

Publisher

verified publisherkumpali.com

Weekly Downloads

Dart library for parsing phone numbers with auto synced with Google libphonenumber. Inspired by Google's libphonenumber and PhoneNumberKit for ios.

Repository (GitHub)
View/report issues
Contributing

Topics

#phone #parser #libphonenumber #phonenumberkit #phone-number-verification

License

MIT (license)

Dependencies

meta, xml

More

Packages that depend on phone_parser