Background Mode Error with Android Targeting S+ (version 31 or above)

Im using Background Mode with my Ionic 6 App and when i try to run it on android (my device runs on android 12) it gives me this error:

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’ve tried adding implementation 'androidx.work:work-runtime:2.7.1' to the gradle dependencies but no result. ANy ideas on how to resolve this? Thanks!

Same issue! Any update on this?

There have been some breaking changes in Android.
You can either patch the plugin yourself (see here) or switch to an up-to-date plugin.