flutter_sparkle 0.0.2 copy "flutter_sparkle: ^0.0.2" to clipboard
flutter_sparkle: ^0.0.2 copied to clipboard

A flutter plugin to check update and install your via Sparkle

flutter_sparkle #

A flutter plugin to check update and install your macOS app which use Sparkle while Windows platform use WinSparkle.

Only support for macOS and Windows platform.

Setup #

mac #

  • Enable network connections for your app
  • Run ./bin/generate_keys tool (from the Sparkle distribution root) to generate public key.
  • Add your public key to your app’s Info.plist as a SUPublicEDKey property

Usage #

Import flutter_sparkle plugin

import 'package:flutter_sparkle/flutter_sparkle.dart';

mac #

checkMacUpdate

 FlutterSparkle.checkMacUpdate('https://test.asfarastheeyecansee.cn/get/mac/version');

windows #

initial winSparkle at main with your appcast.xml feed url.

await FlutterSparkle.initWinUpdate('https://test.asthestarsfall.cn/get/win/version');

check update with checkWinUpdate()

FlutterSparkle.checkWinUpdate();

checkWinUpdateAndInstall check and install

checkWinUpdateWithoutUI check without UI but still install when new version coming.

7
likes
120
pub points
72%
popularity

Publisher

verified publisherthyhates.com

A flutter plugin to check update and install your via Sparkle

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on flutter_sparkle