sms-translate/app/src/main/kotlin/com/simplemobiletools/smsmessenger/interfaces
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
..
AttachmentsDao.kt create a db table for attachments 2020-12-21 16:17:33 +01:00
ConversationsDao.kt search conversations too, not just messages 2021-02-15 22:07:50 +01:00
MessageAttachmentsDao.kt creating a database table for MessageAttachments too 2020-12-21 16:40:48 +01:00
MessagesDao.kt Show 2 checks when sms is delivered 2021-08-25 16:57:07 +01:00