codebased
codebased

Reputation: 7073

SEND_SMS permission | Dialog message is saying this App may view sms

I am using the following permission:

<uses-permission android:name="android.permission.SEND_SMS"/>

When the Android ask for permission for API >= 23, a dialog come with the message as:

"Allow AppName to send and view SMS messages?"

My clients are concerned that I am reading their SMS messages. Any guess on tackling this case, please?

I don't have READ_SMS permission.

I have no interest to change the text what it displayed, rather a reason or two to know why the message is saying I CAN VIEW TOO?

Upvotes: 2

Views: 432

Answers (2)

CommonsWare
CommonsWare

Reputation: 1007296

I don't have READ_SMS permission.

That does not matter.

a reason or two to know why the message is saying I CAN VIEW TOO?

The user grants rights at the permission-group level. The SMS permission group includes the ability to send and read SMS messages.

My clients are concerned that I am reading their SMS messages

Then perhaps elect not to send SMS messages directly on Android 6.0+ devices, but instead use ACTION_SENDTO and the user's chosen SMS client.

Upvotes: 3

Jan Stoltman
Jan Stoltman

Reputation: 392

You can't change this default text but you can show your custom dialog, before requesting the permission, with explanation why this permission is required. Take a look at: developer.android.com

Upvotes: 1

Related Questions