-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Background mode gives Error Targeting S+ (version 31 and above) on android #577
Comments
There are multiple forks documented under issues and pull requests that address this. Seems no one is maintaining this version anymore. for example. |
I fixed it by manually opening the |
I love you :-) you saved my from going crazy |
Im trying to use background mode with my Ionic 6 app but 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!The text was updated successfully, but these errors were encountered: