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 2026Releases
latest 3-
1.0.022 May 2026Release notes
Open source →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_interfaceconstraint to^2.1.8. - Example: bump
cupertino_iconsto^1.0.9. - iOS: add required
FlutterFrameworkSwift 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
Release notes
Open source →- First stable release. Public API is now considered stable.
- Bump
plugin_platform_interfaceconstraint to^2.1.8. - Example: bump
cupertino_iconsto^1.0.9. - iOS: add required
FlutterFrameworkSwift 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.
-
0.0.204 Feb 2026Release notes
Open source →- 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.
-
0.0.104 Feb 2026Release notes
Open source →- 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") ornullif 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()returnsnullandisUnitedStates()returnsfalse; the plugin does not throw so callers can branch safely. - Minimum iOS: 13.0. Uses StoreKit 2 (
Storefront.current) on iOS 15+ andSKPaymentQueue.default().storefronton iOS 13–14.