cordova-plugin-background-mode icon indicating copy to clipboard operation
cordova-plugin-background-mode copied to clipboard

Add FLAG_MUTABLE to pending intents for SDK 31 support

Open Antonio592021 opened this issue 2 years ago • 5 comments

Added FLAG_MUTABLE to pending intents in order to avoid crashes on SDK 31

Antonio592021 avatar Aug 09 '22 20:08 Antonio592021

@katzer Please review and merge this. The plugin is broken with Android SDK >= 31.

mrahn24 avatar Aug 15 '22 09:08 mrahn24

This fixes the crashing on SDK >= 31. It should be merged!

ucielsola avatar Sep 07 '22 23:09 ucielsola

Looking at the commit history, the last one was in 2019 so it is likely that this plugin is no longer being maintained.

brunochikuji avatar Oct 24 '22 15:10 brunochikuji

Looking at the commit history, the last one was in 2019 so it is likely that this plugin is no longer being maintained.

Do you if we got some kind of alternative? I've been looking, but no luck yet

ucielsola avatar Oct 24 '22 15:10 ucielsola

@ucielsola I forked the project and implemented the fix to use for now.

brunochikuji avatar Oct 24 '22 16:10 brunochikuji