Skip to content

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

@anjan2023

Description

@anjan2023

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions