smart_phone_number 1.0.6 copy "smart_phone_number: ^1.0.6" to clipboard
smart_phone_number: ^1.0.6 copied to clipboard

A smart phone number parser that automatically detects country codes from number prefixes and validates WhatsApp accounts

1.0.6 #

  • Add 10 new countries (total 50)

1.0.5 #

  • Remove phone_number dependency and add custom phone number parser
  • Add helper functions: _getRegionCodeFromNumber(), isValidInternationalNumber(), getCountryFromInternationalNumber()
  • Improve country detection by sorting prefixes by length
  • Reduce package size and external dependencies

1.0.4 #

  • Initial release 🎉
  • Automatic country detection from number prefixes
  • IP geolocation for resolving conflicting prefixes
  • WhatsApp validation support
  • Manual country code selection
  • Support for 21 Arab countries and 19 international countries
  • Country names in English and Arabic
  • Comprehensive error handling and validation
  • Detailed documentation and examples

1.0.3 #

  • This is the third edition ever.

1.0.2 #

  • This is the second edition ever.

1.0.1 #

  • This is the first ever release.
1
likes
160
points
546
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A smart phone number parser that automatically detects country codes from number prefixes and validates WhatsApp accounts

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

flutter, get_country_ip, url_launcher

More

Packages that depend on smart_phone_number