Skip to content

Commit 8f0e535

Browse files
committed
Add guide on how to grant SMS permissions on android
1 parent 1f52f08 commit 8f0e535

File tree

6 files changed

+171
-14
lines changed

6 files changed

+171
-14
lines changed

web/components/BlogInfo.vue

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,11 @@
11
<template>
22
<div>
3-
<v-badge
4-
class="logo-badge"
5-
:class="{ 'logo-badge--mobile': $vuetify.breakpoint.mdAndDown }"
6-
color="primary"
7-
content="Beta"
8-
>
9-
<nuxt-link to="/" class="text-decoration-none d-flex">
10-
<v-avatar tile size="33" class="mt-1">
11-
<v-img contain :src="require('@/assets/img/logo.svg')"></v-img>
12-
</v-avatar>
13-
<h3 class="text-h4 text--primary ml-1">httpSMS</h3>
14-
</nuxt-link>
15-
</v-badge>
3+
<nuxt-link to="/" class="text-decoration-none d-flex">
4+
<v-avatar tile size="33" class="mt-1">
5+
<v-img contain :src="require('@/assets/img/logo.svg')"></v-img>
6+
</v-avatar>
7+
<h3 class="text-h4 text--primary ml-1">httpSMS</h3>
8+
</nuxt-link>
169
<p>
1710
httpSMS is an
1811
<a
Lines changed: 144 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,144 @@
1+
<template>
2+
<v-container class="pt-8">
3+
<v-row class="mt-16">
4+
<v-col cols="12" md="9">
5+
<h1
6+
class="mt-1"
7+
:class="{
8+
'text-h2': $vuetify.breakpoint.mdAndUp,
9+
'text-h3': !$vuetify.breakpoint.mdAndUp,
10+
}"
11+
>
12+
How to grant SEND_SMS and RECEIVE_SMS permissions on Android 15+
13+
</h1>
14+
<p class="subtitle-2 mt-2">
15+
<span class="text-uppercase blue--text">{{ postDate }}</span>
16+
• <span class="text-uppercase">{{ readTime }}</span>
17+
</p>
18+
<p class="text--secondary subtitle-1 mt-2">
19+
In Android 15 (Vanilla Ice Cream), the
20+
<code>android.permission.SEND_SMS</code> and
21+
<code>android.permission.SEND_SMS</code> permissions are now hard
22+
restricted and cannot be granted
23+
<a
24+
class="text-decoration-none"
25+
href="https://developer.android.com/training/permissions/requesting"
26+
>via the runtime permissions interface</a
27+
>.
28+
</p>
29+
30+
<v-alert type="warning" outlined>
31+
Granting the <code>SEND_SMS</code> and
32+
<code>RECEIVE_SMS</code> permissions will allow an Android app to be
33+
able to read and send SMS messages on your phone. Make sure you trust
34+
the application before allowing these permissions.
35+
</v-alert>
36+
<h3 class="text-h4 mt-8 mb-2">Step1: Open App Info</h3>
37+
<p>
38+
Long press the icon of the android app which you want to grant the
39+
permission and select <b>"App info"</b>
40+
</p>
41+
<v-img
42+
style="border-radius: 4px"
43+
alt="httpsms android app"
44+
height="800"
45+
contain
46+
:src="
47+
require('@/static/img/blog/grant-send-and-read-sms-permissions-on-android/app-info.png')
48+
"
49+
></v-img>
50+
<h3 class="text-h4 mb-4 mt-16">Step 2: Allow Restricted Permissions</h3>
51+
<p>
52+
On the App Info page, click on the menu button
53+
<v-icon>{{ mdiDotsVertical }}</v-icon> and select the
54+
<b>"Allow restricted settings"</b> option
55+
</p>
56+
<v-img
57+
style="border-radius: 4px"
58+
alt="httpsms android app"
59+
height="800"
60+
contain
61+
:src="
62+
require('@/static/img/blog/grant-send-and-read-sms-permissions-on-android/allow-restricted-settings.png')
63+
"
64+
></v-img>
65+
<h3 class="text-h4 mb-4 mt-16">Step 3: Allow SMS Permissions</h3>
66+
<p>
67+
Once you have allowed the restricted settings from step 2 above, You
68+
can navigate to <b>Permissions ➡️ SMS</b> and tap the Allow button to
69+
grant SMS permissions to the android app.
70+
</p>
71+
<v-img
72+
style="border-radius: 4px"
73+
alt="httpsms android app"
74+
height="800"
75+
contain
76+
:src="
77+
require('@/static/img/blog/grant-send-and-read-sms-permissions-on-android/allow.png')
78+
"
79+
></v-img>
80+
<h3 class="text-h4 mt-12">Conclusion</h3>
81+
<p>
82+
Congratulations, you have successfully configured SMS permissions on
83+
your Android app. Don't hesitate to contact us if you face any
84+
problems while following this guide.
85+
</p>
86+
<blog-author-bio></blog-author-bio>
87+
<v-divider class="mx-16"></v-divider>
88+
<div class="text-center mt-8 mb-4">
89+
<back-button></back-button>
90+
</div>
91+
</v-col>
92+
<v-col v-if="$vuetify.breakpoint.mdAndUp" md="3">
93+
<blog-info></blog-info>
94+
</v-col>
95+
</v-row>
96+
</v-container>
97+
</template>
98+
99+
<script lang="ts">
100+
import {
101+
mdiLanguageGo,
102+
mdiTwitter,
103+
mdiDotsVertical,
104+
mdiLanguageJavascript,
105+
} from '@mdi/js'
106+
export default {
107+
name: 'GrantSendAndReadSmsPermissionsOnAndroid',
108+
layout: 'website',
109+
data() {
110+
return {
111+
mdiTwitter,
112+
mdiLanguageGo,
113+
mdiLanguageJavascript,
114+
mdiDotsVertical,
115+
selectedTab: 'javascript',
116+
authorImage: require('@/assets/img/arnold.png'),
117+
authorName: 'Acho Arnold',
118+
postDate: 'February 18, 2025',
119+
readTime: '5 min read',
120+
authorTwitter: 'acho_arnold',
121+
}
122+
},
123+
head() {
124+
return {
125+
title:
126+
'How to grant SEND_SMS and RECEIVE_SMS permissions on Android 14+ - httpSMS',
127+
meta: [
128+
{
129+
hid: 'og:title',
130+
property: 'og:title',
131+
content:
132+
'How to grant SEND_SMS and RECEIVE_SMS permissions on Android 14+',
133+
},
134+
{
135+
hid: 'og:description',
136+
property: 'og:description',
137+
content:
138+
'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.',
139+
},
140+
],
141+
}
142+
},
143+
}
144+
</script>

web/pages/blog/index.vue

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,15 @@
33
<v-row class="mt-16">
44
<v-col cols="12" md="9">
55
<v-row>
6-
<v-col v-for="post in blogPosts" :key="post.route" cols="12">
6+
<v-col cols="12" class="mt-4">
7+
<h1 class="text-h2">Blog</h1>
8+
<h2 class="text--secondary mt-2 mb-n4 title font-weight-light">
9+
Learn more about httpSMS through our blog!
10+
</h2>
11+
</v-col>
12+
</v-row>
13+
<v-row>
14+
<v-col v-for="post in blogPosts" :key="post.route" cols="12" xl="6">
715
<v-hover v-slot="{ hover }">
816
<vue-glow
917
color="#329ef4"
@@ -65,6 +73,18 @@ export default {
6573
mdiTwitter,
6674
mdiGithub,
6775
blogPosts: [
76+
{
77+
route: '/blog/grant-send-and-read-sms-permissions-on-android',
78+
title:
79+
'How to grant SEND_SMS and RECEIVE_SMS permissions on Android 15+',
80+
date: 'February 18, 2025',
81+
readTime: '5 min read',
82+
authorImage: require('@/assets/img/arnold.png'),
83+
description:
84+
'Take control of your privacy by encrypting your SMS messages end-to-end. Safeguard your messages from prying eyes, ensuring absolute confidentiality.',
85+
authorName: 'Acho Arnold',
86+
authorTwitter: 'acho_arnold',
87+
},
6888
{
6989
route: '/blog/end-to-end-encryption-to-sms-messages',
7090
title:
64.9 KB
Loading
47.5 KB
Loading
149 KB
Loading

0 commit comments

Comments
 (0)