This PR will set the SMS status as Needs Forwarding when updating statuses or when saving new SMS to Gateway DB. Then Gateway will notify the status change to API from the beginning, reducing the chance of API to resend the same SMS.
Hi @dianabarsan 👻
Could you please take a look at this one? It's 2 commits from the previous PR.
I took a look at the docs, I feel it doesn't need changes.
Description
This PR will set the SMS status as
Needs Forwarding
when updating statuses or when saving new SMS to Gateway DB. Then Gateway will notify the status change to API from the beginning, reducing the chance of API to resend the same SMS.This PR is dependant of this one: https://github.com/medic/medic-gateway/pull/159
To AT: My test device at the moment is Android 9. Can you please test this in older Android version? Thanks!
https://github.com/medic/medic-gateway/issues/142
Code review items
License
The software is provided under AGPL-3.0. Contributions to this project are accepted under the same license.