PackageTrack
Sign in Get early access

app_store_country

A Flutter plugin to get the App Store storefront country code.

1.0.0 55 downloads/mo #3823 most downloaded on pub.dev NarekManukyan/app_store_country

What this package is like to depend on

Last release 3 months ago

22 May 2026

Too new to tell

only 2 release windows

Nearly every release is documented

notes for 3 of 3 stable releases

Nothing withdrawn

no release was ever pulled

6 months old

3 releases · first in 2026

3 releases in the last 12 months

see the full history below

Release timeline

3 releases · Feb 2026 to May 2026
Release Pre-release

Releases

latest 3
  1. 1.0.0 22 May 2026
    Release notes

    First stable release.

    Highlights

    • Public API now considered stable.
    • iOS plugin returns App Store storefront country code (ISO-3166 alpha-3) via StoreKit.
    • Configurable external-payment country gating helper.

    Changes since 0.0.2

    • Bump plugin_platform_interface constraint to ^2.1.8.
    • Example: bump cupertino_icons to ^1.0.9.
    • iOS: add required FlutterFramework Swift Package Manager dependency for Flutter 3.44+.
    • Tests: replace broken host-platform test with platform-interface, host-aware, and external-payment configuration coverage.
    • Example iOS scaffolding regenerated for Flutter 3.44 (scene manifest, implicit engine delegate).
    • No public API or runtime behavior changes.

    Install

    dependencies:
      app_store_country: ^1.0.0

    Pub.dev: https://pub.dev/packages/app_store_country

    Open source →
    Release notes
    • First stable release. Public API is now considered stable.
    • Bump plugin_platform_interface constraint to ^2.1.8.
    • Example: bump cupertino_icons to ^1.0.9.
    • iOS: add required FlutterFramework Swift Package Manager dependency.
    • Tests: replace broken host-platform test with platform-interface, host-aware, and external payment configuration coverage.
    • No public API or runtime behavior changes since 0.0.2.
    Open source →
  2. 0.0.2 04 Feb 2026
    Release notes
    • Package README: add badges (Pub Version, License, Platform).
    • README installation example updated to ^0.0.2.
    • Example README: badges, platform support wording, and API table aligned with current behavior (Android returns null/false, no throw).
    • No API or behavior changes; documentation and metadata only.
    Open source →
  3. 0.0.1 04 Feb 2026
    Release notes
    • Initial release.
    • iOS only: Returns the App Store storefront country code (ISO-3166 alpha-3) via StoreKit.
    • AppStoreCountry.getCountryCode() — returns storefront country (e.g. "USA", "DEU") or null if unavailable.
    • AppStoreCountry.isUnitedStates() — convenience helper for US storefront.
    • AppStoreCountry.setExternalPaymentSupportedCountries(Set<String>) — configure which storefront countries are treated as supporting external payments (default: {"USA"}).
    • AppStoreCountry.isExternalPaymentSupported(String countryCode) — returns whether the given alpha-3 country code is in the configured supported set.
    • On non-iOS platforms (e.g. Android), getCountryCode() returns null and isUnitedStates() returns false; the plugin does not throw so callers can branch safely.
    • Minimum iOS: 13.0. Uses StoreKit 2 (Storefront.current) on iOS 15+ and SKPaymentQueue.default().storefront on iOS 13–14.
    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