Skip to content

Commit 45434a8

Browse files
committed
Analysis: Resolve notifications without permission lint warning
Warning Message: "When targeting Android 13 or higher, posting a permission requires holding the 'POST_NOTIFICATIONS' permission (usage from 'com.bumptech.glide.request.target.NotificationTarget') When targeting Android 13 and higher, posting permissions requires holding the runtime permission 'android.permission.POST_NOTIFICATIONS'."
1 parent 456f736 commit 45434a8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

app/src/main/AndroidManifest.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@
1717
<uses-permission android:name="android.permission.READ_MEDIA_VIDEO" />
1818
<uses-permission android:name="android.permission.READ_MEDIA_AUDIO" />
1919

20+
<uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
21+
2022
<application
2123
android:label="@string/app_name"
2224
android:allowBackup="true"

0 commit comments

Comments
 (0)