diff --git a/README.md b/README.md index e608404..e5a53dc 100644 --- a/README.md +++ b/README.md @@ -1,14 +1,19 @@ -# Simple incoming SMS to URL forwarder -Set sender phone number or name and URL. If you want to send any SMS - use * (asterisk symbol) as a name. -Every incoming SMS will be sent immediately to provided URL. -Use it as Webhook for your SMS +# Incoming SMS to URL forwarder -## Limitations -The current version will try to send a text to the URL immediately. If no Internet connection, the app will retry once later. -The app will not check the HTTP response code. If the server responded with any code, it will be treated as sent. +## How to use +Set sender phone number or name and URL. It should match the number or name you see in the SMS messenger app. +If you want to send any SMS to URL, use * (asterisk symbol) as a name. + +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. ## Screenshots -Incoming SMS Webhook Gateway screenshot 1 Incoming SMS Webhook Gateway screenshot 2 Incoming SMS Webhook Gateway screenshot 3 +Incoming SMS Webhook Gateway screenshot 1 Incoming SMS Webhook Gateway screenshot 2 Incoming SMS Webhook Gateway screenshot 3 ## Download apk Download apk from [release page](https://github.com/bogkonstantin/android_income_sms_gateway_webhook/releases) + +## Recommendation +Use external monitoring tools like [UpTime.onl](https://uptime.onl/) to monitor your webhook URL and prevent it from downtime. \ No newline at end of file diff --git a/app/build.gradle b/app/build.gradle index a309600..742a5c9 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -1,15 +1,15 @@ apply plugin: 'com.android.application' android { - compileSdkVersion 29 + compileSdkVersion 30 buildToolsVersion "29.0.3" defaultConfig { applicationId "tech.bogomolov.incomingsmsgateway" minSdkVersion 19 targetSdkVersion 30 - versionCode 5 - versionName "1.1" + versionCode 6 + versionName "2.0" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } diff --git a/screenshots/1.jpg b/screenshots/1.jpg deleted file mode 100644 index 7021d3a..0000000 Binary files a/screenshots/1.jpg and /dev/null differ diff --git a/screenshots/1.png b/screenshots/1.png new file mode 100644 index 0000000..017fb35 Binary files /dev/null and b/screenshots/1.png differ diff --git a/screenshots/2.jpg b/screenshots/2.jpg deleted file mode 100644 index 7c04cb9..0000000 Binary files a/screenshots/2.jpg and /dev/null differ diff --git a/screenshots/2.png b/screenshots/2.png new file mode 100644 index 0000000..1bd088f Binary files /dev/null and b/screenshots/2.png differ diff --git a/screenshots/3.jpg b/screenshots/3.jpg deleted file mode 100644 index d204142..0000000 Binary files a/screenshots/3.jpg and /dev/null differ diff --git a/screenshots/3.png b/screenshots/3.png new file mode 100644 index 0000000..7690b92 Binary files /dev/null and b/screenshots/3.png differ