Reputation: 7073
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
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
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