Skip to content

Send and receive SMS messages using your Android phone programmatically via a simple HTTP API

Fix target api level

Acho Arnoldbd8133c2c2c3
diff --git a/android/app/build.gradle.kts b/android/app/build.gradle.kts
index 2069551b..15857e70 100644
--- a/android/app/build.gradle.kts
+++ b/android/app/build.gradle.kts
@@ -14,7 +14,7 @@ android {
defaultConfig {
applicationId = "com.httpsms"
minSdk = 28
- targetSdk = 35
+ targetSdk = 36
versionCode = 1
versionName = gitHash.getOrElse("unknown")
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml
index 54fa35c8..24c3eb18 100644
--- a/android/app/src/main/AndroidManifest.xml
+++ b/android/app/src/main/AndroidManifest.xml
@@ -31,7 +31,7 @@
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/Theme.HttpSMS"
- tools:targetApi="31">
+ tools:targetApi="36">
<activity
android:name=".MainActivity"
android:screenOrientation="portrait"
diff --git a/web/pages/messages/index.vue b/web/pages/messages/index.vue
index eec128e8..c4dc2734 100644
--- a/web/pages/messages/index.vue
+++ b/web/pages/messages/index.vue
@@ -16,6 +16,7 @@
<v-col cols="12" md="8" offset-md="2" xl="6" offset-xl="3">
<v-form @submit.prevent="sendMessage">
<v-text-field
+ persistent-placeholder
v-model="formPhoneNumber"
:disabled="sending"
:error="errors.has('to')"
@@ -25,6 +26,7 @@
label="Phone Number"
></v-text-field>
<v-textarea
+ persistent-placeholder
v-model="formContent"
:error="errors.has('content')"
:error-messages="errors.get('content')"
@@ -34,14 +36,18 @@
label="Content"
></v-textarea>
<v-textarea
+ persistent-placeholder
+ persistent-hint
v-model="formAttachments"
:error="errors.has('attachments')"
:error-messages="errors.get('attachments')"
:disabled="sending"
outlined
rows="2"
+ class="mb-8"
+ hint="Your message will be sent as an MMS when the comma separated list of attachment URL's are present"
placeholder="https://example.com/image.jpg, https://example.com/video.mp4"
- label="Attachment URLs (comma separated, optional)"
+ label="Attachment URLs (optional)"
></v-textarea>
<v-btn
type="submit"