I tried using Pluginkit via terminal to determine if a File Provider Extension is enabled on Mac OS.
Although I see the extension listed in the output of pluginkit -m, The status of + or - doesn't seem to change in this output when I disable or enable the FileProvider extension in System Settings.
Is there a more reliable way to determine if the extension is enabled ?
You can check this property: https://developer.apple.com/documentation/fileprovider/nsfileproviderdomain/userenabled?language=objc
Listen for this notification to know when the domain properties change: https://developer.apple.com/documentation/fileprovider/nsfileproviderdomaindidchange
There is only API to know about the enablement state of your own applications domains.