Google has changed their policy regarding the following permissions:
READ_SMS, SEND_SMS, WRITE_SMS, RECEIVE_SMS
READ_CALL_LOG, WRITE_CALL_LOG, PROCESS_OUTGOING_CALLS
Only the default phone or messaging apps can use these permissions:
https://support.google.com/googleplay/android-developer/answer/9047303?hl=en
This is relevant for Google Play apps.
The following types of objects can no longer be used:
- CallLog
- SmsMessages
- PhoneSms
- SmsInterceptor (and the equivalent static intent filter)
1. Note that you can send sms messages with an intent and without a permission:
2. Adding a library doesn't add any permission. You can safely use the Phone library as long as you don't declare any of the above objects.
3. Click on the List Permissions button (in the logs tab) to see your apps permissions.
READ_SMS, SEND_SMS, WRITE_SMS, RECEIVE_SMS
READ_CALL_LOG, WRITE_CALL_LOG, PROCESS_OUTGOING_CALLS
Only the default phone or messaging apps can use these permissions:
https://support.google.com/googleplay/android-developer/answer/9047303?hl=en
This is relevant for Google Play apps.
The following types of objects can no longer be used:
- CallLog
- SmsMessages
- PhoneSms
- SmsInterceptor (and the equivalent static intent filter)
1. Note that you can send sms messages with an intent and without a permission:
B4X:
Dim In As Intent
Dim number = "0123456789" As String
In.Initialize(In.ACTION_VIEW, "sms:" & number)
In.PutExtra("sms_body", "this is the body")
StartActivity(In)
2. Adding a library doesn't add any permission. You can safely use the Phone library as long as you don't declare any of the above objects.
3. Click on the List Permissions button (in the logs tab) to see your apps permissions.