wakelock_macos Pub version GitHub stars Twitter Follow

macOS platform implementation of the wakelock_platform_interface for the wakelock plugin.

Getting started

If you want to use the wakelock plugin on macOS, see the main wakelock plugin package.

Implementation

Note that the implementation currently uses manual MethodChannels instead of the pigeon generated message until https://github.com/flutter/flutter/issues/73738 is properly resolved.

Testing

Because of the aforementioned limitation, testing for wakelock_macos is currently also only conducted using the integration tests in wakelock/example.

Libraries

wakelock_macos