Skip to main content
Question

Firestore Record 1mb size limit solution.


Forum|alt.badge.img+2

Is there a workaround to the problem described here? 

 

4 replies

Ben
Forum|alt.badge.img+4
  • New Member
  • 4 replies
  • 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+2

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

@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
  • 4 replies
  • 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


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings