Android Question Contacts Permissions

aaronk

Well-Known Member
Licensed User
Longtime User
Hi,

After I install the released version of my app on my phone, under the settings app, it shows which permissions the device has access to.

On my device for my app, it is showing a 'Contacts' permission (which is not enabled by default).

In my app I don't think I am referencing anything to do with contacts?

Anyone know why it's showing a permission to view the user's contacts?

Could the line as shown below cause this?

B4X:
<uses-permission android:name="android.permission.GET_ACCOUNTS" />

B4X:
AddManifestText(
<uses-sdk android:minSdkVersion="16" android:targetSdkVersion="26"/>
<uses-permission android:name="android.permission.GET_ACCOUNTS" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<supports-screens android:largeScreens="true"
    android:normalScreens="true"
    android:smallScreens="true"
    android:anyDensity="true"/>) 
SetApplicationAttribute(android:icon, "@drawable/icon")
SetApplicationAttribute(android:label, "$LABEL$")
AddPermission(android.permission.INTERNET)
'End of default text.

AddManifestText(
<uses-permission
  android:name="android.permission.WRITE_EXTERNAL_STORAGE"
  android:maxSdkVersion="18" />
)

RemovePermission(android.permission.WRITE_EXTERNAL_STORAGE)

The permissions my app is using is:

 

mcqueccu

Well-Known Member
Licensed User
Longtime User
Could the line as shown below cause this?

Answer is Yes.


References:
Stackoverflow.com
Developer.android.com
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…