Skip to content

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

Add guide on how to grant SMS permissions on android

Acho Arnold8f0e535305ee
diff --git a/web/components/BlogInfo.vue b/web/components/BlogInfo.vue
index 5340324a..b49b1a35 100644
--- a/web/components/BlogInfo.vue
+++ b/web/components/BlogInfo.vue
@@ -1,18 +1,11 @@
<template>
<div>
- <v-badge
- class="logo-badge"
- :class="{ 'logo-badge--mobile': $vuetify.breakpoint.mdAndDown }"
- color="primary"
- content="Beta"
- >
- <nuxt-link to="/" class="text-decoration-none d-flex">
- <v-avatar tile size="33" class="mt-1">
- <v-img contain :src="require('@/assets/img/logo.svg')"></v-img>
- </v-avatar>
- <h3 class="text-h4 text--primary ml-1">httpSMS</h3>
- </nuxt-link>
- </v-badge>
+ <nuxt-link to="/" class="text-decoration-none d-flex">
+ <v-avatar tile size="33" class="mt-1">
+ <v-img contain :src="require('@/assets/img/logo.svg')"></v-img>
+ </v-avatar>
+ <h3 class="text-h4 text--primary ml-1">httpSMS</h3>
+ </nuxt-link>
<p>
httpSMS is an
<a
diff --git a/web/pages/blog/grant-send-and-read-sms-permissions-on-android.vue b/web/pages/blog/grant-send-and-read-sms-permissions-on-android.vue
new file mode 100644
index 00000000..6954d759
--- /dev/null
+++ b/web/pages/blog/grant-send-and-read-sms-permissions-on-android.vue
@@ -0,0 +1,144 @@
+<template>
+ <v-container class="pt-8">
+ <v-row class="mt-16">
+ <v-col cols="12" md="9">
+ <h1
+ class="mt-1"
+ :class="{
+ 'text-h2': $vuetify.breakpoint.mdAndUp,
+ 'text-h3': !$vuetify.breakpoint.mdAndUp,
+ }"
+ >
+ How to grant SEND_SMS and RECEIVE_SMS permissions on Android 15+
+ </h1>
+ <p class="subtitle-2 mt-2">
+ <span class="text-uppercase blue--text">{{ postDate }}</span>
+ • <span class="text-uppercase">{{ readTime }}</span>
+ </p>
+ <p class="text--secondary subtitle-1 mt-2">
+ In Android 15 (Vanilla Ice Cream), the
+ <code>android.permission.SEND_SMS</code> and
+ <code>android.permission.SEND_SMS</code> permissions are now hard
+ restricted and cannot be granted
+ <a
+ class="text-decoration-none"
+ href="https://developer.android.com/training/permissions/requesting"
+ >via the runtime permissions interface</a
+ >.
+ </p>
+
+ <v-alert type="warning" outlined>
+ Granting the <code>SEND_SMS</code> and
+ <code>RECEIVE_SMS</code> permissions will allow an Android app to be
+ able to read and send SMS messages on your phone. Make sure you trust
+ the application before allowing these permissions.
+ </v-alert>
+ <h3 class="text-h4 mt-8 mb-2">Step1: Open App Info</h3>
+ <p>
+ Long press the icon of the android app which you want to grant the
+ permission and select <b>"App info"</b>
+ </p>
+ <v-img
+ style="border-radius: 4px"
+ alt="httpsms android app"
+ height="800"
+ contain
+ :src="
+ require('@/static/img/blog/grant-send-and-read-sms-permissions-on-android/app-info.png')
+ "
+ ></v-img>
+ <h3 class="text-h4 mb-4 mt-16">Step 2: Allow Restricted Permissions</h3>
+ <p>
+ On the App Info page, click on the menu button
+ <v-icon>{{ mdiDotsVertical }}</v-icon> and select the
+ <b>"Allow restricted settings"</b> option
+ </p>
+ <v-img
+ style="border-radius: 4px"
+ alt="httpsms android app"
+ height="800"
+ contain
+ :src="
+ require('@/static/img/blog/grant-send-and-read-sms-permissions-on-android/allow-restricted-settings.png')
+ "
+ ></v-img>
+ <h3 class="text-h4 mb-4 mt-16">Step 3: Allow SMS Permissions</h3>
+ <p>
+ Once you have allowed the restricted settings from step 2 above, You
+ can navigate to <b>Permissions ➡️ SMS</b> and tap the Allow button to
+ grant SMS permissions to the android app.
+ </p>
+ <v-img
+ style="border-radius: 4px"
+ alt="httpsms android app"
+ height="800"
+ contain
+ :src="
+ require('@/static/img/blog/grant-send-and-read-sms-permissions-on-android/allow.png')
+ "
+ ></v-img>
+ <h3 class="text-h4 mt-12">Conclusion</h3>
+ <p>
+ Congratulations, you have successfully configured SMS permissions on
+ your Android app. Don't hesitate to contact us if you face any
+ problems while following this guide.
+ </p>
+ <blog-author-bio></blog-author-bio>
+ <v-divider class="mx-16"></v-divider>
+ <div class="text-center mt-8 mb-4">
+ <back-button></back-button>
+ </div>
+ </v-col>
+ <v-col v-if="$vuetify.breakpoint.mdAndUp" md="3">
+ <blog-info></blog-info>
+ </v-col>
+ </v-row>
+ </v-container>
+</template>
+
+<script lang="ts">
+import {
+ mdiLanguageGo,
+ mdiTwitter,
+ mdiDotsVertical,
+ mdiLanguageJavascript,
+} from '@mdi/js'
+export default {
+ name: 'GrantSendAndReadSmsPermissionsOnAndroid',
+ layout: 'website',
+ data() {
+ return {
+ mdiTwitter,
+ mdiLanguageGo,
+ mdiLanguageJavascript,
+ mdiDotsVertical,
+ selectedTab: 'javascript',
+ authorImage: require('@/assets/img/arnold.png'),
+ authorName: 'Acho Arnold',
+ postDate: 'February 18, 2025',
+ readTime: '5 min read',
+ authorTwitter: 'acho_arnold',
+ }
+ },
+ head() {
+ return {
+ title:
+ 'How to grant SEND_SMS and RECEIVE_SMS permissions on Android 14+ - httpSMS',
+ meta: [
+ {
+ hid: 'og:title',
+ property: 'og:title',
+ content:
+ 'How to grant SEND_SMS and RECEIVE_SMS permissions on Android 14+',
+ },
+ {
+ hid: 'og:description',
+ property: 'og:description',
+ content:
+ 'We have added support for end-to-end encryption for SMS messages so that no one can see the content of the messages you send using httpSMS except you.',
+ },
+ ],
+ }
+ },
+}
+</script>
diff --git a/web/pages/blog/index.vue b/web/pages/blog/index.vue
index cd2fbedf..b7aa7a02 100644
--- a/web/pages/blog/index.vue
+++ b/web/pages/blog/index.vue
@@ -3,7 +3,15 @@
<v-row class="mt-16">
<v-col cols="12" md="9">
<v-row>
- <v-col v-for="post in blogPosts" :key="post.route" cols="12">
+ <v-col cols="12" class="mt-4">
+ <h1 class="text-h2">Blog</h1>
+ <h2 class="text--secondary mt-2 mb-n4 title font-weight-light">
+ Learn more about httpSMS through our blog!
+ </h2>
+ </v-col>
+ </v-row>
+ <v-row>
+ <v-col v-for="post in blogPosts" :key="post.route" cols="12" xl="6">
<v-hover v-slot="{ hover }">
<vue-glow
color="#329ef4"
@@ -65,6 +73,18 @@ export default {
mdiTwitter,
mdiGithub,
blogPosts: [
+ {
+ route: '/blog/grant-send-and-read-sms-permissions-on-android',
+ title:
+ 'How to grant SEND_SMS and RECEIVE_SMS permissions on Android 15+',
+ date: 'February 18, 2025',
+ readTime: '5 min read',
+ authorImage: require('@/assets/img/arnold.png'),
+ description:
+ 'Take control of your privacy by encrypting your SMS messages end-to-end. Safeguard your messages from prying eyes, ensuring absolute confidentiality.',
+ authorName: 'Acho Arnold',
+ authorTwitter: 'acho_arnold',
+ },
{
route: '/blog/end-to-end-encryption-to-sms-messages',
title:
diff --git a/web/static/img/blog/grant-send-and-read-sms-permissions-on-android/allow-restricted-settings.png b/web/static/img/blog/grant-send-and-read-sms-permissions-on-android/allow-restricted-settings.png
new file mode 100644
index 00000000..ce20961d
Binary files /dev/null and b/web/static/img/blog/grant-send-and-read-sms-permissions-on-android/allow-restricted-settings.png differ
diff --git a/web/static/img/blog/grant-send-and-read-sms-permissions-on-android/allow.png b/web/static/img/blog/grant-send-and-read-sms-permissions-on-android/allow.png
new file mode 100644
index 00000000..08c6904b
Binary files /dev/null and b/web/static/img/blog/grant-send-and-read-sms-permissions-on-android/allow.png differ
diff --git a/web/static/img/blog/grant-send-and-read-sms-permissions-on-android/app-info.png b/web/static/img/blog/grant-send-and-read-sms-permissions-on-android/app-info.png
new file mode 100644
index 00000000..9eda0ba6
Binary files /dev/null and b/web/static/img/blog/grant-send-and-read-sms-permissions-on-android/app-info.png differ