Skip to content

Conversation

JayShortway
Copy link
Member

Drafty McDraft

Copy link

emerge-tools bot commented Mar 27, 2025

1 build increased size

Name Version Download Change Install Change Approval
⚠️ TestPurchasesUIAndroidCompatibility
com.revenuecat.testpurchasesuiandroidcompatibility
1.0 (1) 15.2 MB ⬆️ 538.2 kB (3.67%) 41.1 MB ⬆️ 1.2 MB (3.14%) N/A

TestPurchasesUIAndroidCompatibility 1.0 (1)
com.revenuecat.testpurchasesuiandroidcompatibility

⚖️ Compare build
⏱️ Analyze build performance

Total install size change: ⬆️ 1.2 MB (3.14%)
Total download size change: ⬆️ 538.2 kB (3.67%)

Largest size changes

Item Install Size Change Download Size Change
resources.arsc ⬆️ 212.3 kB ⬆️ 47.8 kB
📝 androidx.appcompat.app.AppCompatDelegateImpl ⬆️ 19.8 kB ⬆️ 6.7 kB
kotlin.collections.ArraysKt___ArraysKt ⬇️ -2.2 kB ⬇️ -6.4 kB
📝 androidx.appcompat.widget.Toolbar ⬆️ 18.3 kB ⬆️ 6.2 kB
📝 androidx.appcompat.widget.LinearLayoutCompat ⬆️ 16.8 kB ⬆️ 5.7 kB
View Treemap

Image of diff


🛸 Powered by Emerge Tools

Comment trigger: Size diff threshold of 100.00kB exceeded

override val currentLocalesLanguageTags: String
get() = LocaleListCompat.getDefault().toLanguageTags()
get() = (AppCompatDelegate.getApplicationLocales() + LocaleListCompat.getDefault()).distinct().toLanguageTags()
Copy link
Member Author

Choose a reason for hiding this comment

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

This ensures the app-specific locales take precedence in the X-Preferred-Locales header.

@@ -87,7 +89,9 @@ internal sealed interface PaywallState {
private val purchasedNonSubscriptionProductIds: Set<String>,
private val dateProvider: () -> Date,
private val packages: AvailablePackages,
initialLocaleList: LocaleList = LocaleList.current,
initialLocaleList: LocaleList = LocaleList(
(AppCompatDelegate.getApplicationLocales().toComposeLocaleList() + LocaleList.current).distinct(),
Copy link
Member Author

Choose a reason for hiding this comment

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

This ensures the app-specific locales take precedence on the paywall.

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

Successfully merging this pull request may close these issues.

1 participant