|
| 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> |
0 commit comments