While developing the app sometimes it crashes, and It’s known crash while development, It unnecessarily sends mail to the client that some Trending stability issues in the app.
So I want to know if any method is there to stop logging while the development journey.
2
Answers
you can disable uploading of mapping file and symbols in debug build:
Crashlytics gives you the option to opt in or out from sending crash reports. You could use this in your code to prevent sending crash reports during development.
For this you could set the
firebase_crashlytics_collection_enabled
property in theAndroidManifest.xml
file tofalse
.With this option you can then re-enable Crashlytics data collection when running the release version:
Or a similar option could be disabling Crashlytics data collection only when running the debug build. In this case, the the manifest property is not required.