Prevent Firebase Events While Testing on iOS
I had the issue where I was testing in-app purchases for my app on my phone and the test purchases were showing up in my Firebase Analytics.
nicksensei
1 min read
Jul 31, 2021
To fix this, essentially what you need to do is set firebase to debug mode when you are testing your app. The easiest way to do this is edit your scheme for Run (this is whenever you run your app on a simulator or a test device) and add -FIRDebugEnabled
as an argument at launch. You can see the full walkthrough in the video above. I hope it helps!