Commit graph

6 commits

Author SHA1 Message Date
Paul Akhamiogu
46f71c994f Show 2 checks when sms is delivered
- differentiate between sent sms and delivered sms by updating the SmsStatusSentReceiver which updates the type to Telephony.Sms.MESSAGE_TYPE_SENT or Telephony.Sms.MESSAGE_TYPE_FAILED depending on the outcome.
- rename ThreadSuccess to ThreadSent and add a boolean field for the delivery status
- SmsStatusSentReceiver updates the status of the message to Telephony.Sms.STATUS_COMPLETE.
- accommodate for the need to keep track of the status by adding Int field status to the Message class,
- add appropriate database migrations (3 to 4) for the new status field.
- add status to the query for sms in extension function Context.getMessages and Context.getMMS
- add extension function Context.updateMessageStatus to update the status of a message in the database
2021-08-25 16:57:07 +01:00
tibbi
9412024baa try fixing a glitch with "Sending..." message getting stuck 2021-01-11 10:37:51 +01:00
tibbi
d02df0a1a2 improve message marking after delivery to avoid glitching 2021-01-02 11:24:56 +01:00
tibbi
ac7d2afbb6 properley update message types in the local db too 2021-01-01 20:13:45 +01:00
tibbi
d3494014a6 improving the messages delivery status 2021-01-01 19:00:40 +01:00
tibbi
cf75ab71d4 make sure sent messages have proper SIM card associated 2021-01-01 17:04:41 +01:00