macos_open_at_login 1.1.1 copy "macos_open_at_login: ^1.1.1" to clipboard
macos_open_at_login: ^1.1.1 copied to clipboard

PlatformmacOS

A Flutter plugin to automatically launch your macOS app at login.

macos_open_at_login #

A Flutter plugin to automatically launch your macOS app at login.

  • Requires macOS 13.0 or later
  • Supports Swift Package Manager

Usage #

import 'package:macos_open_at_login/macos_open_at_login.dart';

// Get current status
final status = await MacosOpenAtLogin.getStatus();

// Enable / disable
await MacosOpenAtLogin.enable();
await MacosOpenAtLogin.disable();

// Open System Settings > General > Login Items
await MacosOpenAtLogin.openSystemSettings();

LoginItemStatus #

Value Description
enabled Registered and will launch at login
requiresApproval Registered but requires user approval in System Settings
notRegistered Not registered
notFound The service could not be found
0
likes
160
points
90
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A Flutter plugin to automatically launch your macOS app at login.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on macos_open_at_login

Packages that implement macos_open_at_login