osa-imessage icon indicating copy to clipboard operation
osa-imessage copied to clipboard

Cannot listen for messages on 10.15.4

Open aroth opened this issue 5 years ago • 1 comments

Sending messages is working great.

But the listening example code:

const imessage = require("osa-imessage");

imessage.listen().on("message", (msg) => {
  console.log(msg);
});

simply exits. Am I missing something?

~/dev/osa|⇒  node test.js
This version of macOS (13.4.0) is currently untested with this version of osa-imessage. Proceed with caution.
~/dev/osa|⇒

aroth avatar Feb 07 '21 20:02 aroth

@aroth, you'll have to modify the source of this project to remove that check. It should still run fine, as per my tests.

alectrocute avatar May 24 '21 23:05 alectrocute