sms-translate/app/src/main/kotlin/com/simplemobiletools/smsmessenger/receivers
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
..
DirectReplyReceiver.kt adding a null check at DirectReplyReceiver 2021-03-22 16:03:34 +01:00
MarkAsReadReceiver.kt work with threadIds as Longs, not Ints 2020-12-21 20:01:57 +01:00
MmsReceiver.kt work with threadIds as Longs, not Ints 2020-12-21 20:01:57 +01:00
MmsSentReceiver.kt allow sending MMS, sadly it needs internet access 2020-04-12 16:00:59 +02:00
SmsReceiver.kt Show 2 checks when sms is delivered 2021-08-25 16:57:07 +01:00
SmsStatusDeliveredReceiver.kt Show 2 checks when sms is delivered 2021-08-25 16:57:07 +01:00
SmsStatusSentReceiver.kt Show 2 checks when sms is delivered 2021-08-25 16:57:07 +01:00