node-mac-permissions
node-mac-permissions copied to clipboard
Contacts permissions not popping
Hey, when I call askForContactsAccess() nothing is happening on dev mode for me? I tried adding an Info.plist file to a lot of places, but that's not helping either. Has anyone overcome this issue?
Same here. Any updates?
@sumersao are you sure your status is allowing for that?
using macOS 15.4 Beta if in dev mode i run:
$ tccutil reset AddressBook
and then
const { askForContactsAccess, getAuthStatus } = require('node-mac-permissions')
const status = getAuthStatus('contacts')
console.log(`Current access status: ${status}`) // not determined
askForContactsAccess().then(status => {
console.log(`Access to Contacts is ${status}`)
})
I see the following:
and then after I click allow:
Access to Contacts is authorized