purchases-android icon indicating copy to clipboard operation
purchases-android copied to clipboard

Fatal Exception: com.revenuecat.purchases.PurchasesException: [There was an unknown backend error]

Open NickMelnykIronvest opened this issue 6 months ago • 2 comments

Describe the bug Crash for some users that comes from RevenueCat's SDK. Fatal Exception: com.revenuecat.purchases.PurchasesException: [There was an unknown backend error] See file for details

  1. Environment

    1. Platform: Android
    2. SDK version:
    3. OS version: Android 9
    4. Android Studio version: Android Studio Meerkat Feature Drop | 2024.3.2
    5. How widespread is the issue. Percentage of devices affected. (~1%, 100% Samsung, 100% background)
  2. Stacktrace: file

rc_issue_crash_stacktrace.txt

Additional context Issue reported at Jun 13, 2025, 2:03:07 AM Samsung Galaxy S10+, enough free RAM and disk space, non rooted

No reproduce steps and logs are limited, as not available in firebase crashlytics. Some users has also other crashed reported in firebase sharedInstance is accessed before initialisation, which according to my app logic should not happen in normal user flow, thus leads to conclusion that it could be result of some data tempering/fraud/hacking attempts.

NickMelnykIronvest avatar Jun 13 '25 13:06 NickMelnykIronvest

👀 We've just linked this issue to our internal tracker and notified the team. Thank you for reporting, we're checking this out!

RCGitBot avatar Jun 13 '25 13:06 RCGitBot

Hi, can you upgrade to our most recent 8.19.2 SDK and let me know if this fixes it for you?

If not then can you please share with me your code for configuring/logging in, firebase sharedInstance, and purchasing? And are you able to reproduce this on your end? If so RevenueCat debug logs would also be helpful, see our docs here for how to enable these.

HaleyRevcat avatar Jun 17 '25 16:06 HaleyRevcat

This issue has been automatically locked due to no recent activity after it was closed. Please open a new issue for related reports.

github-actions[bot] avatar Aug 15 '25 00:08 github-actions[bot]