Make sure the use of "ACCESS_FINE_LOCATION" permission is necessary

  • ALM used : GitHub
  • CI system used : Circle CI
  • Languages of the repository : Java, Kotlin, XML
  • Error observed : No errors.
  • Steps to reproduce : Commit the code and analyze the SOnarCloud
  • Potential workaround : None identified

Hello Team,

All of a sudden I am getting this Security Hotspot issue since yesterday. This permission is in Manifest file since beginning. Previously, this issue was not visible in Security Hotspot issues.The same issue is appearing for 7 other Android permissions. Kindly guide me how to fix this issue.

Thank you.

Hey there.

You’ll need to give some more information about the files/issues that are raised – such as providing a code snippet, a screenshot of the issue message, the rule ID, etc…

A good starting point is this guide: Report a False-positive / False-negative - Sonar Community

Hi there, we’ve also got a similar message recently.

Because this line.

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

Any ideas?