Skip to content
This repository was archived by the owner on Apr 26, 2026. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion android/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ val openiapGoogleVersion = openiapVersions["google"] as String

android {
namespace = pluginPackageName
compileSdk = 34
compileSdk = 35

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high

While updating compileSdk to 35 is a good step, it's crucial to also update targetSdk to the same value. Currently, targetSdk is not explicitly set in your defaultConfig, so it defaults to your minSdk (API 24). This is a significant mismatch and can lead to unexpected runtime behaviors, as your app won't adopt the compatibility behaviors of newer Android versions.

To ensure your app behaves correctly and leverages modern Android features and security enhancements, please explicitly set targetSdk to 35 within the defaultConfig block.

Example:

defaultConfig {
    minSdk = 24
    targetSdk = 35
    // ...
}


defaultConfig {
minSdk = 24
Expand Down
Loading