You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2013/10/16 00:30:42 UTC

[jira] [Commented] (CB-4891) Android permissions READ_PHONE_STATE needed?

    [ https://issues.apache.org/jira/browse/CB-4891?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13795739#comment-13795739 ] 

ASF subversion and git services commented on CB-4891:
-----------------------------------------------------

Commit 8af409378e4bf961f6205386c76756d7c7e73007 in branch refs/heads/master from [~bowserj]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-docs.git;h=8af4093 ]

CB-4891: Fixing errors in 3.1.0 and edge regarding connection permissions


> Android permissions READ_PHONE_STATE needed?
> --------------------------------------------
>
>                 Key: CB-4891
>                 URL: https://issues.apache.org/jira/browse/CB-4891
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: Android, Docs, mobile-spec
>    Affects Versions: 2.9.0
>            Reporter: Peter
>            Priority: Minor
>
> The Connections API says that READ_PHONE_STATE permission is needed.
> {quote}
> <uses-permission android:name="android.permission.READ_PHONE_STATE" />
> {quote}
> http://cordova.apache.org/docs/en/2.9.0/cordova_connection_connection.md.html#Connection
> But READ_PHONE_STATE is not in the *bin/template/project/AndroidManifest.xml* (of the cordova-android.zip). So a newly create mobile-spec test suite project does not have this permission enabled (which seems to conflict with the API documentation), yet it seems to work OK without it. So is this permission really needed or not?



--
This message was sent by Atlassian JIRA
(v6.1#6144)