PackageTrack
Sign in Get early access

flutter_libphonenumber_android

Android implementation of the flutter_libphonenumber plugin.

2.1.1 90K downloads/mo #1169 most downloaded on pub.dev acoutts/flutter_libphonenumber

What this package is like to depend on

Last release 1 months ago

19 Jul 2026

Release timing varies

gaps range from 4 weeks to 1.3 years

Nearly every release is documented

notes for 11 of 12 stable releases

Nothing withdrawn

no release was ever pulled

3 years old

12 releases · first in 2023

5 releases in the last 12 months

see the full history below

Release timeline

12 releases · Mar 2023 to Jul 2026
2024 2025 2026
Release Pre-release

Releases

latest 12
  1. 2.1.1 19 Jul 2026
    Release notes
    • Fix Android build failure Could not find method kotlin() on AGP 9 hosts where android.builtInKotlin=false — the state Flutter 3.44's migrator writes into every app's gradle.properties (#101, #102 — thanks @proninyaroslav for the diagnosis and initial fix).
    • The Kotlin Gradle Plugin is now applied whenever AGP has not registered its built-in kotlin extension, instead of keying off the AGP version. This is correct on AGP 8 (KGP applied as before), AGP 9 with the built-in Kotlin opt-out (KGP applied), AGP 9/10 with built-in Kotlin active (KGP skipped; jvmTarget follows compileOptions.targetCompatibility), and is immune to stale android.builtInKotlin=false flags once AGP 10 removes the opt-out.
    • The kotlin { compilerOptions { jvmTarget } } block now only runs when the external Kotlin Gradle Plugin is actually applied.
    • Build script is now AGP 9 new-DSL-safe: removed the redundant Kotlin sourceSets entry and switched to =-style assignments.
    • Note: Flutter 3.44 still prints "Your app uses the following plugins that apply Kotlin Gradle Plugin (KGP): flutter_libphonenumber_android". This remains a false positive of Flutter's textual build-script scan and is unavoidable while this plugin supports Flutter <3.44. The plugin does not apply KGP on hosts where built-in Kotlin is active.
    Open source →
  2. 2.1.0 12 Jun 2026
    Release notes
    • Ready for Flutter's Built-in Kotlin cutover: the Kotlin Gradle Plugin is now applied conditionally — only on AGP <9, where the host's Flutter does not manage Kotlin itself — following the official Flutter migration guide for plugin authors. Flutter versions older than 3.44 remain supported.
    • Note: Flutter 3.44 may still print "Your app uses the following plugins that apply Kotlin Gradle Plugin (KGP): flutter_libphonenumber_android". This is a false positive: Flutter's detection is a textual scan that cannot see the AGP version conditional. The plugin no longer applies KGP on hosts where Built-in Kotlin is available, so it will keep building after Flutter's cutover.
    • Example app: migrate off the Kotlin Gradle Plugin and bump Java/Kotlin compatibility to 17 (building the example now requires Flutter 3.44+; the plugin itself is unaffected).
    Open source →
  3. 2.0.2 12 Jun 2026

    Nothing published for this version

  4. 2.0.1 11 Jun 2026
    Release notes
    • Reduce repeated work in getAllSupportedRegions: cache the digit regex used for masking, reuse a single PhoneNumberUtil instance, and format each example number once (#100 @higorlapacw)
    Open source →
  5. 2.0.0 06 Dec 2025
    Release notes

    Big cleanup + switch to dart workspace

    Open source →
    Release notes
    • Bump gradle configs for latest flutter stable 3.38.4
    Open source →
  6. 1.4.1 13 Feb 2025
    Release notes
    • This fixes unresolved Registrar issue occurring after upgrading Flutter to 3.29.0 (#93 @amitkhairnar44)
    Open source →
  7. 1.4.0 19 Sep 2024
    Release notes
    • Bump flutter_libphonenumber_platform_interface to 2.1.0
    Open source →
  8. 1.3.0 18 Sep 2024
    Release notes
    • Bump flutter_libphonenumber_platform_interface to 2.0.0
    Open source →
  9. 1.2.0 19 Aug 2024
    Release notes
    • Bump libphonenumber to 8.13.43.
    Open source →
  10. 1.1.0 19 Aug 2024
    Release notes
    • Bump android compileSdk to 34
    • Fix android JVM version incompatibility build errors.
    Open source →
  11. 1.0.1 01 May 2023
    Release notes
    • Fix compatibility with AGP 8.0 (#43).
    Open source →
  12. 1.0.0 24 Mar 2023
    Release notes
    • Initial release after migration to federated plugin.
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive