ssseasonnn / RxDownload

A multi-threaded download tool written with RxJava and Kotlin
Apache License 2.0
4.14k stars 612 forks source link

Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating a PendingIntent. #343

Closed Hardovsky closed 2 years ago

Hardovsky commented 2 years ago

Hello! Application crashes when the NotificationActionService try to create a pendingIntent on android 12. We need something like this when we creating the pending intent: PendingIntent.FLAG_IMMUTABLE or PendingIntent.FLAG_UPDATE_CURRENT

https://developer.android.com/guide/components/intents-filters#DeclareMutabilityPendingIntent

ssseasonnn commented 2 years ago

fixed

Hardovsky commented 2 years ago

awesome!