phone_number 2.1.0 copy "phone_number: ^2.1.0" to clipboard
phone_number: ^2.1.0 copied to clipboard

discontinuedreplaced by: phone_numbers_parser
PlatformAndroidiOS

Flutter plugin for parsing, formatting and validating international phone numbers.

2.1.0 #

  • Deprecate package
  • Add Namespace to Support Gradle 8.0
  • Getting region code from number rather than country code
  • Bumps PhoneNumberKit to v3.6.6
  • Bumps libphonenumber to v8.13.17
  • Update podspec to match package version

2.0.0 #

### BREAKING CHANGES

  • iOS podfile now needs to be updated since PhoneNumberKit no longer updates cocoapods. Take a look on setup
  • Update Flutter constrains to >= 3.10
  • Update Dart constrains to 3
  • Compile with Android SDK 33
  • Update flutter_form_builder to 9.x.x. Take a look breaking changes on there changelog

2.0.0-dev.2 #

### BREAKING CHANGE

  • Update Dart constrains to 3
  • Compile with Android SDK 33

2.0.0-dev.1 #

### BREAKING CHANGES

  • iOS podfile now needs to be updated since PhoneNumberKit no longer updates cocoapods. Take a look on setup
  • Update Flutter constrains to >= 3.10

Improvements #

  • Bumps PhoneNumberKit to v3.5.8
  • Bumps libphonenumber to v8.13.10
  • Fix warning for constant variable regionCode on Swift

1.0.0 #

  • [Breaking change] Min Flutter SDK >=3.0.0
  • Add validate international number without region code
  • Separate regionCode and countryCode
  • Refactor readme
  • Apply license BSD-3-clause
  • Bumps libphonenumber (Android) to v8.12.52

0.12.0+2 #

  • Bumps PhoneNumberKit to v3.3.4
  • Bumps libphonenumber to v8.12.45

0.12.0+1 #

  • Bumps libphonenumber to v8.12.32

0.12.0 #

  • Add a PhoneNumberEditingController to allow "as-you-type" formatting.

0.11.0+2 #

  • Migrate deprecated package pedantic to flutter_lints

0.11.0+1 #

  • Update documentation and example for carrier region code

0.11.0 #

  • Get the carrier region code for the phone number associated with the device

0.10.0 #

  • Add the localized name of the region

0.9.0+2 #

  • Fix missing 'toll free' phone number type

0.9.0+1 #

  • Add documentation to README, PhoneNumber and RegionInfo

0.9.0 #

  • Add support for null safety

0.8.1+1 #

  • Bump to libphonenumber 8.12.18 and PhoneKit 3.3.3

0.8.1 #

  • Fix parsing of nationalNumber property

0.8.0 #

  • Pin PhoneNumberKit to 3.3.1 to align with libphonenumber 8.12.9 phone numbers metadata
  • Refactor project according to latest stable Flutter plugin template
  • Remove all tests

0.7.0+1 #

  • Fix missing dependency to meta
  • Formatting code according to dartfmt

0.7.0 #

  • Introduce PhoneNumber and RegionInfo classes for parsed results
  • Change plugin's entry point to PhoneNumberUtil to mirror usage found in Google's libphonenumber library
  • Add the PhoneNumberType enum

0.6.3 #

  • Adding validate method for both platforms

0.6.2+4 #

  • Upgrade to libphonenumber 8.12.6

0.6.2+3 #

  • Fix warnings in Swift code

0.6.2+2 #

  • Rewrite of the example app

0.6.2+1 #

0.6.2 #

  • Upgrade to libphonenumber 8.12.1

0.6.1 #

  • Compatibility with Flutters Android Embedding V2
  • Activate E2E testing capabilities

0.6.0+2 #

  • Upgrade to libphonenumber 8.11.3
  • Upgrade to PhoneNumberKit 3.2.0

0.6.0+1 #

  • Thanks to @ened for helping fixing 2 iOS issues
  • Optimize factories for testing and normal usage
  • Add analytics_options w/ pedantic
  • Initial version of the README

0.6.0 #

  • Breaking Change: all the plugin's API methods are now instance methods

0.5.0 #

  • Add method to retrieve all supported regions & their country codes

0.4.1 #

  • Change channel name (add FQDN)
  • Reorganize the lib folder to Dart library standards
  • Update to libphonenumber 8.10.23 / PhoneNumberKitCore 3.1.0
  • Project cleanup

0.4.0 #

  • Add support for parsing a list of phone numbers

0.3.1 #

  • Add support for phone number's countryCode and nationalNumber

0.3.0 #

  • Add partial number formatting

0.2.0 #

  • Upgrade to libphonenumber 8.10.11 & PhoneNumberKit 2.6.0
  • Refactor to AndroidX
  • Remove Kotlin support and switched back to full Java implementation
  • Added a very simple test in the example app

0.1.1 #

  • Minimal implementation of the parse method. Example app still not functional.
184
likes
150
points
41.4k
downloads

Publisher

verified publisherflutterformbuilderecosystem.com

Weekly Downloads

Flutter plugin for parsing, formatting and validating international phone numbers.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter, meta

More

Packages that depend on phone_number