flutter_launch_store 1.0.4 copy "flutter_launch_store: ^1.0.4" to clipboard
flutter_launch_store: ^1.0.4 copied to clipboard

A Flutter plugin for launching a Store in the mobile platform. Supports AppStore, PlayStore and AppGallery.

flutter_launch_store #

A Flutter plugin for launching a Store in the mobile platform. Supports AppStore, PlayStore and AppGallery.

On Android, it checks whether the appropriate vendor service is installed. If both Google's and Huawei's services are present, it launches Google Play unless the app package ID ends in ".huawei".

It's a fork of the original https://github.com/heqingbao/store_launcher that seemed to be abandoned.

Usage #

To use this plugin, add flutter_launch_store as a dependency in your pubspec.yaml file.

Example #

import 'package:flutter_launch_store/flutter_launch_store.dart';

try {
  final appId = 'com.example.yourapppackageid';
  StoreLauncher.openWithStore(appId).catchError((e) {
    print('ERROR> $e');
  });
} catch (e) {
  print(e.toString());
}

iOS #

Don't forget to add the following to Info.plist:

<key>LSApplicationQueriesSchemes</key>
<array>
    <string>itms-apps</string>
</array>
2
likes
0
pub points
86%
popularity

Publisher

verified publishertramontana.co.hu

A Flutter plugin for launching a Store in the mobile platform. Supports AppStore, PlayStore and AppGallery.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on flutter_launch_store