[GH-ISSUE #415] Why is READ_PHONE_STATE permission requested? #294

Closed
opened 2026-02-28 01:24:01 +03:00 by kerem · 1 comment
Owner

Originally created by @alxndrsn on GitHub (Apr 7, 2016).
Original GitHub issue: https://github.com/ushahidi/SMSSync/issues/415

Originally assigned to: @eyedol on GitHub.

The only method I can see that is called which might require this permission is TelephonyManager.getLine1Number(). However, from the docs linked, this will also be happy with the READ_SMS permission, which SMSSync also requests.

Originally created by @alxndrsn on GitHub (Apr 7, 2016). Original GitHub issue: https://github.com/ushahidi/SMSSync/issues/415 Originally assigned to: @eyedol on GitHub. The only method I can see that is called which might require this permission is [`TelephonyManager.getLine1Number()`](https://developer.android.com/reference/android/telephony/TelephonyManager.html#getLine1Number%28%29). However, from the docs linked, this will also be happy with the `READ_SMS` permission, which SMSSync also requests.
kerem closed this issue 2026-02-28 01:24:01 +03:00
Author
Owner

@eyedol commented on GitHub (Apr 28, 2016):

I'm sure this is coming for copy and paste from old code in the past.

<!-- gh-comment-id:215361911 --> @eyedol commented on GitHub (Apr 28, 2016): I'm sure this is coming for copy and paste from old code in the past.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/SMSSync#294
No description provided.