Skip to content
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

Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating a PendingIntent. #83

Open
anjan2023 opened this issue May 16, 2023 · 2 comments

Comments

@anjan2023
Copy link

anjan2023 commented May 16, 2023

Hello, 

Thanks for this fantastic plugin.

I have set it up in my Cordova app with targetSdkVersion: 30. But now, with targetSdkVersion: 33 it throws the following error when the app tries to connect the casing device. 

  • 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 updated all the plugins of my app but, couldn't find any way to solve it.

Thanks for any hint!

@ivancduran
Copy link

Hi There.

Probably it's what you need, exist there any multiple forks of this project, but I think this project was archived some years ago.

Take a look:

miloproductionsinc#18 (comment)

ghenry22/cordova-plugin-music-controls2@95affbf

@pdille
Copy link

pdille commented Sep 21, 2024

There have been a bunch of breaking changes to Android. My fork fixes these and fwiw, also adds subtitle support (Android only)
https://github.com/pdille/cordova-plugin-chromecast

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants