Android Question android 6.0 send sms permission

ronell

Well-Known Member
Licensed User
Longtime User
this error raise when i send sms using android version 6.0 and up, already added the permission in manifest AddPermission(android.permission.SEND_SMS)

code for sending sms
B4X:
    p.Send2("*********","sample",True,False)
 

Computersmith64

Well-Known Member
Licensed User
Longtime User
What is the targetSdkVersion set to in your manifest? If it's 23 & up, you will also need to use the Runtime Permissions to get the user to allow it.

- Colin.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…