A Flutter plugin for retrieving information about apps on the App Store with in the app.


  • Retrieve app information such as name, description, developer, version, and more.
  • Check for app updates by comparing the version on the App Store with the installed version.
  • View app details directly from the App Store using SKStoreProductViewController.


Add appstore_info to your pubspec.yaml file:

  appstore_info: ^1.0.0

Caution: This code will only execute on a real iOS device. It will not work on the iOS simulator.


import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'dart:async';

import 'package:flutter/services.dart';
import 'package:appstore_info/appstore_info.dart';

void main() {
  runApp(const MyApp());

class MyApp extends StatefulWidget {
  const MyApp({super.key});

  State<MyApp> createState() => _MyAppState();

class _MyAppState extends State<MyApp> {
  bool isLoading = false;

  set loadingState(bool value) {
    setState(() {
      isLoading = value;

  final _appstoreInfoPlugin = AppstoreInfo();

  // Function to open the App Store inside the app
  Future<void> openAppStoreInside() async {
    try {
      loadingState = true; // Set the loading state to true
      // Open the App Store with the specified app ID
      // Example: Instagram app ID is 389801252
      // URL:
      await _appstoreInfoPlugin.presentAppStore(appID: '389801252');
      loadingState = false; // Set the loading state back to false
    } on PlatformException {
      loadingState = false; // Set the loading state back to false in case of an exception

  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(
          title: const Text('App Store Info Example'),
        body: Center(
          child: Column(
            children: [
              if (isLoading)
                const CupertinoActivityIndicator()
                  color: CupertinoColors.activeBlue,
                  onPressed: openAppStoreInside,
                  child: const Text("Open App Store"),


This project is licensed under the MIT License - see the LICENSE file for details.