Open UmairSaqibBhutta opened 4 months ago
@fabienrousseau @ThomasAunvik @fred441a @FritzMatthaeus any help please?
you need to update the MainActivity.kt file in the example project. Update line 13 to be the following:
val pendingIntent = PendingIntent.getActivity(this, 0, intent, PendingIntent.FLAG_IMMUTABLE) // Updated line
When I run the example project on my android device then app crashes on launch and logs :
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