Firestore 1mb size limit

  • 19 September 2022
  • 1 reply


Firstore has a 1mb size limit. RevenueCat’s firestore extension creates a single customer record which holds all the purchases the user makes. There is a potential for a user to make so many purchases over time it would exceed the 1mb limit of firestore documents. How does Revenuecat handle this situation?

1 reply

Userlevel 5
Badge +7

Hi @Brendan Rice , we do not currently explicitly handle that case. However, since the amount of data stored per subscription (it’s even less for one-off purchase) is less than 500 characters (not sure which encoding Firebase stores the data in), a customer could make north of 1000 purchases before they run into issues.