FabricPlugin icon indicating copy to clipboard operation
FabricPlugin copied to clipboard

Conditionally initialize reporting

Open csabbey opened this issue 5 years ago • 0 comments

I'd like to only initialize Fabric (namely, Crashlytics reporting) under certain conditions.

My specific use case: my app collects data for a few days, and then expires, but many users aren't following the instructions to uninstall. When the app starts up after its expiry, we don't want any crash reports - they're creating noise without being helpful.

I'm asking to not initialize it instead of turning it off because once reporting is enabled, it can't be turned off for a session.

So, is there a way to conditionally initialize Fabric with this plugin? Or, if not, could it be added?

csabbey avatar Jul 19 '19 13:07 csabbey