bogkonstantin / android_income_sms_gateway_webhook

Simple Android incoming SMS to URL forwarder
MIT License
352 stars 96 forks source link

Changing the number of retries and the time interval between them #69

Closed NabiKAZ closed 2 months ago

NabiKAZ commented 4 months ago

Every incoming SMS will be sent immediately to the provided URL. If the response code is not 2XX or the request ended with a connection error, the app will try to send again up to 10 times. Minimum first retry will be after 10 seconds, later wait time will increase exponentially. If the phone is not connected to the internet, the app will wait for the connection before the next attempt.

I need to change this message retry schedule. For example, instead of trying 10 times, try once. Or change the time between each attempt. This can be added as an advanced settings feature in the app.

bogkonstantin commented 2 months ago

Done in v.2.3.0 (except time between attempts - Android hanldles time)