Why is my app asking for permissions that I didn't ask for?

my APK is asking for these permissions:

android.permission.ACCESS_NETWORK_STATE
android.permission.BIND_NOTIFICATION_LISTENER_SERVICE
android.permission.INTERNET
android.permission.READ_EXTERNAL_STORAGE
android.permission.READ_LOGS
android.permission.WRITE_EXTERNAL_STORAGE

      

I see that when I try to publish an APK on the play store or when I try to install the APK on my physical device.

However, my application manifest only has:

<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.READ_LOGS" />
<uses-permission android:name="android.permission.BIND_NOTIFICATION_LISTENER_SERVICE" />

      

Why is my app asking for different permissions?

My solution has a Xamarin.Forms PCL project, a generic PCL utility project, and a native Android project. I am using SQLite.NET (it does not require these permissions), could it be related?

Any ideas?

EDIT: here is the entire manifest:

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.SpaceMonkey.Boats">
    <uses-sdk android:minSdkVersion="15" android:targetSdkVersion="21" />
    <application android:label="Boats" android:icon="@drawable/anchor" android:theme="@android:style/Theme.Material"></application>
    <uses-permission android:name="android.permission.INTERNET" />
    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
    <uses-permission android:name="android.permission.READ_LOGS" />
    <uses-permission android:name="android.permission.BIND_NOTIFICATION_LISTENER_SERVICE" />
</manifest>

      

+3


source to share


1 answer


According to this article, the Xamarin.Insights.dll manifest has the following:

[assembly: UsesPermission("android.permission.WRITE_EXTERNAL_STORAGE")]
[assembly: UsesPermission("android.permission.INTERNET")]

      



Maybe this is your case?

+1


source







All Articles