v1.0.2
open_appstore
Ein Flutter-Plugin zum Öffnen des Apple App Store oder des Google Play Store.
31Likes 5130-Tage-Downloads30Pub-Punkte
Keine Plattformdaten
Flutter-Plugin zum Öffnen des AppStore oder PlayStore
Englischer Projektschnappschuss. Aktuelle Inhalte auf GitHub.
A Flutter plugin for opening the AppStore or PlayStore
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 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")
}})
}


Please file issues to send feedback or report a bug. Thank you!
MIT License
Abhängigkeiten 2 Einträge
{"sdk":"flutter"}{"sdk":"flutter"}Nach Anwendungsfall filtern, Aktivität vergleichen und vor der Nutzung das Originalprojekt prüfen.
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗