wtfaremyinitials / osa-imessage

Send and receive iMessages with nodejs
MIT License
324 stars 54 forks source link

Cannot listen for messages on 10.15.4 #32

Open aroth opened 3 years ago

aroth commented 3 years ago

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|⇒
alectrocute commented 3 years ago

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