medic / cht-gateway

Android SMS gateway app for CHT Applications
GNU Affero General Public License v3.0
84 stars 41 forks source link

Loop WT Message Forwarding #149

Closed SCdF closed 4 years ago

SCdF commented 5 years ago

Loops Gateway's Webapp Terminating message forwarding so that if there are more than BATCH messages to be forwarded to API it will attempt to do so on wakeup.

137

SCdF commented 5 years ago

@garethbowen code review plz

Status: it "works" in the sense that the tests that are added are somewhere between e2e tests (they mock api but otherwise run directly on an emulator), however I haven't physically tested it, as I presume that requires going out and buying SIM cards (you need at least two, one to send to gateway and one on the gateway phone).

Are we OK with this stage only happening in QA in these cases, or should try to get a local testing setup going?