Skip to content

fix(billing): guard billing client connection behind requiresIapForRegistration flag#813

Merged
bmc08gt merged 1 commit into
code/cashfrom
fix/guard-billing-connect-behind-iap-flag
May 31, 2026
Merged

fix(billing): guard billing client connection behind requiresIapForRegistration flag#813
bmc08gt merged 1 commit into
code/cashfrom
fix/guard-billing-connect-behind-iap-flag

Conversation

@bmc08gt

@bmc08gt bmc08gt commented May 31, 2026

Copy link
Copy Markdown
Collaborator

The billing client was eagerly connecting on every app foreground and auth state change, even though the purchase feature is unused. This triggered a known Play Billing Library crash in ProxyBillingActivity on certain devices during cold launch.

Only connect the billing client when the server flag is enabled.

…gistration flag

The billing client was eagerly connecting on every app foreground and
auth state change, even though the purchase feature is unused. This
triggered a known Play Billing Library crash in ProxyBillingActivity
on certain devices during cold launch.

Only connect the billing client when the server flag is enabled.

Signed-off-by: Brandon McAnsh <git@bmcreations.dev>
@bmc08gt bmc08gt self-assigned this May 31, 2026
@bmc08gt bmc08gt merged commit 9c66f5c into code/cash May 31, 2026
3 checks passed
@bmc08gt bmc08gt deleted the fix/guard-billing-connect-behind-iap-flag branch May 31, 2026 01:08
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