Skip to content

مشکل PendingIntent در compileSdkVersion 32 #32

@P-B1101

Description

@P-B1101

سلام، خسته نباشید.
هنگام بروزرسانی compileSdkVersion به 32 برای قرار دادن اپلیکیشن در google play خطای زیر در گوشی های اندروید 12 نمایش داده می شود.

java.lang.IllegalArgumentException: ir.x.y: 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.

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