10000 MBL-1876: Firebase crashes Caused by android.os.TransactionTooLargeException by leighdouglas · Pull Request #2171 · kickstarter/android-oss · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

MBL-1876: Firebase crashes Caused by android.os.TransactionTooLargeException #2171

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

Merged
merged 3 commits into from
Nov 16, 2024

Conversation

leighdouglas
Copy link
Contributor
@leighdouglas leighdouglas commented Nov 15, 2024

📲 What

Fix for crashes happening from TransactionTooLarge

🤔 Why

Take a look at the crashes in the linked ticket

This is not a new issue, we have seen this before. This happens when we the project payload is too big to be passed via intent between activities.

🛠 How

In places we are seeing the crash, we can reduce the project payload with .reduceProjectPayload() from
ProjectExt when attaching it to an intent.

Added some additional fields to the reduced object payload that are needed by the affected activities

Updated some tests to make sure the reduced payload didn't break anything.

📋 QA

Navigate through app and make sure everything is working and not crashing or missing information

Story 📖

MBL-1876: Firebase crashes Caused by android.os.TransactionTooLargeException

@codecov-commenter
Copy link

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 68.90%. Comparing base (81c088c) to head (5f8e4af).

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff            @@
##             master    #2171   +/-   ##
=========================================
  Coverage     68.89%   68.90%           
  Complexity     2225     2225           
=========================================
  Files           366      366           
  Lines         23100    23106    +6     
  Branches       3349     3349           
=========================================
+ Hits          15915    15921    +6     
  Misses         5375     5375           
  Partials       1810     1810           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@leighdouglas leighdouglas marked this pull request as ready for review November 16, 2024 00:25
@leighdouglas leighdouglas merged commit f63ea03 into master Nov 16, 2024
3 checks passed
@leighdouglas leighdouglas deleted the leigh/mbl-1876-bug branch November 16, 2024 00:25
Arkariang pushed a commit that referenced this pull request Nov 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0