I am getting the following error in Android 12:
Fatal Exception: java.lang.IllegalArgumentException
Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating a PendingIntent. Strongly consider using FLAG_IMMUTABLE, only use FLAG_MUTABLE if some functionality depends on the PendingIntent being mutable, e.g. if it needs to be used with inline replies or bubbles.
I changed all of my flags to FlagImmutable, but still that error was being shown. Then I commented out all the PendingIntents inside my project and still that error was there, which made me think that external libs might be using those PendingIntents. Is there a way to detect which exact dependencies are using PendingIntents?