schedule_badge_updates 0.0.1 schedule_badge_updates: ^0.0.1 copied to clipboard
Allow scheduling badge updates on app icons.
schedule_badge_updates #
This plugin allows you to schedule badge updates.
NOTE: This is an alpha which only support iOS 10.
Getting Started #
import 'package:schedule_badge_updates/schedule_badge_updates.dart';
// Set badge to 16
ScheduleBadgeUpdates.setBadge(16);
// Schedule badge to be set to 15 in 15 seconds
String res = await ScheduleBadgeUpdates.scheduleBadge(15, DateTime.now().add(Duration(seconds: 15)));