Last updated:
0 purchases
open appstore
open_appstore #
A Flutter plugin for opening the AppStore or PlayStore
Usage #
Import the library via
import 'package:open_appstore/open_appstore.dart';
copied to clipboard
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&hl=ko", iOSAppId: "284882215")
copied to clipboard
static void launch({String androidAppId, String iOSAppId}) async {
await _channel.invokeMethod(
'openappstore', {'android_id': androidAppId, 'ios_id': iOSAppId});
}
copied to clipboard
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")
}})
}
copied to clipboard
ScreenShots #
iOS can't show in simulator
Issues and feedback #
Please file issues to send feedback or report a bug. Thank you!
License #
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.