Xamarin is adding READ_PHONE_STATE permission?

JHDevJHDev USMember ✭✭

I have tried to publish my app, in the end the APK that is compiled by VS/Xamarin says it uses permission READ_PHONE_STATE, therefore requires a privacy statement URL to be present to roll out the app.

This is annoying because, in my manifest I did not have this permission in there. I don't think my application requires it, only use the INTERNET permission. I have set the target and min SDK explicitly but it doesn't change the fact when I upload the APK to google it shows a couple more permission was added to my app including READ_PHONE_STATE.

Anyone knows how I can track down what is adding it?

Posts

  • CharwakaCharwaka INMember ✭✭✭
    edited November 13

    Hi @JHDev

    Have you checked in App Manifest ? if its there delete that permission
    <uses-permission android:name="android.permission.READ_PHONE_STATE" />
    If not open the project in explorer delete** bin and obj **files

    Now open solution as Admin clean & rebuild now check whether its asking for again permission

Sign In or Register to comment.