Question

How to run in sandbox mode for the analytics

  • 28 August 2022
  • 1 reply
  • 33 views

Badge +3

While working with on the app in my simulator everytime I remove and run the app revenue cat new customer data is increasing. I would like to filter this debug mode datas. Is there anyway to do that? 

some thing like this:

#if DEBUG

        Purhcases.environment = .sandbox

#endif


1 reply

Userlevel 5
Badge +7

Hi @Yildirim , there isn’t currently a way to do this, since customers aren’t tied to an environment (sandbox vs. production), only purchases are. In other words, new customers / active users will increase regardless of whether you use production or sandbox, but anything purchase related (trials / subscriptions / MRR / revenue) will only show up for sandbox (if you flip the switch “show sandbox data” on the RevenueCat dashboard) 

Reply