Permission name does not follow recommended convention
Permission name does not follow recommended convention
Permissions should be prefixed with an app's package name, using reverse-domain-style naming. This prefix should be followed by .permission.
, and then a description of the capability that the permission represents, in upper SNAKE_CASE. For example, com.example.myapp.permission.ENGAGE_HYPERSPACE
.
Following this recommendation avoids naming collisions, and helps clearly identify the owner and intention of a custom permission.
Issue id: PermissionNamingConvention
Inspection Details | |
---|---|
Available in: | IntelliJ IDEA 2023.3, Qodana for Android 2023.3, Qodana for JVM 2023.3 |
Plugin: | Android, 2022.3.1 Beta 2 |
Last modified: 13 July 2023