android-permissions

Android Speech Recognition Insufficient Permission (Error Code 9)

青春壹個敷衍的年華 提交于 2019-12-23 09:29:41
问题 I am trying to implement speech recognition without the standard dialog (it is working fine with the dialog). I am getting error code 9 as soon as I try to start listening. My device is an LG G Stylo (running Android 6.0). Manifest: <manifest package="example.com.myapplication" xmlns:android="http://schemas.android.com/apk/res/android"> <uses-permission android:name="android.permission.RECORD_AUDIO"/> <application ..... (also tried adding INTERNET permission even though that shouldn't be

Playstore prompts to 'Declare sensitive permissions'

爱⌒轻易说出口 提交于 2019-12-23 08:30:48
问题 Our Android Manifest doesn't have any permissions for SMS. We did till 4 releases back. But the Playstore still prompts us to fill in the declaration for sensitive permissions by saying the following - Previously declared permissions (3 permissions) android.permission.RECEIVE_SMS android.permission.SEND_SMS android.permission.READ_SMS Could this be coming due to a library that we're using which still requires these permissions? How can we avoid this? Our Manifest has the following permissions

Playstore prompts to 'Declare sensitive permissions'

我是研究僧i 提交于 2019-12-23 08:30:11
问题 Our Android Manifest doesn't have any permissions for SMS. We did till 4 releases back. But the Playstore still prompts us to fill in the declaration for sensitive permissions by saying the following - Previously declared permissions (3 permissions) android.permission.RECEIVE_SMS android.permission.SEND_SMS android.permission.READ_SMS Could this be coming due to a library that we're using which still requires these permissions? How can we avoid this? Our Manifest has the following permissions

Receive_SMS Permission issue

大兔子大兔子 提交于 2019-12-23 07:59:09
问题 As you know, According to Google Developer policy if our core functionality of the app does not depends on SMS than we should remove RECEIVE_SMS android permission and try to find a different Alternative. But my issue is I am not using RECEIVE_SMS in manifest or in asking Runtime. Still, Google warns me of using RECEIVE_SMS permission. Though on play store If I check permissions required in this app it shows RECEIVE_SMS permission. You can see some of the screenshots of my app where I

How do I show permissions rationale for multiple permissions request?

做~自己de王妃 提交于 2019-12-23 03:25:09
问题 I am working with Android API 25 and need to make permissions requests in the app. There are a ton of code samples on how to make a request as well as how to show the rationale. This link here shows a simple methodology as do these: Android M Request Multiple permission at a single time , Android M request permission non activity The problem I am having is I am requesting multiple permissions at once (Location, Write storage access, and Contacts) and the ActivityCompatApi23

Unity Android - Remove Caller ID permission

爱⌒轻易说出口 提交于 2019-12-22 17:43:08
问题 Recently I've added two services - Chartboost and UnityAds for advertising in my ready-to-launch game. However I've noticed that the app now asks for a permission to read Caller ID data. I've searched the plugins Android Manifest and found no line of requesting this permission - I'm wondering if it is automatically added when using some special function? I've already researched this topic and found I have no usage of SystemInfo.deviceUniqueIdentifier that would put this permission in the

Caused by: java.lang.SecurityException: “gps” location provider requires ACCESS_FINE_LOCATION permission

我与影子孤独终老i 提交于 2019-12-22 06:37:22
问题 I already set permission. Why do I still get this error? Caused by: java.lang.SecurityException: "gps" location provider requires ACCESS_FINE_LOCATION permission. My manifest contents: <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" /> <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /> <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> <uses-permission android:name="android.permission.INTERNET" /> My Activity code:

Google Play -505 install error

牧云@^-^@ 提交于 2019-12-22 04:41:33
问题 I have an app in Google Play, which was built with tools and API 22. Everything was working well, but last update with API 23 (tools 23.1) shows users with Android 6.0 error numbered "-505" (in Google Play app or in notification). BUT.. its really random... I know about two same devices - Nexus 5 with 6.0.1 - one have -505, second is installing update without problem.... After a lot of searching I've found information that this error means duplicated permission, but which...? <uses-permission

Android sdk23 find places to update and request permission

时光毁灭记忆、已成空白 提交于 2019-12-22 00:39:54
问题 May be I am missing something, but is there a way to quickly know all the places I have to update with the new permission checks needed for Android apps using sdk23? As a developer this change is very frustrating considering the multiple places that need to be updated. I would like to make sure I don't forget/miss any of them. I am talking about finding where it will be needed to use these two functions before using the permissions qualified as 'Dangerous' ContextCompat.checkSelfPermission()

Some Permissions' protectionLevel seems wrongly documented or implemented

痴心易碎 提交于 2019-12-21 21:36:00
问题 I'm running through many permissions tagged PROTECTION_NORMAL and PROTECTION_DANGEROUS in a ListView . Upon click my application calls ActivityCompat.requestPermission() . All permissions I tested (by that I mean all normal and dangerous permissions for API-7 and above I could find) are working fine on my Emulator, except for some: CHANGE_NETWORK_STATE Requesting CHANGE_NETWORK_STATE always returns PackageManager.PERMISSION_DENIED (without even prompting). I would expect it granted by default