You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I've initiailized the android settings in main() but donno why I'm getting this errror need Help!!
To Reproduce
/MethodChannel#dexterous.com/flutter/local_notifications( 9515): Failed to handle method call
E/MethodChannel#dexterous.com/flutter/local_notifications( 9515): java.lang.IllegalArgumentException: package_name: Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating a PendingIntent.
E/MethodChannel#dexterous.com/flutter/local_notifications( 9515): 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.
Expected behavior
it needs to send the notification
Sample code to reproduce the problem
The text was updated successfully, but these errors were encountered:
This is happening as you're running on Android 12 or higher and you're not using a more recent version of the plugin that supports Android 12+. If you've searched for similar messages you should find this was raised and closed before as part of the plugin being updated to support changes required by Android 12
Describe the bug
I've initiailized the android settings in main() but donno why I'm getting this errror need Help!!
To Reproduce
/MethodChannel#dexterous.com/flutter/local_notifications( 9515): Failed to handle method call
E/MethodChannel#dexterous.com/flutter/local_notifications( 9515): java.lang.IllegalArgumentException: package_name: Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating a PendingIntent.
E/MethodChannel#dexterous.com/flutter/local_notifications( 9515): 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.
Expected behavior
it needs to send the notification
Sample code to reproduce the problem
The text was updated successfully, but these errors were encountered: