Skip to content

Going from 7.5.2 to 7.5.3 requires Android compileSdkVersion >= 34 #211

Description

@wsamoht

I just updated this plugin to 7.5.3 in my app from 7.4.0. We are using Capacitor 5. The gradle build is failing with this message:

[capacitor]         1.  Dependency 'androidx.core:core-ktx:1.12.0' requires libraries and applications that
[capacitor]         depend on it to compile against version 34 or later of the
[capacitor]         Android APIs.

I tracked it down to 7.5.3 of this plugin which updated purchases-hybrid-common to 9.8.0 which in turn updated purchases-android to 7.6.0. This updated androidxCore from 1.8.0 to 1.12.0.

Shouldn't this be considered a breaking change?

Capacitor 5 is the latest released version that has compileSdkVersion set to 33. Capacitor 6 still in Beta updates it to 34.

I am trying compileSdkVersion set to 34 but looks like I should also update AGP from 8.0 to 8.1 according to the min requirements.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions