{"action":"closed","issue":{"url":"https://api.github.com/repos/JimmyMakesThings/cordova-plugin-digits/issues/8","repository_url":"https://api.github.com/repos/JimmyMakesThings/cordova-plugin-digits","labels_url":"https://api.github.com/repos/JimmyMakesThings/cordova-plugin-digits/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/JimmyMakesThings/cordova-plugin-digits/issues/8/comments","events_url":"https://api.github.com/repos/JimmyMakesThings/cordova-plugin-digits/issues/8/events","html_url":"https://github.com/JimmyMakesThings/cordova-plugin-digits/issues/8","id":177222246,"number":8,"title":"Plugin causes app to be restricted to phones in app store","user":{"login":"derwaldgeist","id":3984535,"avatar_url":"https://avatars.githubusercontent.com/u/3984535?v=3","gravatar_id":"","url":"https://api.github.com/users/derwaldgeist","html_url":"https://github.com/derwaldgeist","followers_url":"https://api.github.com/users/derwaldgeist/followers","following_url":"https://api.github.com/users/derwaldgeist/following{/other_user}","gists_url":"https://api.github.com/users/derwaldgeist/gists{/gist_id}","starred_url":"https://api.github.com/users/derwaldgeist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/derwaldgeist/subscriptions","organizations_url":"https://api.github.com/users/derwaldgeist/orgs","repos_url":"https://api.github.com/users/derwaldgeist/repos","events_url":"https://api.github.com/users/derwaldgeist/events{/privacy}","received_events_url":"https://api.github.com/users/derwaldgeist/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-15T16:20:04Z","updated_at":"2016-09-15T21:25:11Z","closed_at":"2016-09-15T21:25:11Z","body":"Everything works fine in development, Digits works on both iOS and Android, on phones and tablets. But after I released my App on Play Store, I noticed that it is *not* available for tablets. Play store tells me that the app was designed for phones only, and a lot of tablets are missing in the list of supported devices. If I remove the Digits plugin, these devices become supported again.\r\n\r\nI tracked this problem down, and the reason is that the APK now requires ```android.hardware.TELEPHONY```.\r\n\r\nThis seems to be caused by the Cordova plugin requiring the following permissions:\r\n\r\n```xml\r\n<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\" />\r\n<uses-permission android:name=\"android.permission.READ_PHONE_STATE\" />      \r\n<uses-permission android:name=\"android.permission.RECEIVE_SMS\" />\r\n```\r\n\r\nStrange thing is that the app does work on tablets in development, so these permissions don't seem to be mandatory for Digits to work. Is there any workaround that will tell Play Store that ```android.hardware.TELEPHONY``` is optional?\r\n\r\nIf I won't be able to make Digits work on tablets in Play Store, this would be a big bummer for me, and I would have to look for an alternative solution :-/"}}
{"actor":{"display_login":"derwaldgeist"}}