c-stephens / Call-or-Message-Contact

Call or message contacts via Alfred.
Apache License 2.0
33 stars 0 forks source link

Error reporting #2

Open niladam opened 3 years ago

niladam commented 3 years ago

Hello,

First of all - thank you for your time building this.

Now, i'd like to report the fact that for me it almost doesn't work.

Here's whats happening.

I type call name and it's only launching Facetime which does nothing. I've tried with it closed and open, no go :)

The IM appears to be working as in it does create a new message instance (but if a message already exists it doesn't select that specific convo -- maybe this should also be stated in the readme of not supported functions.

Now, i'm on macOS Big Sur 11.1, with an iPhone 11 Pro (14.3 - i doubt this really matters) and Alfred 4.3.

Turning on debug mode when calling i get the following output (command used is call Mihaela):

[10:57:07.356] Call or Message Contact[Keyword] Processing complete
[10:57:07.357] Call or Message Contact[Keyword] Passing output 'Mihaela' to Arg and Vars
[10:57:07.357] Call or Message Contact[Arg and Vars] Processing complete
[10:57:07.358] Call or Message Contact[Arg and Vars] Passing output 'Mihaela' to Replace
[10:57:07.358] Call or Message Contact[Replace] Processing complete
[10:57:07.358] Call or Message Contact[Replace] Passing output '' to Conditional
[10:57:07.359] Call or Message Contact[Conditional] Processing complete
[10:57:07.359] Call or Message Contact[Conditional] Passing output '' to Run Script
c-stephens commented 3 years ago

My pleasure.

Sorry for the delay, I had notifications turned off for a while. I also apologize for any issues you have encountered. I am still trying to work out the kinks with app permissions. I have finally been able to create a fresh environment of Big Sur, and I am able to test things without my other plugins/settings creating ambiguity.

With that being said. . .

I type call name and it's only launching FaceTime which does nothing.

So, this behavior appears to be an issue with Big Sur's app permissions.

Go to Alfred's Preferences -> 'Default Results' -> Navigate to the 'Essentials' Label -> Make sure 'Contacts' is checked.

Go to 'System Preferences' -> 'Security & Privacy' -> 'Privacy'

Will you verify that the checkbox, 'Alfred 4', has been checked for the following options?

  1. Contacts
  2. Accessibility
  3. Full Disk Access
  4. Files and Folders (Alfred should be listed, but no checkboxes are listed)
  5. Automation -> Alfred 4 -> 'System Events' and 'Contacts' should both be checked.

Last step, please restart Alfred after adding any of the options above.

I believe fixing the permissions should fix the second issue, if I understand it correctly. Sending messages through the plugin automatically opens up the existing convo instead of creating a new one. If a convo does not exist, then it will create a new convo.

Let me know if you have anymore issues / questions.