简体   繁体   中英

How to clear Crashlytics, Answers, other Kits from Fabric at runtime in Android

We are using the following code to initialize various Fabric Kits at startup:

Fabric.with(appContext, new Crashlytics(), new Answers());

If at runtime, I need to remove a particular kit due to configuration changes related to the data collection restrictions of the region where the App is deployed, I can issue another Fabric.with() call with just the Kits that are allowed.

How can I completely remove ALL of the Kits at runtime, after some had been previously configured?

According to Mike Bonnell from Fabric there's currently no way right now to disable at runtime, only when the app starts.

Disable Fabric AnswersKit when user opts out of analytics reporting

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM