unrequested permissions not declared in androidmanifest--crashlytics maybe?

后端 未结 2 1641
野趣味
野趣味 2021-01-12 05:37

I\'ve just noticed that my app has new permission requests that I have not explicitly declared in my AndroidManifest.xml. I didn\'t see these declared in any of the manifest

相关标签:
2条回答
  • 2021-01-12 06:24

    There is an issue within the Android Gradle plugin version 1.0.0-rc1 that may be causing the behavior to happen: https://code.google.com/p/android/issues/detail?id=81017

    Version 1.0.0 has a fix for this.

    Crashlytics only requires the INTERNET permission to send crash reports.

    0 讨论(0)
  • 2021-01-12 06:29

    If you're using Gradle to build, you can add the following to your AndroidManifest.xml to remove the permission:

        <uses-permission android:name="android.permission.READ_PHONE_STATE" tools:node="remove" />
    
    0 讨论(0)
提交回复
热议问题