flutter_sparkle

Last updated:

0 purchases

flutter_sparkle Image
flutter_sparkle Images
Add to Cart

Description:

flutter 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';
copied to clipboard
mac #
checkMacUpdate
FlutterSparkle.checkMacUpdate('https://test.asfarastheeyecansee.cn/get/mac/version');
copied to clipboard
windows #
initial winSparkle at main with your appcast.xml feed url.
await FlutterSparkle.initWinUpdate('https://test.asthestarsfall.cn/get/win/version');
copied to clipboard
check update with checkWinUpdate()
FlutterSparkle.checkWinUpdate();
copied to clipboard
checkWinUpdateAndInstall check and install
checkWinUpdateWithoutUI check without UI but still install when new version coming.

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.