Skip to content

Increase targetSdkVersion to 36 #2446

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

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft

Conversation

tonidero
Copy link
Contributor

Description

This increases the target and compile Sdk versions of our SDKs and apps to android 16 (36). https://developer.android.com/about/versions/16/behavior-changes-16

Copy link

emerge-tools bot commented Jun 16, 2025

📸 Snapshot Test

Some snapshots failed to render

Name Added Removed Modified Renamed Unchanged Errored Approval
TestPurchasesUIAndroidCompatibility
com.revenuecat.testpurchasesuiandroidcompatibility
0 122 0 0 200 63 ⏳ Needs approval

🛸 Powered by Emerge Tools

import androidx.compose.material3.Button
import androidx.compose.material3.ButtonDefaults
import androidx.compose.material3.ExperimentalMaterial3Api
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I changed TopAppBar to the material 3 import, since that already handles insets, but unfortunately it's an experimental API 🥴. I think it's fine to opt-in for now since this is a test app.

window.statusBarColor = colorScheme.primary.toArgb()
WindowCompat.getInsetsController(window, view).isAppearanceLightStatusBars = darkTheme
}
}
Copy link
Contributor Author

Choose a reason for hiding this comment

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

All this is not needed anymore as far as I could tell and was causing some bad coloring for the status bar. It's not part of new project's wizard either.

@tonidero
Copy link
Contributor Author

On hold because robolectric doesn't yet support API 36: robolectric/robolectric#10103

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

Successfully merging this pull request may close these issues.

1 participant