v1.0.2
open_appstore
一個用於開啟 Apple App Store 或 Google Play Store 的 Flutter 外掛程式。
31喜歡 51近 30 天下載30Pub 分數
平台暫無資料
Flutter 外掛程式,用於開啟 AppStore 或 PlayStore
以下為英文專案原文快照,最新內容請造訪 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
依賴清單 2 項
{"sdk":"flutter"}{"sdk":"flutter"}先依使用情境篩選,再比較專案活躍情況,最後到原始儲存庫確認使用要求。
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗