SiriServerPlugins icon indicating copy to clipboard operation
SiriServerPlugins copied to clipboard

Object issue in smsObjects

Open bigordon opened this issue 12 years ago • 8 comments

I was trying to write a script to read your text messages and not sure if I need SmsSearch however like in your tutorial for using a plist dump, the objects have = 1 and 2; see attached code below.

class SmsSearch(ClientBoundCommand): SearchStatusReadValue = 1 <--- SearchStatusUnreadValue = 2 <---

bigordon avatar Apr 04 '12 20:04 bigordon

that may not be necessarily wrong, do you have code that indicates that strings should be used here instead?

janrueth avatar Apr 05 '12 15:04 janrueth

I have no code. I am trying to understand how siri gets the new text info but from what i know in the sms sqlite database, new messages are flagged with 0.

bigordon avatar Apr 06 '12 22:04 bigordon

There is a alert sent which is currently uncaptured

janrueth avatar Apr 07 '12 04:04 janrueth

what does that mean?

bigordon avatar Apr 07 '12 22:04 bigordon

Siri notifies about new messages/email what so ever using a special command called SetAlertContext

janrueth avatar Apr 08 '12 03:04 janrueth

i copied the siri objects form SiriServerCore to SiriServer and the shortMessage works fine

trevor403 avatar Apr 09 '12 08:04 trevor403

I nevertheless would suggest to just move to SiriServerCore, there are a lot of fixes and enhancements over SiriServer

janrueth avatar Apr 09 '12 10:04 janrueth

yea but i tried SiriServerCore and i had a crypto error so i just ported everything new down to the SiriServer

trevor403 avatar Apr 09 '12 20:04 trevor403