Search packages, repositories and app categories

Package detailsv1.0.2

open_appstore

A Flutter plugin for opening Apple App Store or Google Play Store.

30-day downloads
51
Likes
31
Pub points
30

Install package

flutter pub add open_appstore

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

A Flutter plugin that enables opening the Apple App Store or Google Play Store from within an app, facilitating user access to app reviews or updates. It provides a simple interface to launch store pages using platform-specific URLs. The plugin is designed for cross-platform compatibility and integrates seamlessly with Flutter applications. It supports both iOS and Android, allowing developers to enhance user engagement by directing users to app store listings with minimal code. This tool is ideal for feedback-driven features like 'Rate Us' buttons.

Use cases

  • Opening app store page from in-app button
  • Redirecting users to rate the app
  • Supporting app update prompts
  • Enhancing user feedback workflows
  • Facilitating app discovery
  • Improving user retention through store links

Key features

  • Cross-platform support (iOS & Android)
  • Simple API for launching store URLs
  • No additional dependencies
  • Easy integration with Flutter apps
  • Platform-specific URL handling
  • Lightweight and fast

Suitable for

  • Apps needing in-app rating prompts
  • Developers seeking easy store navigation
  • Feedback collection features
  • App update notification systems
  • User engagement enhancements
  • Minimalist app store linking

Considerations

  • Requires internet connection to open store
  • Limited to iOS and Android platforms
  • Does not handle store availability checks
  • No fallback mechanism for unavailable stores
  • Depends on correct app ID configuration
  • May require user permission on some devices

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

open_appstore

A Flutter plugin for opening the AppStore or PlayStore

Pub


Usage

Import the library via

import 'package:open_appstore/open_appstore.dart';

You can open the AppStore or PlayStore in your Dart code.
To open the App Store page, you can pass the app Id.

OpenAppstore.launch(androidAppId: "com.facebook.katana", iOSAppId: "284882215")
static void launch({String androidAppId, String iOSAppId}) async {
    await _channel.invokeMethod(
        'openappstore', {'android_id': androidAppId, 'ios_id': iOSAppId});
  }

iOS available

iOS is available from version 10.

if #available(iOS 10.0, *) {
                UIApplication.shared.open(url, options: [:], completionHandler: {(success: Bool) in
                    if success {
                        print("Launching \(url) was successful")
                    }})
            }

ScreenShots

  • iOS can't show in simulator

Issues and feedback

Please file issues to send feedback or report a bug. Thank you!


License

MIT License

Categories

Source repository

Projects using this package