Troubleshooting
When I find myself in times of trouble
Mother Mary comes to me
Speaking words of wisdom:
"submit a detailed debug log"
— *Paul McCartney*
When things turn sour, and you're done running in circles screaming and shouting, you can swap the
SDK over in debug mode to let it capture detailed call traces of what's happening, and automatically
submit a debug report to us. Do this by calling Megacool.setDebug(true)
as early as possible in
the session, and when your problem has been reproduced (or you believe it is about to happen), call
Megacool.shared()?.submitDebugData(withMessage: "halp!")
to share the issue with us. Please try to explain in the message
what you expected to happen, and what happened instead. If you follow this procedure it will be much
easier for us to reproduce the issue you're having and get it fixed ASAP.
We appreciate you taking the time to help us find the cause of the bugs, and we're very sorry that we didn't find them ourselves.
Having trouble getting referrals to work? Read more about referrals here and how to test them here.
Using a custom engine and seeing problems with the capture? Read about how to use our low-level API to optimize the capture process.