Skip to content

Detect sleep and lock/unlock event #7

Description

@amitt0488

I need to distinguish between login mode and lock/unlock mode.
I followed this https://stackoverflow.com/questions/49914330/not-getting-screenlock-notification-on-swift-4-on-mac and was able to get unlock event captured.
Verified this on a sample cocoa application.
How to integrate the same with SFAuthorizationPluginView or with this code ?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions