Skip to main content
Question

Firestore Record 1mb size limit solution.

  • May 17, 2025
  • 5 replies
  • 74 views

Forum|alt.badge.img+2

Is there a workaround to the problem described here? 

 

This post has been closed for comments

5 replies

Ben
Forum|alt.badge.img+4
  • New Member
  • May 17, 2025

Depends how you doing it but, you could add each new transaction, as a new document.

 

Example of Path:

in_app / uid / list_transaction / addDoc


chris_perriam
RevenueCat Staff
Forum|alt.badge.img+6
  • RevenueCat Staff
  • May 23, 2025

Hi ​@Brendan Rice, does the suggestion Ben provided above help at all? I’m not aware of a change to the Firestore extension to resolve this particular challenge, but we haven’t heard of developers exceeding the 1mb size limit either.


Forum|alt.badge.img+2
  • Author
  • Member
  • May 23, 2025

@chris_perriam I don’t think so because I’m talking about the firebase extension for revenuecat. As far as I can tell it just makes a collection for customers and ever customer gets exactly 1 record which stores all of their transactions. I don’t think there is actually an option to tell the extension to breakout each customer’s transaction into a separate records? 


Ben
Forum|alt.badge.img+4
  • New Member
  • May 23, 2025

You can try few more things:

  • using the webhook instead of the extension
  • onUpdate on the document delete some data and add it to a collection etc

Not sure if it helps


chris_perriam
RevenueCat Staff
Forum|alt.badge.img+6
  • RevenueCat Staff
  • June 6, 2025

@Brendan Rice I’ve checked with the team and can confirm your understanding is correct on this. We don’t currently have a workaround to the 1mb limitation.